Systems Design Interview Concepts (for software engineers / full-stack web)

Please like the video. Ex-Google TechLead talks through core concepts for a systems design interview. Visit brilliant.org/TechLead/ to learn math, science, and computer science with new interactive courses, and get 20% off premium.
I cover the systems design interview in more detail in my program Tech Interview Pro ( techinterviewpro.com/ ) if you are interested in learning more. We also do bi-weekly Live Q&As so have a look.
In this video, we discuss load balancing, CDNs, database replication, sharding, caching layers, database schema and indexes, distributed filesystems, and other ways to scale an application. You don't want to scale your design too early or needlessly, but consider where the bottlenecks are. Sometimes you will need database sharding for instance, while other times you may not need a database at all (ie., if the data does not need to persist to disk). Note: the concepts will differ somewhat for a frontend or mobile systems design, which are more focused on the client-side architecture and software design patterns.
Join me in DeFi Pro and make passive income with crypto. defipro.dev/
Join ex-Google/ex-Facebook engineers for my coding interview training: techinterviewpro.com/
💻 100+ Videos of programming interview problems explained: coderpro.com/
📷 Learn how to build a $1,000,000+ business on KZread: youtubebackstage.com/
💻 Sign up for my FREE daily coding interview practice: dailyinterviewpro.com/
🛒 All my computer/camera gear: www.amazon.com/shop/techlead/...
⌨️ My favorite keyboards: iqunix.store/techlead
🎉 Party up:
/ techleadhd
/ techleadhd
Disclosure: Some links are affiliate links to products. I may receive a small commission for purchases made through these links.
#techlead

