How Instagram Grew to 14,000,000 Users With 3 Devs

  Рет қаралды 153,135

Coding with Lewis

Coding with Lewis

Күн бұрын

Try Snyk 💻: snyk.co/lewis
How Instagram Grew from 0 to 14M users in only a year. The best part? It was only done by 3 software engineers. In this video, I showcase the infrastructure and techniques used by the Instagram Software Engineers to handle one of the fastest growing applications in history.
SOURCES:
How Instagram Grew to 14M users post: instagram-engineering.com/wha...
Some Inspiration from Engineering Codex: engineercodex.substack.com/p/...
The Instagram engineers kept their infrastructure simple by using proven technologies like Python, Django, PostgreSQL, Redis, and more. They leveraged Amazon's cloud services for load balancing, computing, and storage. The app servers were stateless and used a connection pooler to handle the flood of incoming database requests. Frequently accessed data was cached.
MY NEWSLETTER 💌
thebetter.dev
------
CONNECT WITH ME ON SOCIAL
📸 Instagram:
/ lewismenelaws
🎚TikTok:
/ lewismenelaws
🐣 Twitter:
/ lewismenelaws
--
My gear 💻
liinks.co/lewismenelaws
-----
TIMESTAMPS
00:00 - Introduction
00:26 - Instagram's Beginnings and Initial Scaling
02:05 - (AD) SNYK
03:21 - The Role of Load Balancers in Instagram's Infrastructure
05:38 - How Instagram Handles Data Storage
08:28 - Handling Image Storage on Instagram
09:14 - Delivering Data Back to the User
10:11 - How Instagram Handles Push Notifications
10:50 - The Role of Task Queues in Scaling Instagram
11:30 - Monitoring Instagram's Systems
12:21 - Instagram's Core Principles Revisited

