codeKarle
codeKarle
  • 14
  • 2 264 095
System Design Interview - Tips & Tricks | Biggest Mistakes to Avoid
These are the biggest mistakes that candidates make in their System Design Interviews. Make sure you avoid them in order to crack the interview with ease.
Most importantly, clarify the functional and non-functional requirements.
This list is created based on the Interview experience of some of our friends, who are consulting with us, most of them being FAANG engineers who have taken tons of System Design Interviews.
Check out this strategy to ace your Interviews: www.codekarle.com/blogs/
Author: www.linkedin.com/in/sandeep1904/
If you like this video, please help us grow by sharing this video with your friends on Facebook, connections on LinkedIn and anyone who can benefit from this.
#codekarle #systemdesign #tips #biggestmistakes
Переглядів: 66 535

Відео

Database Design Tips | Choosing the Best Database in a System Design Interview
Переглядів 472 тис.4 роки тому
One of the most important things in a System Design interview is to choose the right Database for the right use case. Here is a cheat sheet that can help you choose the right DB for most of the use cases that you can encounter. Summary of the video: www.codekarle.com/system-design/Database-system-design.html Author: www.linkedin.com/in/sandeep1904/ We do over some important topics like which da...
Notification Service System Design Interview Question to handle Billions of users & Notifications
Переглядів 132 тис.4 роки тому
Solution for System Design Interview Question - "Design a Notification Service, that would be used to send Email/ SMS/ Push notifications to billions of users." This is being asked by a lot of companies lately like Twitter, Uber, Google, Amazon, etc. Prerequisites: How to select the right Database for a Large Scale System: ua-cam.com/video/cODCpXtPHbQ/v-deo.html Summary of the video: www.codeka...
Airbnb System Design | Booking.com System Design | System Design Interview Question
Переглядів 172 тис.4 роки тому
Solution for System Design Interview Question - "Design a Hotel Booking System like Airbnb" This is being asked by a lot of companies lately like Google, Twitter, Uber, LinkedIn, Visa, etc. Prerequisites: How to select the right Database for a Large Scale System: ua-cam.com/video/cODCpXtPHbQ/v-deo.html Architecture diagram: github.com/codekarle/system-design/blob/master/system-design-prep-mater...
TinyURL System Design | URL Shortner System Design Interview Question | Bitly System Design
Переглядів 131 тис.4 роки тому
Solution for the most common System Design Interview Question - "Design a URL Shortener like TinyURL". This is probably the most common design interview question being asked in almost every other company. Prerequisites: How to select the right Database for a Large Scale System: ua-cam.com/video/cODCpXtPHbQ/v-deo.html Summary of the video: www.codekarle.com/system-design/TinyUrl-system-design.ht...
Zoom System Design | WhatsApp / FB Video Calling System Design | System Design Interview Question
Переглядів 102 тис.4 роки тому
Solution for System Design Interview Question - "Design Zoom/ Webex/ WhatsApp Video Calling/ FB Messenger Video Calling or any similar Video Chat Application" Prerequisites: Netflix System Design @ ua-cam.com/video/lYoSd2WCJTo/v-deo.html WhatsApp System Design @ ua-cam.com/video/RjQjbJ2UJDg/v-deo.html How to select the right Database for a Large Scale System @ ua-cam.com/video/cODCpXtPHbQ/v-deo...
WhatsApp System Design | FB Messenger System Design | System Design Interview Question
Переглядів 128 тис.4 роки тому
Solution for System Design Interview Question - "Design WhatsApp/ FB Messenger or any similar Chat Application" Prerequisites: Netflix System Design: ua-cam.com/video/lYoSd2WCJTo/v-deo.html How to select the right Database for a Large Scale System: ua-cam.com/video/cODCpXtPHbQ/v-deo.html Summary of this video: www.codekarle.com/system-design/Whatsapp-system-design.html Architecture diagram: git...
System Design and Architecture Interview Preparation Series by FAANG Engineers
Переглядів 143 тис.4 роки тому
This is your guide to cracking the System Design Interview. We'll cover two main things. Firstly, Frequently asked System Design interview questions by most product based companies. Secondly, a guide that would help you to answer whatever is thrown at you in the interview. Website: www.codekarle.com/ Check out the System Design Interview Preparation Tips @ www.codekarle.com/blogs/ Author: www.l...
Amazon System Design | Flipkart System Design | System Design Interview Question
Переглядів 271 тис.4 роки тому
This is a solution for System Design Interview Question where you need to design an E-Commerce application like Amazon / Flipkart / Myntra etc. This is asked very frequently in companies like Amazon/ Google/ LinkedIn/ Twitter. Prerequisites: How to select the right Database for a Large Scale System: ua-cam.com/video/cODCpXtPHbQ/v-deo.html Recommended Videos: Google Maps System Design: ua-cam.co...
Uber System Design | Ola System Design | System Design Interview Question - Grab, Lyft
Переглядів 119 тис.4 роки тому
This is a solution for System Design Interview Question where you need to design a Cab booking System like Uber/ Ola/ Grab/ Lyft, etc. Recommended Videos to watch before this: Google Maps System Design: ua-cam.com/video/jk3yvVfNvds/v-deo.html How o select the right Database for a Large Scale System: ua-cam.com/video/cODCpXtPHbQ/v-deo.html Summary of this video: www.codekarle.com/system-design/U...
Facebook System Design | Instagram System Design | System Design Interview Question
Переглядів 110 тис.4 роки тому
This is a solution for System Design Interview Question where you need to design a Social Network like Facebook/Instagram. Suggested Video before this: Twitter System Design - ua-cam.com/video/EkudBdvbDhs/v-deo.html Netflix System Design - ua-cam.com/video/lYoSd2WCJTo/v-deo.html TinyURL System Design - ua-cam.com/video/AVztRY77xxA/v-deo.html How to select the right Database for a Large Scale Sy...
Twitter System Design | System Design Interview Question
Переглядів 111 тис.4 роки тому
This is a solution for System Design Interview Question where you need to design a Social Network like Twitter. This is one of the most common Design Interview questions of all time. Recommended Videos: How to to select the right Database for a Large Scale System: ua-cam.com/video/cODCpXtPHbQ/v-deo.html Facebook System Design: ua-cam.com/video/9-hjBGxuiEs/v-deo.html Netflix System Design: ua-ca...
Netflix System Design | YouTube System Design | System Design Interview Question
Переглядів 164 тис.4 роки тому
This is a solution for System Design Interview Question where you need to design a Video Streaming application like Netflix / UA-cam / Amazon Prime Video / Hotstar. This problem has been asked by a lot of companies like Google, Uber, LinkedIn to name a few. Summary of this video: www.codekarle.com/system-design/netflix-system-design.html Architecture diagram: github.com/codekarle/system-design/...
Google Maps System Design Interview Question
Переглядів 144 тис.4 роки тому
This is a solution for System Design Interview Question where you need to design a Map Navigation application like Google Maps. This problem has been asked by a lot of companies like Google, Amazon, Flipkart, Walmart Labs to name a few. Prerequisites: How to select the right Database for a Large Scale System: ua-cam.com/video/cODCpXtPHbQ/v-deo.html Summary of this video: www.codekarle.com/syste...