Пікірлер: 402

  • @TechLead
    @TechLead4 жыл бұрын

    Please "like" the video to support my technical content, and I will be happy to make more for you 👍 I'll do one for mobile systems design if we can hit 5,000 likes.

  • @Palatineoffacts

    @Palatineoffacts

    4 жыл бұрын

    can you do a vid on chainlink or decentralized oracles or at least how to use blockchains for regular apps

  • @xcuu

    @xcuu

    4 жыл бұрын

    TechLead hopefully we’ll get there because these videos are so interesting

  • @songliu1781

    @songliu1781

    4 жыл бұрын

    tech lead, could you tell us where to systematically study “system design”?

  • @user-tq9do5ss7j

    @user-tq9do5ss7j

    4 жыл бұрын

    please do more , you know most of your audience are nerds which means we are emotionally disabled most of us don't put likes but in reality we love your content and we always comeback . so please do more even if we did not reach the 5000 . when i hear a guy like you i feel it is the perfect way to check mh skills and way of thinking .

  • @anonymousrashiyama1432

    @anonymousrashiyama1432

    4 жыл бұрын

    Don't buy too early. There's gonna be a 70% off fire sale. Be patient guys

  • @andrewdnistriansky3719
    @andrewdnistriansky37194 жыл бұрын

    1. Load-balancing 2. Caching 3. Database schema design 4. Slave-master replications 5. Database sharding 6. API design

  • @cinderellarouge

    @cinderellarouge

    4 жыл бұрын

    @@manojgt8660 is it simple way to get or there are lot of water?

  • @manojgt8660

    @manojgt8660

    4 жыл бұрын

    @@cinderellarouge Sorry I'm not able to understand your question. Can you be more clear?

  • @cinderellarouge

    @cinderellarouge

    4 жыл бұрын

    @@manojgt8660 "a lot of water" that means 20% useful information and other is trush ..

  • @manojgt8660

    @manojgt8660

    4 жыл бұрын

    @@cinderellarouge I would say 10%. This video is good for talking with others on system design. But not good for interview preparation.

  • @cinderellarouge

    @cinderellarouge

    4 жыл бұрын

    @@manojgt8660 No, I'm about your recommended book.

  • @vivib3678
    @vivib36784 жыл бұрын

    1. Load-balancing 1:31 2. Caching 2:39 3. Database schema design 4:50 4. Slave-master replications 5. Database sharding 7:10 6. NoSQL 8:43 7. API design 9:27

  • @montuedge

    @montuedge

    3 жыл бұрын

    Helpful 🙏🏻

  • @waruwaruwaru
    @waruwaruwaru4 жыл бұрын

    This is probably my favorite video from TechLead so far.

  • @techbrother5815

    @techbrother5815

    3 жыл бұрын

    Me too

  • @justinv3512
    @justinv35124 жыл бұрын

    The TechLead ran out of trolling/sarcastic video ideas, so The TechLead actually put out useful content that he learned from being an Ex-Google, Ex-Facebook Engineer (as a Millionaire).

  • @boranshao

    @boranshao

    4 жыл бұрын

    Hard truth is, TechLead is not that good at these useful tech contents, compared to other top tech vloggers on KZread. What he does best is trolling/sarcasm/reality-show kinds of videos.

  • @sarmastbilawalkhuhro1554

    @sarmastbilawalkhuhro1554

    3 жыл бұрын

    @@boranshao Can you name a few?

  • @yannisran7312

    @yannisran7312

    3 жыл бұрын

    Boran Shao Yes can you name a few?

  • @clodicious

    @clodicious

    3 жыл бұрын

    @@boranshao Which other top tech vloggers?

  • @ivanleon6164

    @ivanleon6164

    3 жыл бұрын

    (as single)

  • @ScumbagKonflict
    @ScumbagKonflict4 жыл бұрын

    Tech Lead effortlessly demonstrating why he's the Tech Lead. High quality content.

  • @icebox747
    @icebox7474 жыл бұрын

    This is the reason why I started following TechLead a year ago, , thanks for bringing it back. Love your explanation alot!

  • @techbizlife
    @techbizlife3 жыл бұрын

    1:07,load balancing 2:08,dns load balancing 2:50,caching 3:30:cdn 5:00, database 6:30,scaling, 8:43, no sql,mongodb,firebase 9:28,api

  • @TheSvs1
    @TheSvs14 жыл бұрын

    Those types of videos proves that he is the Real Tech Lead (as a millionaire and an ex Google & Facebook);

  • @TechLead

    @TechLead

    4 жыл бұрын

    yeah or you could just ask my friends over in HR, they'll confirm that for you. HR's the best, what's not to like? (except for the part about firing me of course, but that's a minor detail).

  • @davidbanda4727

    @davidbanda4727

    4 жыл бұрын

    333jas I think because he opened a youtube channel

  • @TechLead

    @TechLead

    4 жыл бұрын

    333jas i thought i made a whole video on this.

  • @MegaKiri11

    @MegaKiri11

    4 жыл бұрын

    Every intern at Google knows this, it's basics.

  • @davidbanda4727

    @davidbanda4727

    4 жыл бұрын

    Kirill I He worked on Facebook, not Google.

  • @cam41527
    @cam415274 жыл бұрын

    This is like one of the old Tech Lead videos that got me to subscribe in the first place! I love these type of technical topics, keep them coming! :D

  • @neerajkulkarni6506
    @neerajkulkarni65062 жыл бұрын

    Still one of the best and most concise explanation of key system design concepts on KZread!

  • @jamesshen401
    @jamesshen4014 жыл бұрын

    This is the first great video that I've loved from Techlead in a while! (Fan since season 1). While life lessons are great, most of your audience may not be in their late 30s/40s, thus not nearly as engaging. These design videos are great, because you explain key terms (CDN/Sharding) in layman's term. The structure is also great Webserver load balancing, into CDN, then into sharding databases. The tables/diagrams worked great too. As a suggestion, I think small code snippets would improve the video even further. I find watching you code entire projects to be hard to follow. We can work out the details ourselves, but code snippets/concepts are great for the youtube format. GJ!

  • @chevalier5691
    @chevalier56912 жыл бұрын

    I can't believe this video exists. This man will singlehandedly helped me and others land a job even 5-10 years from now. I have no experience about scalability because my projects have never needed that much, but now I can atleast understand some terminology that would help a lot in system design interviews.

  • @akai2112123
    @akai21121234 жыл бұрын

    The database replication with slave and master and sharding! splitting the tables vertically and horizontally blew my mind like wow ! ps: I am just 2 years into dev so I found all of these concepts very intriguing and exciting!

  • @domibr4966
    @domibr49664 жыл бұрын

    I don't even know the least bit about computer science or IT. I just love to listen to the Tech Lead.

  • @seriousbees
    @seriousbees2 жыл бұрын

    Old Tech lead before his villain arc is actually pretty helpful

  • @ByteMock
    @ByteMock4 жыл бұрын

    System Design questions are challenging to prep for. It is a great way to show off your problem-solving ability and personality when compared to whiteboard questions.

  • @stevenmccarther5836
    @stevenmccarther58363 жыл бұрын

    In Boot Camp and a relative suggested I review this video. Very much appreciated.

  • @sasamilic720
    @sasamilic7203 жыл бұрын

    props for covering this all in 11 minutes

  • @bin4ry_d3struct0r
    @bin4ry_d3struct0r4 жыл бұрын

    This is definitely one of the more useful vids for techies on this channel. This guy isn't just boasting about being a tech lead. He really is the TechLead.

  • @jordanepstein6228
    @jordanepstein62284 жыл бұрын

    Nice video! I'm interviewing right now as a sophomore in college and recently failed a systems design interview challenge pretty badly - this definitely covers most of what I should have known.

  • @TechLead

    @TechLead

    4 жыл бұрын

    nice, glad this might help next round!

  • @NicolaAmadio
    @NicolaAmadio4 жыл бұрын

    this is one of the best videos he's put out

  • @willdedill
    @willdedill3 жыл бұрын

    The BEST TechLead video I ever watched hands down, you see he didn’t mention a single second that he’s an ex-Google ex-Facebook whatever, nor talking about his wife. Straight to the point, thank yoi for breaking this concept to us 😅

  • @aristideregal
    @aristideregal4 жыл бұрын

    The guy knows what he is talking about. He is the goddamn Tech Lead!

  • @TechLead

    @TechLead

    4 жыл бұрын

    Funny thing is, this isn't even what I did at FANG. I did mobile development there.

  • @paulfunigga

    @paulfunigga

    4 жыл бұрын

    @@TechLead you were overqualified!

  • @mohammadsamir2713

    @mohammadsamir2713

    4 жыл бұрын

    @@paulfunigga LOL

  • @vietnguyen4733

    @vietnguyen4733

    4 жыл бұрын

    @@TechLead this is more for the distributed system back end side. Did you use to work in back end in the past ?

  • @javier.alvarez764

    @javier.alvarez764

    4 жыл бұрын

    He is also a Fullstack web developer.

  • @msg945
    @msg9454 жыл бұрын

    Great video. I am almost done with my intern as a software engineer

  • @ruka6246
    @ruka62464 жыл бұрын

    Please continue with the technical topics, enjoying them so far

  • @mattmarkus4868
    @mattmarkus48684 жыл бұрын

    This is my favorite episode of coffee time with TTL

  • @abhinavgupta1474
    @abhinavgupta14742 жыл бұрын

    Transitions between topics is seamless, awesome!

  • @byan6741
    @byan67414 жыл бұрын

    This is the TechLead most people respect and cannot beat!

  • @kajalkukreja694
    @kajalkukreja6943 жыл бұрын

    You have everything in such an easy and understandable way. Thank you for such great content 😊😊

  • @ilovemusic465
    @ilovemusic4654 жыл бұрын

    These technical videos are great! Looking forward to more of these. You should also do podcasts or on Audible so that it's easier to listen when traveling..

  • @fredwu6812
    @fredwu68124 жыл бұрын

    Techlead, this is the time that you are showing us how much power you have. Holy shit!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I think even my university professors cannot even compete with you.

  • @zaidpasha5611
    @zaidpasha56114 жыл бұрын

    Really appreciate the technical content!

  • @HollyLeeCoaching
    @HollyLeeCoaching3 жыл бұрын

    LOVE this video! I'll share it with my community with their TPM and Engineering questions!

  • @MrRoops3
    @MrRoops34 жыл бұрын

    TechLead has the best content...He is the Master.. Respect the Master 🙏

  • @utistu87
    @utistu874 жыл бұрын

    Great video! Liked the clarity, simplicity and structure of the video. The concepts explained are very useful.

  • @DevenSitapara
    @DevenSitapara2 жыл бұрын

    Very high quality content in few min, which takes years to learn

  • @chiting765
    @chiting7653 жыл бұрын

    I learnt some of these concepts when learning about AWS and seems like AWS have made many things easy like auto scaling, load balancing, caching, data replica etc. I wonder how people do things before AWS.

  • @trijit96

    @trijit96

    3 жыл бұрын

    They are still doing medium to large enterprise has there own datacenter and all government offices

  • @jayhu6075
    @jayhu60754 жыл бұрын

    What a great short explanation. You are one of the best developer and human. Thanks.

  • @Somethingsomethinglol
    @Somethingsomethinglol3 жыл бұрын

    You explain things so well. Thanks for this.

  • @itarukmakto
    @itarukmakto3 жыл бұрын

    To paraphrase: There are mainly 3 servers... the techniques to scale them are: Webservers (load balancing), Database servers (Caching, Indexing and Replications), Content Servers (Content Delivery Networks) for web... Load Balancing - To improve Throughput, Latency and Scalability - NGINX for enterprise, dns load balancing for basic cfg for caching db - Memcache, Redis, Cassandra. for caching img/vid/web files - CDN (Distributed File System e.g. Amazon S3) for db... Replication - Replicate data on multiple Slave DBs for "Read" only and Master for Read+Write Problem: Simultaneous DB Writes; Solution: Sharding (Horizontal sharding - Data from 1 table is split and each portion is maintained in different/multiple machines) NoSQL - Not Relational - Essentially key-value pairs - E.g. MongoDB, Amazon's Dynamo DB and FireBase' FireStore

  • @anuragshukla4844
    @anuragshukla48444 жыл бұрын

    Although I like your "as a millionaire" videos, technical videos are much better. Thanks for this video.

  • @metalalive2006
    @metalalive20064 жыл бұрын

    Great video, studying load balancer & CDN recently

  • @NooglerNafiz
    @NooglerNafiz2 жыл бұрын

    I can not pass a single day without watching the videos of TechLead.

  • @ayelaii
    @ayelaii2 жыл бұрын

    Thank you for this video! It was super concise, easy to understand, and overall a very good intro to a lot of these concepts.

  • @JDiculous1
    @JDiculous14 жыл бұрын

    This type of content is the best

  • @nikcsm
    @nikcsm4 жыл бұрын

    More of System Design man.....this was very informative

  • @chrishan3883
    @chrishan38833 жыл бұрын

    Seriously great explanation and examples. That was super helpful!

  • @berargumen2390
    @berargumen23904 жыл бұрын

    Make more with more deep explanation, example, use case. Please 🤩

  • @samiahmadkhan2865
    @samiahmadkhan28652 жыл бұрын

    Great quick watch video before a System Design interview.

  • @SajeelCodes
    @SajeelCodes4 жыл бұрын

    Like you, The Respected TechLead, my day starts with coffee ☕😋

  • @TechLead

    @TechLead

    4 жыл бұрын

    Irresistible Tech you think this is actually coffee?

  • @SajeelCodes

    @SajeelCodes

    4 жыл бұрын

    @@TechLead yes. What is this?

  • @qwertyashish
    @qwertyashish4 жыл бұрын

    Respect the TechLead. great video! so fast and on point. please make a video on system designs interview for sr. software engineers / software architect

  • @AhlamLamo
    @AhlamLamo4 жыл бұрын

    The smartest and funniest and sarcastic Tech Engineer I have ever seen !!! 👍👍👍 keep going

  • @jeromecaisip2642
    @jeromecaisip26424 жыл бұрын

    This is gold. Can you do another technical video about the tools/services in order to implement the scaling techniques you discussed on the vid? Also, I would be happy to purchase from an affiliate link pointing to books/resources about the topic discussed. Thanks!

  • @kunxue9343
    @kunxue93434 жыл бұрын

    really appreciate your work! very helpful video! The mobile system design is what I expect mostly. Hit already 1.2k and waiting for your new episode!

  • @austinkim8213
    @austinkim82132 жыл бұрын

    It was helpful to hear the concepts explained differently with a different perspective. This helped clarify some of my confusion. Thanks again! Too bad we never ran into each other when we were at UCSD. :)

  • @mageec1100
    @mageec11004 жыл бұрын

    you cannot love his style , you have to recngnize that the skills of techlead are far better than other tech youtubers

  • @vausa1000
    @vausa10004 жыл бұрын

    Thanks TechLead. Much appreciated.

  • @lamintouray7386
    @lamintouray73864 жыл бұрын

    Tech lead is back!

  • @peterthedecent
    @peterthedecent3 жыл бұрын

    first time I ever put playback speed below 1x lmao

  • @alrightymedia

    @alrightymedia

    3 жыл бұрын

    Yes I checked the speed if I was on fast mode

  • @BMartinsGamingExpo
    @BMartinsGamingExpo4 жыл бұрын

    Respect the techlead. Techlead is life.

  • @TechLead

    @TechLead

    4 жыл бұрын

    It's true. I'm your father.

  • @DoctorLai
    @DoctorLai3 жыл бұрын

    This is a very nice introduction.

  • @Cube96s
    @Cube96s4 жыл бұрын

    Just finished reverse proxy on another channel, and this shows up on my recommendation.

  • @mr.unknown4124
    @mr.unknown4124Ай бұрын

    Eleven minutes of Wisdom. Thank you so much.

  • @kunalsethi7192
    @kunalsethi71924 жыл бұрын

    Techlead is the type of guy who tests his code after deploying it to production 🙌

  • @TechLead

    @TechLead

    4 жыл бұрын

    kunal sethi eh i never make coding mistakes anyways. if i do i fix the compiler.

  • @kunalsethi7192

    @kunalsethi7192

    4 жыл бұрын

    @@TechLead Respect 🙌😂

  • @Prakhar281993

    @Prakhar281993

    4 жыл бұрын

    @@TechLead Kindly fix the Javascript.

  • @abderrahmanlahiaouni9172
    @abderrahmanlahiaouni91724 жыл бұрын

    Thank you even before watching!

  • @sonofgod00
    @sonofgod00 Жыл бұрын

    Thanks Sir its really very very helpful , In 10 mins you covered all important key points

  • @occo5877
    @occo58773 жыл бұрын

    What a nice overview! Awesome!

  • @Jn-kh8qy
    @Jn-kh8qy4 жыл бұрын

    Thank you Tech lead! For all your videos

  • @alexomar9168
    @alexomar91684 жыл бұрын

    This is useful. When I hop I will definitely use this system design course!

  • @JettZheng
    @JettZheng4 жыл бұрын

    It's Great! Tomorrow I will just use these concepts to pass the interview.

  • @user-ge8fn4jr5q
    @user-ge8fn4jr5q4 жыл бұрын

    Thanks, I learned a lot of new stuff.

  • @bigshaqsmathematicalinstit3318
    @bigshaqsmathematicalinstit33184 жыл бұрын

    Like the video and respect the tech lead, thank you!

  • @prakarshshrivastava6422
    @prakarshshrivastava64223 жыл бұрын

    Really liked the content, hope i can afford this course one day 🙏🏻

  • @johncoleman6293
    @johncoleman62934 жыл бұрын

    Thanks. Really needed this

  • @abhaytiwari6411
    @abhaytiwari64114 жыл бұрын

    finally tech lead you choose right topic thanks for making video keep it up

  • @ddomingo
    @ddomingo4 жыл бұрын

    Great video! Have you ever had to do horizontal or vertical sharding for your personal projects? At what scale more or less does this become a problem?

  • @TechLead

    @TechLead

    4 жыл бұрын

    It totally varies on load and how heavy you're hitting the database. I typically wouldn't worry about it until I'm getting like 300K daily active users before sharding though... I've done both vertical and horizontal sharding but it often is easier to just pay for more RAM and keep things simple.

  • @OnGe1234
    @OnGe12344 жыл бұрын

    I would be more interested in Systems Design Interview Concepts as a millionaire. But you cant argue with TechLead.

  • @rajamuthyam9633
    @rajamuthyam96334 жыл бұрын

    I actually stopped myself from watching this before I got my coffee

  • @marktiu1452
    @marktiu14524 жыл бұрын

    Patrick certainly seems to be uploading quality content lately. I guess he is trying to make up for the algopro scandal. Great job!

  • @GenjaOrigins
    @GenjaOrigins3 жыл бұрын

    Thank You, this is what i like from you not talking how awesome you are i can see that no need to say it cause this way it makes you more awesome.

  • @abhisheksubba7691
    @abhisheksubba76914 жыл бұрын

    Love these kind of videos where he shares he's tech knowledge. More of the same please.

  • @tommyhqueen
    @tommyhqueen2 жыл бұрын

    Incredibly helpful! Thank you!

  • @kaisertushar7554
    @kaisertushar75544 жыл бұрын

    Very informative video. Thanks for sharing. If possible please share your knowledge more on this Topic. Lots of video coming on youtube about Programming, technology but enterprise level architecture and technic to solve complex problems is not discussed frequently.

  • @rus19297
    @rus192973 жыл бұрын

    This is pure gold

  • @ALC_1
    @ALC_14 жыл бұрын

    the best video in a while

  • @phucdao4276
    @phucdao42764 жыл бұрын

    Please more technical videos!

  • @user-oz7du4zq8c
    @user-oz7du4zq8c4 жыл бұрын

    Such a helpful advice!💜

  • @premkumareaswaran6875
    @premkumareaswaran68753 жыл бұрын

    This is high quality stuff!!!

  • @hustleman358
    @hustleman3584 жыл бұрын

    RESPECT THE TECHLEAD

  • @TechLead

    @TechLead

    4 жыл бұрын

    i should make a video saying this a million times.

  • @hustleman358

    @hustleman358

    4 жыл бұрын

    @@TechLead Big fan here

  • @rickli6631
    @rickli66312 жыл бұрын

    1. Load-balancing @ 2. Caching @ 3. Database schema design @ 4. Slave-master replications 5. Database sharding @ 6. NoSQL @ 7. API design @

  • @lovedale28
    @lovedale283 жыл бұрын

    Well explained in simple language.😀

  • @bmujeeb
    @bmujeeb4 жыл бұрын

    Excellent video and well put.

  • @markettrader3180
    @markettrader31803 жыл бұрын

    Quite intense content, good

  • @DevilaBakrania
    @DevilaBakrania3 жыл бұрын

    Wow explained it like a piece of cake ✔️

  • @CraftPreneur
    @CraftPreneur Жыл бұрын

    Pure gold as always :) TechKing

  • @user-jy2ig3vw2s
    @user-jy2ig3vw2s3 ай бұрын

    Thanks! Amazing video.

  • @nicolebernard1768
    @nicolebernard17684 жыл бұрын

    I love your videos!! Thank you

  • @winniethepooh5509
    @winniethepooh55092 жыл бұрын

    OMG they are so useful!! thank you!

  • @arminphulkar2442
    @arminphulkar24423 жыл бұрын

    "Brevity is the soul of wit", they say, this video by "the" Tech lead is case in point.