CAP Theorem in System Design Interviews

  Рет қаралды 16,186

Hello Interview - SWE Interview Preparation

Hello Interview - SWE Interview Preparation

Күн бұрын

Пікірлер: 117
@hello_interview
@hello_interview Ай бұрын
Shoot, I forgot to say the obligatory, "don't forget to like and subscribe!" Still a KZbin n00b😉
@sudosai
@sudosai Ай бұрын
Subscribe and don't forget to smash that bell icon 😅
@eastsideGK
@eastsideGK Ай бұрын
@@sudosai😂😂
@TechieTech-gx2kd
@TechieTech-gx2kd Ай бұрын
Are you kidding me, you are killing it out here more than seasoned professional in youtube, keep em coming it's worth watching your vidoes, be it short or long (most of the senior folks will prefer longer formats as you get into more nitty gritty) but please keep em coming. A BIG YES TO PREMIUM CONTENT---- Awaiting :)
@ScaramangaG
@ScaramangaG Ай бұрын
Not a youtube n00b at all, you're just better than the rest
@Iamjohnsmithindia
@Iamjohnsmithindia Ай бұрын
we got you 😊
@derrickdsouza6782
@derrickdsouza6782 Ай бұрын
This length is perfect to watch when grabbing lunch or dinner. The longer ones are better suited when you're at your study table so this new format fills the gap. Thanks for doing this.
@KTLO-m8p
@KTLO-m8p Ай бұрын
Appreciate the straight forward titles, thumbnails, and content.
@hello_interview
@hello_interview Ай бұрын
no bs
@atharvakusumbia
@atharvakusumbia 27 күн бұрын
You teach like a teacher who has been teaching for more than a decade, who understands what the student can understand and grasp. Great Job!!!
@hello_interview
@hello_interview 27 күн бұрын
♥️
@ThePelcher
@ThePelcher Ай бұрын
Thanks for getting this out! This is one of those topics where engineers think they know because they have memorized "pick two from CAP", but really don't understand.
@hello_interview
@hello_interview Ай бұрын
Totally
@abhijithtk
@abhijithtk Ай бұрын
Thanks for covering this topic. The video wasnt too long. It balanced depth while also covering a wide range of practical scenarios which was great.
@hello_interview
@hello_interview Ай бұрын
Glad you found it useful!
@nosh3019
@nosh3019 12 күн бұрын
this is not only useful for interview but for engineering knowledge as well. I'm consuming it even I'm not interviewing right away. we found the system design GOAT :)
@theyayaa
@theyayaa Ай бұрын
Wanna say thank you for your videos and how helpful they've been. I had my L5 amazon system design interview the other day and I followed your guide. Interviewer was impressed with the level of detail and structured approach. Again, thanks a lot! Keep up the awesome work!
@hello_interview
@hello_interview Ай бұрын
Love to hear that! Well done to you :)
@t-rainliang3661
@t-rainliang3661 22 күн бұрын
Love this kind of relatively short videos that clearly explain fundamental and important concepts with practical examples, especially those tailored for interviews.
@tionx126
@tionx126 Ай бұрын
Insane clarity with sufficient depth and detail. Love how you backed each one up with examples too
@hello_interview
@hello_interview Ай бұрын
Glad you liked it!
@rishankohli
@rishankohli Күн бұрын
Hello, I just love watching your videos. I am missing the learning from them since nothing new came up in your channel for so many days. Please dont keep us waiting. Your videos are diamonds for interview preparation and we would like to see HLD videos from you on many many more popular questions so that we can ace our interview by learning from you. Some HLD questions which I and my friends got asked in recent times but are still missing in your channel are: 1. WhatsApp 2. KZbin 3. E-Commerce site with high contention for limited items 4. Instagram
@hello_interview
@hello_interview 14 сағат бұрын
WhatsApp is out now!
@sangrialite
@sangrialite 20 күн бұрын
This was great, what i liked the most is that these are concepts i kindof got from the other videos but having them packed in one video really made it click for me!
@RajatSingh-dg8ov
@RajatSingh-dg8ov Ай бұрын
I just finished reading your blog on dynamo DB (like 10 mins ago) and just when I laid down and opened KZbin to watch some videos before I sleep, there's a new video ahahah!. I just finished watching it, and stopped it as soon as you said "don't watch it further if you're a junior/mid level engineer (mid level in my case" Thank you for making such videos and topics. Tomorrow I'll read up Cassandra blog and the Food Delivery app System design(I forgott the same lol) Thanks again and goodnight :)) Watcjiny your Videos is helping me understanding missing gaps to fill up for my interviewes and giving me a LOT of confidence. Please don't stop🤞🏼🙏🏻
@hello_interview
@hello_interview Ай бұрын
Perfect timing!
@Ashutosh-i2l
@Ashutosh-i2l Ай бұрын
As always, your videos are great and these short videos are good to catch during a break. Thanks a lot for such amazing content!
@AndrewMorales928
@AndrewMorales928 Ай бұрын
Great overview on CAP theorem. Straight forward and will definitely be helpful.
@JyotiKundani05
@JyotiKundani05 Ай бұрын
Very useful! Please continue making such informational content. Cheers!
@rcrapacki
@rcrapacki 26 күн бұрын
these videos are amazing! I really like a summarised one like this as an alternative option to the deep dives or the system design examples. Both are great to choose depending on the time we have each day :)
@mauritsmoeys4773
@mauritsmoeys4773 24 күн бұрын
I don't usually subscribe to channels. But this content made me break that rule
@hello_interview
@hello_interview 24 күн бұрын
We won’t let you down 🫡
@vkolodrevskiy
@vkolodrevskiy Ай бұрын
Very nice. One of the best explanations I've met so far.
@hello_interview
@hello_interview Ай бұрын
Right on!
@fahad-khan97
@fahad-khan97 Ай бұрын
Love your videos, very informative and insightful! Can you please also share/link the Excali draw link in the video description for reference, thanks!
@hello_interview
@hello_interview Ай бұрын
Oh yes of course! Thanks for the reminder, adding now. Also direct linking: link.excalidraw.com/l/56zGeHiLyKZ/8ntWRaa0Q6K
@sozkaya
@sozkaya Ай бұрын
Happy to see one last video before my interview tomorrow :)
@МаксимШульдінер
@МаксимШульдінер Ай бұрын
having my one tomo as well, wish you luck!!!!!!!
@hello_interview
@hello_interview Ай бұрын
Good luck to you both! Go crush it 💪
@harshavardhanreddy1318
@harshavardhanreddy1318 Ай бұрын
I really appreciate the clear and concise explanation. It's easy to understand..
@hello_interview
@hello_interview Ай бұрын
🫶🏻
@tusharjuneja9003
@tusharjuneja9003 29 күн бұрын
Firstly, I love every bit of your content! It is hands down the best free resource available on internet for System Design! And hence I am worried about your "Premium Content", my concern being, like everywhere else, eventually the good stuff will land on the Premium tab. [Not saying it isn't worth it though!] Hoping you would stick to your thought: "Moreover, it's 100% free forever. While we could charge for this material we think it's far more important to level the playing field of system design interviews." Good luck anyway! Learnt a lot from you guys and hoping to continue doing so! Thanks!
@cuongngo7874
@cuongngo7874 29 күн бұрын
Great video. Could you release a short video like this discussing when to use SQL vs NoSQL database? I know most of your videos mention it doesn't really matter these days but some interviewers still ask me to discuss DB tradeoffs for SQL vs NoSQL. Thanks in advance!
@eihcirarobmas3554
@eihcirarobmas3554 26 күн бұрын
Love your content! I find super helpful with my interview prep. Plz plz keep it going ❤❤❤
@hello_interview
@hello_interview 26 күн бұрын
♥️
@LucasSantos-wp7ji
@LucasSantos-wp7ji 27 күн бұрын
Great video! As a newbie, I learned a lot from this
@ammarc783
@ammarc783 Ай бұрын
Great video! Can you do a video on sharding and how to generally handle hot partitions?
@ferritafreshi8169
@ferritafreshi8169 26 күн бұрын
Please did more into staff level topics too. It’s great learning. Thank you again.
@caesar5555
@caesar5555 Ай бұрын
Thank you! Your content is the best in class!
@hello_interview
@hello_interview Ай бұрын
Glad you like it!
@Jaswinder-l9o
@Jaswinder-l9o Ай бұрын
Brother its very informational quality content that you put out there.
@yashshukla1637
@yashshukla1637 26 күн бұрын
perfect video! Thank you so much for CAP Theorem in System Design Interviews
@24Ship
@24Ship Ай бұрын
Format is good - nice to get small deep dives
@bangbang86
@bangbang86 Ай бұрын
Great video, explains the concept with examples which helps in setting the context.
@hello_interview
@hello_interview Ай бұрын
💙
@priyankavijeet9066
@priyankavijeet9066 16 күн бұрын
Thank you so much for uploading your content. It helps a lot! God Bless!
@rishabhshah3923
@rishabhshah3923 19 күн бұрын
This is great thank you for putting it simply!
@galapeatech
@galapeatech Ай бұрын
Great content , perfect format
@alexPajaron
@alexPajaron Ай бұрын
Amazing as usual! I prefer long videos to go deeper in details if the use case needs it.
@hello_interview
@hello_interview Ай бұрын
Those won't stop, don't worry :)
@manivannansivaraj7324
@manivannansivaraj7324 Ай бұрын
Thanks for design interview focused explanation. Like to see more such videos that explains concepts.
@hello_interview
@hello_interview Ай бұрын
You got it!
@anandahs6078
@anandahs6078 Ай бұрын
Very clear and crisp. Thank you 🙏
@МаксимШульдінер
@МаксимШульдінер Ай бұрын
just having my system design interview tomorrow, thank you I think you are on time xD
@hello_interview
@hello_interview Ай бұрын
You got this!!
@anirudh7463
@anirudh7463 28 күн бұрын
Really loving all the content from hello interview. Would really love to donate to your patreon or something to support you guys 😊
@hello_interview
@hello_interview 28 күн бұрын
Thanks so much! If you'd like to support us, feel free to Purchase our Guided Practice. You'll get access to practice questions with personalized feedback as well as some additional questions and guides: www.hellointerview.com/practice
@crimsongaze3303
@crimsongaze3303 23 күн бұрын
Firstly, thanks a lot for the free ones. Would appreciate it if you could do one for a shopping system with limited time offers. That seems to be a very common interview question.
@hello_interview
@hello_interview 23 күн бұрын
What is the complexity with the limited time offers? We have gopuff as a write up on our site which may be what you’re looking for
@crimsongaze3303
@crimsongaze3303 23 күн бұрын
@@hello_interview The problem statement goes something like this - The limited time offers are available to only a limited (say first 1000) customers. Its broadcasted to all but after 1000 customers accept the offer, the offer is pulled.So, the challenge I see in this, is when the service is scaled to 2 or more pods, how would they maintain a shared count to correctly track the number of customers who accepted the offer.
@Muigoku49
@Muigoku49 Ай бұрын
Hey love your content, wanted to know if the auction system design blog/ video is coming out
@hello_interview
@hello_interview Ай бұрын
Hey, at the end of this video I teased a premium offering that will have more content (the free content will stay free and continue to grow!). Online auction is done and part of that premium offering launching end of this month along with other popular problems like google docs, job scheduler, strava, yelp, etc.
@Muigoku49
@Muigoku49 Ай бұрын
@@hello_interviewThis sounds super interesting. For content as good as yours we will be more than happy to pay. Thank you for making system design so interesting.
@陈迪-i3w
@陈迪-i3w Ай бұрын
like your style, clean and concise! looking forward to the premium content.
@adhirajbhattacharya8574
@adhirajbhattacharya8574 Ай бұрын
Great format for quick revisions. Although, maybe you could include more depth on the CAP models to be used during the HLD videos. Eg. Like when in a HLD question we want the causal consitency model as the user expects ... Great going.
@jagrit07
@jagrit07 Ай бұрын
Your videos are awesome as always!
@hello_interview
@hello_interview Ай бұрын
🫡
@user-mr-m12312
@user-mr-m12312 Ай бұрын
Great format, thank you!
@hello_interview
@hello_interview Ай бұрын
You bet!
@trishaepan
@trishaepan Ай бұрын
thanks for going into this!
@hello_interview
@hello_interview Ай бұрын
Hi Trisha 👋 pleasure :)
@ShreyasGaneshs
@ShreyasGaneshs Ай бұрын
Loving these meta no pun intended videos
@hello_interview
@hello_interview Ай бұрын
i loled
@bananesalee7086
@bananesalee7086 12 күн бұрын
Thank you, it was instructive, at least to me
@jobhunter-j7d
@jobhunter-j7d Ай бұрын
How did you get EXP in sys design? Like i would have never thought of having 'chunking' in an upload/storage system like drop box in a sys design. A future video on your journey from jr -> staff & resources you used along the way would be golden. As of now, i am still pondering what resources you used to gain vast experience. I myself use Alex Xu's sys design book and have read parts of designing data intensive application for system design. I feel like i am still lacking depth. Appreciate it.
@jain007neeraj
@jain007neeraj Ай бұрын
For this you should start reading engineering blogs/videos from all these companies, like you mentioned dropbox. here is a talk from 2012 kzbin.info/www/bejne/hnaXmKqpqbybo8U No book can give you real world experience unless they have actually implemented it hence these engineering blogs are gold-mine, keep reading exploring and actually implementing all these concepts, consistent hashing, chunked uploads(don't use library at first go break it on your own and assemble in the server)
@jobhunter-j7d
@jobhunter-j7d Ай бұрын
@@jain007neeraj gotchu, that's a great resource which I have never seen it get pointed out as much as sys design books. I will start there. I appreciate the help and shall start there. Thank you kind stranger
@minhhieple6483
@minhhieple6483 Ай бұрын
Thanks about great content, Would be grateful if you do a detailed comparison SQL vs NO SQL ?
@tcomein2009
@tcomein2009 29 күн бұрын
Thank you so much for the awesome content! ❤❤❤Those deep dive concepts and real world examples are super helpful. #1 channel to recommend.💯💯💯 May I ask for Staff+ interviews, is the level of details & depth in your video above the hiring bar? or people should go even deeper? Similarly for other topics that you have shared before like geographical search, leader election, file loading to blob... does Staff + interview require deeper details than your video? Thanks
@hello_interview
@hello_interview 29 күн бұрын
Staff+ is typically still evaluated at most companies as Staff. Many will have two system design interviews though. One general and one domain specific. In the domain specific more depth is certainly required, but it’s narrowly focused on that domain, whatever it is.
@anandkrishnan72
@anandkrishnan72 Ай бұрын
great video. makes perfect sense
@AtulMore-Google
@AtulMore-Google Ай бұрын
Nice explanation.
@insofcury
@insofcury Ай бұрын
Thanks for the great content. I have a separate question. In case we want to create a system that wants 10,000 nodes to work together to do webcrawling with minimum network calls and no centralized manager like zookeeper. Do you think p2p connection with DHT managed by Kademlia or Chord algorithm will work. Also can you give couple of pointers on whether to choose kademlia or chord ?
@siddharthchaudhary2183
@siddharthchaudhary2183 25 күн бұрын
Amazing video!
@bjugdbjk
@bjugdbjk Ай бұрын
Amazing, quite informative.
@hello_interview
@hello_interview Ай бұрын
🫶
@anmolgangwal9236
@anmolgangwal9236 17 күн бұрын
hey evan plse make next system design video for google docs, quite tough design question, really interested on your way to design that system
@hello_interview
@hello_interview 17 күн бұрын
We have Google docs written breakdown on the site, fyi! Worth checking out
@tevonwalker4339
@tevonwalker4339 Ай бұрын
Top tier content
@saber3112
@saber3112 Ай бұрын
what about payment service for an ecommerce service where a payment service interacts with Payment Service Provider and further to payment gateways. Can we say it employ different consistency levels for different parts of the system.For example, within internal payment service it should be strong read consistent or high value/critical transactional data might require strong consistency, while less critical data could have eventual consistency.?
@JohnVandivier
@JohnVandivier Ай бұрын
great format!
@dibll
@dibll 21 күн бұрын
when can we see the video for DynamoDB write up?
@Blacken997
@Blacken997 12 күн бұрын
AWS just announced DSQL with "multi-Region availability, [and] strong consistency". Is it giving up partition tolerance to achieve that?
@rod_ion
@rod_ion 5 күн бұрын
what software is used for canvas in the video?🙏
@hello_interview
@hello_interview 5 күн бұрын
Excalidraw. Linked in description
@bjugdbjk
@bjugdbjk 18 күн бұрын
Can you make a system design video on the concepts o building a "recommendation engine " Example : Lets say how KZbin will display the videos depends on so any so metrics of the user's behavior, something like this . There are plenty of usecases, so this is a prime usecase. Can you plan it do something like this of if you already something, pls point that here.
@magary4er
@magary4er Ай бұрын
Can't we achieve a strong consistency with Cassandra within a single partition? Speaking of Ticketmaster, if we partition by event, all reads/writes that demanding a strong consistency will end up on a single partition, it's it?
@hello_interview
@hello_interview Ай бұрын
Kind of. It depends on your design. Cassandra does not support multi-table or multi-row atomic transactions. So, for example, if you wanted to update an "available tickets" column on the event table and add a ticket row, you need some workarounds, which would be easier served by just using an RDBMS.
@PradeepKumarIIITD
@PradeepKumarIIITD Ай бұрын
gold mine
@parinkatariya8982
@parinkatariya8982 Ай бұрын
God! I wish you taught CS.
@hello_interview
@hello_interview Ай бұрын
😛
@rajatmishra9993
@rajatmishra9993 Ай бұрын
This video was good but again it fails to cover what other videos/material fail at. What is the proof of CAP's theorem? Lets say if I sacrifice partition tolerance then I should be able to have consistency and availability as per this. But if there is partition tolerance then I ll loose on both consistency and availability. Now consider a single node database. There wont be any partition so it is partition tolerant. This means I should be able to be consistent and available. But if the node is down then I loose both consistency and availability. Its more like if I am not available then I cannot be consistent as I have one node. This goes against the theorem. I might be wrong here but I was expecting to clear my misunderstandings here.
@hello_interview
@hello_interview Ай бұрын
CAP theorem is about distributed data stores and doesn’t make sense in the context of single node systems. If you sacrifice partition tolerance you’re guaranteeing a reliable network - should be straightforward to see why you can guarantee consistency and availability in this setting.
@turboch-711
@turboch-711 Ай бұрын
Great video. Perfect length. Wish I had known about these for my last two interviews 🥲. Very helpful though
@hello_interview
@hello_interview Ай бұрын
You'll crush the next one!
CAP Theorem Simplified
5:33
ByteByteGo
Рет қаралды 158 М.
Systems Design in an Hour
1:11:00
Jordan has no life
Рет қаралды 34 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
System Design Interview: Design Whatsapp w/ a Ex-Meta Senior Manager
58:12
Hello Interview - SWE Interview Preparation
Рет қаралды 1,5 М.
Design Twitter - System Design Interview
26:16
NeetCode
Рет қаралды 539 М.
Redis Deep Dive w/ a Ex-Meta Senior Manager
31:00
Hello Interview - SWE Interview Preparation
Рет қаралды 61 М.
7 Years of Software Engineering Advice in 18 Minutes
18:32
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Рет қаралды 2,1 МЛН
System Design Interview: Design Ticketmaster w/ a Ex-Meta Staff Engineer
58:39
Hello Interview - SWE Interview Preparation
Рет қаралды 160 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 798 М.
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 148 М.
Is Functional Programming DEAD Already?
21:07
Continuous Delivery
Рет қаралды 75 М.
Kafka Deep Dive w/ a Ex-Meta Staff Engineer
43:31
Hello Interview - SWE Interview Preparation
Рет қаралды 76 М.