КОМЕНТАРІ

  • @AnujTechShorts
    @AnujTechShorts 2 дні тому

    Face Similar to Arata Founder

  • @LuveenWadhwani
    @LuveenWadhwani 3 дні тому

    How do you scale the DB for token service across multiple DCs and regions without repeating token ranges? Do the token ranges need to be seeded manually per DC/region to prevent the same range from being reused in more than one DC/region? Does this solution constrain us to using a DB technology like Spanner so there is one consistent data set that spans geographies and is replicated in near real time?

  • @prashantsalgaocar
    @prashantsalgaocar 3 дні тому

    Also do not see an api gateway in front of the lb which could then load balance the distributed services..

  • @prashantsalgaocar
    @prashantsalgaocar 3 дні тому

    For hotels data store images in s3 or any blob storage and metadata in MySQL with ref to s3 as a link and then have cdn pull data from s3 which can be accessed via the user app along with metadata for the hotel. Not sure why cdn is being used as store for images in this design..

  • @prashantsalgaocar
    @prashantsalgaocar 3 дні тому

    For hotels data store images in s3 or any blob storage and metadata in MySQL with ref to s3 as a link and then have cdn pull data from s3 which can be accessed via the user app along with metadata for the hotel. Not sure why cdn is being used as store for images in this design..

  • @poojabennabhaktula4883
    @poojabennabhaktula4883 4 дні тому

    Awesome explantation , Please keep Posting more videos.

  • @bhagyashreetrivedi5287
    @bhagyashreetrivedi5287 4 дні тому

    Can u upload a video of system design on swiggy , zomato etc?

  • @mohammadmoozeh
    @mohammadmoozeh 4 дні тому

    Well explained video

  • @krupaharan12345
    @krupaharan12345 6 днів тому

    Thanks for the details. Could you clarify few doubts, Is Elastic Cluster stores all the item information or only newly onboarded ones ? Search Service doesn't need to talk with Item Store for collecting all the items ? Can you help me reg the differences btw Item and Inventory data Store ?

  • @poojabennabhaktula4883
    @poojabennabhaktula4883 6 днів тому

    Really sad why you didn't receive same number of likes as views:) thank you for teaching such good content for free. I wish I could press the like button 100 times. Great efforts!!

  • @aishwersharma8130
    @aishwersharma8130 9 днів тому

    Thanks

  • @bharratgehlot
    @bharratgehlot 12 днів тому

    Brilliant. How can I write code based on that

  • @gauravkatariya8281
    @gauravkatariya8281 12 днів тому

    why there is a loadbalancer in front of the websocket manager? is only first request is going through the load balancer? is loadbalancer is also communicating to websocket manager to make decision about where to forward the request?

  • @mahletlulseged4858
    @mahletlulseged4858 13 днів тому

    great explanation! thanks a lot

  • @j4s0n39
    @j4s0n39 15 днів тому

    7:45 Checking the DB to avoid a collision isn't a valid solution. That introduces a race condition. If service0 queries and finds nothing, and while it's processing, service1 queries the same token and finds nothing, it will try to create a duplicate.

  • @MayankSharma-en5rt
    @MayankSharma-en5rt 16 днів тому

    Please explain why are we using kafka or any messaging queue for group messaging, can't the web socket handler directly call the group service and fetch which all users it needs to send the message to? I mean why do we need kafka here, isn't it same as one to one messaging ?

  • @archit_singh15
    @archit_singh15 21 день тому

    thanks for the video! we should also talk about how we use semaphores when we access shared resources in a microservice setup.

  • @archit_singh15
    @archit_singh15 21 день тому

    thanks for the video!

  • @srtvenkat215
    @srtvenkat215 22 дні тому

    Thank you so much for this wonderful video. I have a question. Isn't the web-socket manager a single point of failure? If it briefly goes down, how will it know the scope of the existing web-socket connections on the handlers?

  • @satishmhetre5542
    @satishmhetre5542 24 дні тому

    @23:00

  • @dhvanilvadher1356
    @dhvanilvadher1356 25 днів тому

    Part of handling users separately was genius I was very much confused while reading any other documentation . Thank you for putting this up together.

  • @armantavakoli7926
    @armantavakoli7926 27 днів тому

    Thanks for making this review! I enjoyed it.

  • @psk2166
    @psk2166 28 днів тому

    Thank you for sharing, I've learnt a lot from you :)

  • @pawansaggu5787
    @pawansaggu5787 28 днів тому

    Can anyone how will the Shortner Service or the Token service handle ranges that cannot be represented by any integer types in a language? Do we need to represent numbers in strings here?

  • @rohitvishwakarma9261
    @rohitvishwakarma9261 Місяць тому

    Thanks for keeping the explanations simple. I have seen some videos where people just bombard with jargons reducing interest.

    • @coding8696
      @coding8696 23 дні тому

      Can i start this series with basic information about System Design?

  • @sudhanshukumar-yu7fj
    @sudhanshukumar-yu7fj Місяць тому

    Why putting everything in the Kafka, is the Kafka scalable enough to handle that much of load

  • @neerajramachandran4647
    @neerajramachandran4647 Місяць тому

    Does this approach assume that we do not care about idempotency? In this model, if the long to short URL service receives multiple requests of the same long URL, the token service will assign that request to different short URLs.

  • @chhaviparasher2917
    @chhaviparasher2917 Місяць тому

    Great content and well-organized flow in the video. Thanks a lot for creating this video.

  • @sahilsiddiqui3210
    @sahilsiddiqui3210 Місяць тому

    why kafka

  • @gauravradioactive
    @gauravradioactive Місяць тому

    Thank you for the great content ! It looks like the Token Service is a single point of failure as well. And if we create multiple instances of the Token Service, how do they ensure that each instance provides a unique URL range, and no 2 instances provide overlapping ranges? If the Token Services are supposed to communicate each other before deciding the range for an incoming request, this would again add to overhead and slow down the process. Can someone please share their thoughts on this ?

  • @goutamkundu6392
    @goutamkundu6392 Місяць тому

    when a new driver comes online and gets connected to a websocket, how the websocket manager gets to know the fact and how does it update mapping? Is it using internally a HashMap?

  • @psk2166
    @psk2166 Місяць тому

    If you could advise about graph database specifically how to store binary search tree in database. I assume neo4j or aws neptune could archive that

  • @navdeep3469
    @navdeep3469 Місяць тому

    how will you build optimized short->long url search for such scale ?

  • @SantoshSunagar-iv8fb
    @SantoshSunagar-iv8fb Місяць тому

    Very informative videos

  • @lakshyabansal609
    @lakshyabansal609 Місяць тому

    A very complex and interesting system design problem use case has been tried to explain here. Kudos for that. However has feedback the knowledge seems more like learnt system design Vs how actually a Vedio conferencing would work. For example: at the end when you U1 and U2 can dynamically switch from P2P to call server, how would this work if the call is getting recorded. In that case both U1 and U2 have to send packets to call server to allow later saving info to a database.

  • @deep8843
    @deep8843 Місяць тому

    Really helpful!

  • @kritikajain6677
    @kritikajain6677 Місяць тому

    Let's say we have scenarios where one url U1, is called from two different users for the first time, and both the request R1 and R2 come at the same time, but being sent to different nodes, since all the server nodes have different range of tokens being given to them, same url will be using two tokens, it can also result in decreasing the amount of tokens we have?

  • @hardikshah9182
    @hardikshah9182 Місяць тому

    Very nice video. very thorough and provided all the necessary information in very easy to understand way. great work.

  • @TheNitin1997
    @TheNitin1997 Місяць тому

    this channel is a gold mine 👏

  • @codediva007
    @codediva007 Місяць тому

    nice content. I am preparing for sde2, will update the results here. ty.

  • @psk2166
    @psk2166 Місяць тому

    Thank you Karle, you have solved my mysterious about databases that has been going thru my head for many years.

  • @chituvabachube8057
    @chituvabachube8057 Місяць тому

    you are amazing! thanks a lot!

  • @vivekkushwaha2851
    @vivekkushwaha2851 Місяць тому

    Sorry if this sounds basic, but I'm new to system design and still learning. Can you explain why you didn't save which user is linked to which WebSocket handler at 41:35 in the video? You mentioned polling for this info, but where does it come from exactly? Is it from the WebSocket handler itself? By the way, great video! 🙌 I really learned a lot from it and appreciate your work!

  • @rajashreebehera8431
    @rajashreebehera8431 Місяць тому

    Hi Sir , Great Video learnt a lot. I have a question .So when we search an item , does item DB and Elastic Search DB interact ? Little confused with the use of Item DB

    • @sudhanshukumar-yu7fj
      @sudhanshukumar-yu7fj 27 днів тому

      No, they don't need to. While searching we need to be able to remove out of stock items and filter out the unserviceable places which can be achieved by inventory db assuming it also has the addresses of the suppliers of the items.

  • @MinekEzQM
    @MinekEzQM Місяць тому

    Man... the content of your video is truly interesting and is worth to watch. But in 30 minutes you say "OK" about 200 times. I'm trying to focus on WHAT you are saying but my brain is just getting ready for the next "OK" (that I don't want to hear). Is it possible to get a sound engineer, who could remove all the "OK"s from the sound track and reupload the video in that form?

  • @Dermotten
    @Dermotten Місяць тому

    Thanks!

  • @ShristiSethiya-ch2he
    @ShristiSethiya-ch2he Місяць тому

    Great Content!!

  • @mohammadkaif8143
    @mohammadkaif8143 Місяць тому

    Awesome video man !! Thank you so much 😍

  • @duzgunkenan
    @duzgunkenan 2 місяці тому

    great energy, honest intention, a beatiful human being. thank you

  • @NikitaKumari-mx1oz
    @NikitaKumari-mx1oz 2 місяці тому

    Thanks!