Пікірлер: 220
@CodingWithLewis
@CodingWithLewis 8 ай бұрын
Hi everyone :) I got married lately and was on a bit of a break! Glad to be back and posting videos! Let me know what you want to see.
@Youngsinsta
@Youngsinsta 8 ай бұрын
Congratulations
@user-gq8mc1wd7w
@user-gq8mc1wd7w 8 ай бұрын
Congratulations
@TheZUser
@TheZUser 8 ай бұрын
Congratulations
@nullbeyondo
@nullbeyondo 8 ай бұрын
Congrats!! :)
@Alex.Shalda
@Alex.Shalda 8 ай бұрын
Congrats!!!
@chrisnatale5901
@chrisnatale5901 8 ай бұрын
I really like how you turn software architecture into a compelling narrative! You earned my subscription.
@zygimantasjasiunas5240
@zygimantasjasiunas5240 8 ай бұрын
Love the "True-crime stories" vibe, where all the details are uncovered step by step. Great story telling! I really like how your channel is positively progressing over time.
@normalitee0os
@normalitee0os 8 ай бұрын
I generally don't watch such video but the presentation of this video ket me hooked to the end. Its just amazing! Kudos to you and your team!
@heikkiliukkonen3921
@heikkiliukkonen3921 8 ай бұрын
These videos are so interesting! Always the things we take for granted are somehow the most fascinating.
@nullbeyondo
@nullbeyondo 8 ай бұрын
Just watched it all! It's enlightening that you mentioned each problem they faced and what different practical techniques and technologies they used to overcome them)
@CodingWithLewis
@CodingWithLewis 8 ай бұрын
Agreed!
@pvic6959
@pvic6959 8 ай бұрын
those 3 did that.. meanwhile me on my WFH day: watching youtube all day doing no work smh
@user-gq8mc1wd7w
@user-gq8mc1wd7w 8 ай бұрын
I love these kind of videos. Keep it up Lewis ❤
@nathanmynett6758
@nathanmynett6758 8 ай бұрын
10/10 As a developer in a small company it's hard to scope out what needs to be done to make a solution *infinitely* scalable. It's great to understand how big companies handle big data to provide insight on how I can develop solutions Cheers
@iOSAcademy
@iOSAcademy 8 ай бұрын
Great video!
@JemilMarcosTyC
@JemilMarcosTyC 8 ай бұрын
Mind blown! Great video!
@abubakarsadeeq2974
@abubakarsadeeq2974 8 ай бұрын
Your contents are at another level, lewis
@palashbaderia7113
@palashbaderia7113 8 ай бұрын
Loved the content, really amazing, would love to see your videos on different firm's infrastructure to understand tech better.
@dion9795
@dion9795 8 ай бұрын
I love how you make engineering principles suspenseful and interesting. Well done. New sub.
@peterakande
@peterakande 8 ай бұрын
This is amazing. Nice explanations, I loved every bit of it!
@berkay2410
@berkay2410 8 ай бұрын
Great video! Mad editing skills, Lewis. Love the vibe of this video. Felt like an episode from Mr. Robot hahah
@realMattGavin
@realMattGavin 8 ай бұрын
I love your story time videos. They are informative and entertaining. The unicorn part got me 😂
@davidmesaros9733
@davidmesaros9733 8 ай бұрын
i really like how the videos are made. keep up the good work
@hypein2297
@hypein2297 8 ай бұрын
Nice way to teach system design, totally liked it.
@everythingjdm8057
@everythingjdm8057 8 ай бұрын
Great content man
@avdain
@avdain 8 ай бұрын
As always keep up with your videos! 😉🔥
@benbowers3613
@benbowers3613 7 ай бұрын
Really love the format of going through each layer one at a time.
@RajA-me9cl
@RajA-me9cl 8 ай бұрын
That was so helpful. Thank you.
@zachzeurcher6450
@zachzeurcher6450 8 ай бұрын
This format is great! Keep up the great work!
@ahmedabd2259
@ahmedabd2259 8 ай бұрын
Brother your content is becoming something else, it's like watching million dollars documentary, keep it up
@froilanimnida
@froilanimnida 8 ай бұрын
Quality Content! Keep it up Lewis!
@illusionhex1200
@illusionhex1200 8 ай бұрын
Horizontal Scaling is Awesome, I love the concept.
@roast-salamander
@roast-salamander 8 ай бұрын
You can see the effort put into these videos. I see a great future for this channel. My subscription is yours oh great one.
@Tharushi_SM
@Tharushi_SM 5 ай бұрын
This is really good. Thank you so much for the awesome content.
@JuanesChiwirosky
@JuanesChiwirosky 8 ай бұрын
great video, it is very inspiring to see what those engineers were able to build with that three principles🎉🎉🎉
@Marwin.
@Marwin. 8 ай бұрын
Super interesting video. Good Job :)
@harish.bhuvanachandar
@harish.bhuvanachandar 7 ай бұрын
Great post. Subscribed to your channel.
@maghani.official
@maghani.official 8 ай бұрын
This video is truly incredible in its quality and content! Special thanks
@mikulcek
@mikulcek 8 ай бұрын
Great story telling, loved it!
@phandc4581
@phandc4581 8 ай бұрын
You must be one of three legendary engineers. Thanks for amazing content.
@alexffvibes3887
@alexffvibes3887 8 ай бұрын
Great stuff!
@zuman_one
@zuman_one 5 ай бұрын
One of the best system designs video 🎉
@sayyedhouse3871
@sayyedhouse3871 8 ай бұрын
Video starts: "How did three software engineers alone..."
@allezvenga7617
@allezvenga7617 7 ай бұрын
Thanks for your sharing
@supermanish4429
@supermanish4429 6 ай бұрын
i'm amazed as well as inspired to lern these tech!
@estebanzavala9533
@estebanzavala9533 8 ай бұрын
knowing whats going on in the background is important even more interesting the way its being delivered here thank you
@shis10
@shis10 8 ай бұрын
Amazing Insights
@MagnetsMediaBackup
@MagnetsMediaBackup 8 ай бұрын
Very good editing
@kunwardeepsingh127
@kunwardeepsingh127 8 ай бұрын
You should start making more videos like this, like how companies handle things 😇
@wisdomelue
@wisdomelue 2 ай бұрын
the quality of this video is insane
@artmort1805
@artmort1805 8 ай бұрын
Awesome video! Thanks !
@jenithmehta9603
@jenithmehta9603 5 ай бұрын
Amazing video, I'm using some of the tools mentioned in the video.
@Pringles1
@Pringles1 8 ай бұрын
this video is underrated
@MrWidzek
@MrWidzek 8 ай бұрын
please more content like this
@holthuizenoemoet591
@holthuizenoemoet591 8 ай бұрын
Amazing that Django handled the entire application sided of things. Always loved python for web programming.
@ninobach7456
@ninobach7456 8 ай бұрын
Is Django the go to for back end development in Python?
@holthuizenoemoet591
@holthuizenoemoet591 8 ай бұрын
@@ninobach7456 Its build really well, and has a lot of community with experience behind it. Its also easy to setup and develop with. But flask and tornado are also populair (but i wouldn't recommand them unless you work in a team that knows what they are doing. )
@saadkaleem1449
@saadkaleem1449 8 ай бұрын
@@ninobach7456 Not anymore, async frameworks like FastAPI are taking over.
@martinmetskula6384
@martinmetskula6384 8 ай бұрын
@@ninobach7456yes, among Flask and FastAPI
@raizo856
@raizo856 8 ай бұрын
@@ninobach7456 pretty much
@hassan.canada
@hassan.canada 8 ай бұрын
Basically the 3 engineers uses Amazon ready-to-use technologies :-)
@Alex.Shalda
@Alex.Shalda 8 ай бұрын
Absolutely amazing
@MrSaemichlaus
@MrSaemichlaus 4 ай бұрын
Absolutely impressive how they made all of these pieces fall in line and interface correctly. I imagine it would be hell to diagnose a bug on such a complex system. Where do you even start? They would've had to choose from dozens of different terminals and log systems to even start looking at what is happening.
@HarryDaDevSecond
@HarryDaDevSecond 8 ай бұрын
More of this!!!
@Torbikini
@Torbikini 8 ай бұрын
Where did you get the slick animated icons at the three rules portion? I loved those! Especially the reinvent the wheel one!
@fabiojonathanarifin1
@fabiojonathanarifin1 7 ай бұрын
i love this episode! make more please!
@xxleosk8xx
@xxleosk8xx 8 ай бұрын
As always great content Lewis did you see discord went down yesterday ? can you make a video on that thank you
@tahakhan88
@tahakhan88 8 ай бұрын
This video made me feel like a speck of dust in the field of web programming. I use php and mysql to store and retrieve info from one server. With a million users per day the way I handle the load is by making the server more powerful rather than scaling up horizontally. This is such an eye opener :|
@davidmataviejo3313
@davidmataviejo3313 8 ай бұрын
I love this new way to study system design
@gawt873
@gawt873 8 ай бұрын
Please don't stop producing this kind of video, it's really good!😃
@mikealejandro3938
@mikealejandro3938 7 ай бұрын
Nigga, this shit was crazy, and i loved it, keep it going gang 🚀
@miguelemmara5046
@miguelemmara5046 8 ай бұрын
contetn is gold, its like im wathing netflix crime documentaries
@gameplaystrailers7797
@gameplaystrailers7797 8 ай бұрын
This was sooo good so informative and entertaining Do Snapchat next
@abhinav.t1602
@abhinav.t1602 2 ай бұрын
how do you create these videos? Specially the graphics that you show to explain the architecture and flow of the request/response?
@yassinesafraoui
@yassinesafraoui 8 ай бұрын
How did you find these informations, I mean technologies Instagram used and may have even stopped using right now
@gdimmortal
@gdimmortal 8 ай бұрын
my mind: Guni-corn 💀
@pr0gstar
@pr0gstar 8 ай бұрын
Hey, thanks for the video. It was fun watching it. As a software engineer, myself, I enjoyed it very much. First you explained the challenge and I thought about what I would use to solve this, and then I watch further, and it was always the same solution the guys from Instagram came up with.
@gabrielfono844
@gabrielfono844 8 ай бұрын
Have a lot to learn as backend engineer
@imadeddinekebour9278
@imadeddinekebour9278 8 ай бұрын
when i see this type of videos i know surely that I'm still a beginner
@AsifSaifuddinAuvipy
@AsifSaifuddinAuvipy 8 ай бұрын
I saw a talk from Instagram engineers talking about celery framework server for background task scaling
@iCrimzon
@iCrimzon 8 ай бұрын
Bro the scaling needed for everything is too immense to think of
@brand5991
@brand5991 8 ай бұрын
Incredible production quality! Please keep it up.
@sambegstha3516
@sambegstha3516 8 ай бұрын
Brilliant engineering.
@nothing606
@nothing606 8 ай бұрын
Congratulations bro🎉 Make video on AI in video games
@CodingWithLewis
@CodingWithLewis 8 ай бұрын
Stay tuned :)
@Dakappon
@Dakappon 8 ай бұрын
Wow, this is Netflix level documentary!
@marksantosss
@marksantosss 8 ай бұрын
Absolutely mind-blowing! This documentary showcasing how Instagram scaled to 14M users with just three engineers is a testament to their incredible ingenuity and resourcefulness. It's a prime example of how a small, dedicated team can create monumental impact through innovation and smart engineering. Truly inspiring for aspiring tech entrepreneurs!
@afsalmuhammed4239
@afsalmuhammed4239 8 ай бұрын
Hi chatgpt
@the_god_killah
@the_god_killah 8 ай бұрын
ChatGPT response
@vintiladiana-georgiana8533
@vintiladiana-georgiana8533 8 ай бұрын
I adore this video❤
@srijanmukherjee4658
@srijanmukherjee4658 8 ай бұрын
How does translation of object url to cdn work? Wasn't that link temporary? So it gets cached in cdn every time a new temporary object url is generated?
@69k_gold
@69k_gold 3 ай бұрын
Posts and messages are generally not modified quickly, so that's cool. But what about the rapidly changing ones like comments, likes, etc? How can we be sure that the cached value in the CDN is the actual value or atleast close? (Yes I'm talking about one of the two hardest problems in CS)
@RegenerationOfficial
@RegenerationOfficial 8 ай бұрын
are trends just data optimization for instances? because everything is just locally relevant
@kyojurorengoku3437
@kyojurorengoku3437 8 ай бұрын
This video is beautiful.
@claragoodlow4377
@claragoodlow4377 4 ай бұрын
Is there a app to make post and video
@mistajutub2197
@mistajutub2197 8 ай бұрын
I really enjoyed the content of the video 🎉 but I was a bit irritated by the flow or the narrative rhythm of the video. There was a lot of silence/emphasis on unimportant animations. Don’t want to be unappreciative, thought! I enjoyed it anyways but it’s just something I noticed ❤
@kbsunil7464
@kbsunil7464 8 ай бұрын
Every ting seems good but Infoq London summit says something different like Casandra as well
@RandomGeometryDashStuff
@RandomGeometryDashStuff 8 ай бұрын
07:24 why should there be more than 25 connections?
@xTrueBlamex
@xTrueBlamex 8 ай бұрын
Thanks for the great video! You spell it Gunicorn btw.. This is common knowledge. \s
@MrIsrael3000
@MrIsrael3000 8 ай бұрын
Wondering why they used memcache instead of redis for DB results caching.
@bobcoderz
@bobcoderz 8 ай бұрын
This is Modern dystopia 😅
@user-wc1sm8cj8s
@user-wc1sm8cj8s 8 ай бұрын
it's crazy to think how Python powered Instagram in its early stage where it experienced massive growth, given Python's reputation for being a not so performant language.
@IxMeTutorials
@IxMeTutorials 8 ай бұрын
Python still powers Instagram, however they have their own in house CPython version called "Cinder" which has much better performance and is tailored exactly to their requirements.
@s1l3nttt
@s1l3nttt 8 ай бұрын
if you made this video a while ago it would've been super helpful haha
@Stoney_Eagle
@Stoney_Eagle 8 ай бұрын
Thanks, I got a few clicks in my head from this story 😊
@chrisstadler7111
@chrisstadler7111 7 ай бұрын
Omg! 25 instances!? Impossible 😮 😂
@JusticeNDOU
@JusticeNDOU 8 ай бұрын
i think you are wrong buddy, the user application normally will have a set point of where to request the data, that set point is always a CDN . in other words all URLS on the user side goes to the CDN, then if the CDN contains the data and the data is not stale it returns the DATA, the Server Application never needs to translate the Object Storage URL to a CDN URL , its Just that the User Application is never aware of all that sort of thing or even that the Server Application will send the Object Storage URL to the CDN.
@Fegro963
@Fegro963 8 ай бұрын
I had to solo craft entire infrastructure for a company that is now operating in dozens of countries. When it keeps going for longer, you switch from engineering issues to mental issues..
@surajkishor
@surajkishor 8 ай бұрын
Make a video on how KZbin is made
@MOHAADAM-cf1qu
@MOHAADAM-cf1qu 8 ай бұрын
This is more useful than 4 years degree in CS.
@entity000
@entity000 8 ай бұрын
Gunicorn is G-Unicorn - stands for Green Unicorn lol so it pronounced Either GUNI-Corn or G-Unicorn depending on what you'd feel good about.
@natgenesis5038
@natgenesis5038 8 ай бұрын
As an iOS engineer ,this video is too backbend I’m kinda confused love it by the way .
@elexbeats
@elexbeats 8 ай бұрын
With all that complexity, resources to buy, developers to pay, have you ever wondered how the app manages to stay free of charge ? Remeber, you’re the product.
@kyleandrade4375
@kyleandrade4375 7 ай бұрын
MOOOREEE👌👌👌👌👌
@jarPlays11
@jarPlays11 8 ай бұрын
among us
@CodingWithLewis
@CodingWithLewis 8 ай бұрын
sus
@user-gq8mc1wd7w
@user-gq8mc1wd7w 8 ай бұрын
​@@CodingWithLewis😂
How a Random Programmer FIXED GTA 5
13:09
Coding with Lewis
Рет қаралды 581 М.
When 10,000 Software Engineers Work on the Same Code
13:17
Coding with Lewis
Рет қаралды 197 М.
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 47 МЛН
BeReal Social Just Became the Most Downloaded App
10:12
ColdFusion
Рет қаралды 1,1 МЛН
How Instagram Stores BILLIONS of Videos
11:39
Coding with Lewis
Рет қаралды 218 М.
Discord Stores BILLIONS of messages using this database
11:41
Coding with Lewis
Рет қаралды 183 М.
Why is TikTok so Popular?
11:01
ColdFusion
Рет қаралды 1,2 МЛН
How Instagram Scaled to 14 Million Users With Only 3 Engineers
7:34
Don't Contribute to Open Source
9:55
Theo - t3․gg
Рет қаралды 220 М.
35 Things Every Programmer Should Know
18:01
Coding with Lewis
Рет қаралды 42 М.
Обзор Sonos Ace - лучше б не выпускали...
16:33
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 3,8 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 41 М.