Data Consistency | Strong Consistency vs. Eventual Consistency | System Design for Beginners

  Рет қаралды 18,240

Shiran Afergan

Shiran Afergan

Күн бұрын

System Design Concepts for Beginners. This playlist should help you prepare for your system design interviews.
This video covers the topic of consistency. What is consistency in distributed systems design, What is strong consistency vs. eventual consistency and what are the tradeoffs between them.
Systems design interview prep guide -
• How to Prepare for Sys...
High Availability | Eliminate Single Points of Failure -
• High Availability | El...

Пікірлер: 51
@joflve
@joflve 2 жыл бұрын
The only downside of your channel is that I cannot get new content every minute. The most clear explanations I've seen for technical interview topics.
@harshmohan8419
@harshmohan8419 2 жыл бұрын
Same hehe. I need good system design soon. This channel only way left and way she explain is legends.
@ShiranAfergan
@ShiranAfergan 2 жыл бұрын
Thanks! Made me laugh and blush 😂😂
@adeolaoladeji1167
@adeolaoladeji1167 Жыл бұрын
This is the most beginner friendly channel that treats system design. Thanks for clarifying all the ambiguous concepts.
@andrewkicha1628
@andrewkicha1628 Жыл бұрын
Amazing job done explaining the concept, I really liked the visualizations and the structure of the information
@naweedjaulim6058
@naweedjaulim6058 Жыл бұрын
Best System Design channel I have come across so far with the illustrations! Thank you.
@ShiranAfergan
@ShiranAfergan Жыл бұрын
Thank you! 😊
@khanriza
@khanriza Ай бұрын
Great video
@ganapathinaik5446
@ganapathinaik5446 2 жыл бұрын
Nice explanation and very informative Thank you. Waiting for videos on database partitioning and sharding.
@ShiranAfergan
@ShiranAfergan 2 жыл бұрын
Thanks! database videos are definitely coming :)
@gcheese25
@gcheese25 Жыл бұрын
loved your explanation so much! wish me good luck for my system design interview
@parthabhowmik4747
@parthabhowmik4747 7 ай бұрын
You are so good at explaining things, thanks.
@kirillzlobin7135
@kirillzlobin7135 Жыл бұрын
This channel has a lot of useful information. Thank you for sharing
@Canda-fh4xc
@Canda-fh4xc Жыл бұрын
Easy and clear explanation. Thank you
@ankithap5219
@ankithap5219 Жыл бұрын
Very clear and consise explanations. Thank you!
@benparker8000
@benparker8000 2 жыл бұрын
Glad I discovered your channel. I'm brushing up on these concepts before an interview and these videos are very helpful. I checked out Guarav Sen as recommended in another video as well and he's excellent. Your advice has made this learning process much easier. Thanks!
@AjitKumar-wm5cl
@AjitKumar-wm5cl 9 ай бұрын
Where are you now a days? No more video for many months. Please make some technical video and share with us. Liked your videos
@nikhilpatil9654
@nikhilpatil9654 5 ай бұрын
great explanation
@brajagopalmukherjee1588
@brajagopalmukherjee1588 2 жыл бұрын
Mam I am following systems design primer GitHub one and your video along side to prepare my system design video
@legenddesigning7111
@legenddesigning7111 3 ай бұрын
keep up
@prudhvisaisuggala7677
@prudhvisaisuggala7677 6 ай бұрын
Nice video
@saiashok28
@saiashok28 2 жыл бұрын
You deserve more subscribers Shiran!!!❤️
@yuanliu5945
@yuanliu5945 2 жыл бұрын
The best video explaining system design!!
@ShiranAfergan
@ShiranAfergan 2 жыл бұрын
Thank you! 😊
@SPribyt
@SPribyt Жыл бұрын
great!
@peternicola6429
@peternicola6429 10 ай бұрын
you earned a new subscriber, thank you for your help 🙌
@gurpreetvirdi6967
@gurpreetvirdi6967 2 жыл бұрын
Awesomely explained. Please keep making more content :) . Cheers!!
@neiljohari6815
@neiljohari6815 8 ай бұрын
Thanks! QQ: do systems actually block read requests, or is it more reasonable to block the write’s acknowledgement until a synchronous replication quorum is reached? I’m not sure how you’d be able to block reads fast enough on geographically separate DCs (since you’d need to send a message which will still suffer from network latency)
@minhhuynhthe
@minhhuynhthe Жыл бұрын
thanks for your video. It helped me a lot.
@caiobittencourt9595
@caiobittencourt9595 Жыл бұрын
So good, very easy to understand!
@harshmohan8419
@harshmohan8419 2 жыл бұрын
Loving Yaa. Need more awesome knowledge.. Soon. Take care
@ShiranAfergan
@ShiranAfergan 2 жыл бұрын
☺️ More is coming :)
@harshmohan8419
@harshmohan8419 2 жыл бұрын
@@ShiranAfergan eagerly waiting..........
@MrEG12341
@MrEG12341 2 жыл бұрын
Thanks Shiran. When using a cloud provider (as aws), what are the pros and cons of using the managed read replica?
@ShiranAfergan
@ShiranAfergan 2 жыл бұрын
Like any other managed service, it saves you the trouble of doing some things manually. You won’t have to burden yourself with setup, upgrades, backup, and more. The downside of managed deployments vs unmanaged is less control over configuration. There are also other limitations (storage, number of instances…) and it costs more.
@keistzenon9593
@keistzenon9593 Ай бұрын
Is that the reason why comments on youtube videos sometimes seem to disappear or appear much later? (besides some filtering)
@atulmishra1517
@atulmishra1517 6 ай бұрын
In case of strong consistency, how are we going to block reads while replicating data?
@GidzPaul
@GidzPaul Жыл бұрын
Thank you!
@yonishachar1887
@yonishachar1887 7 ай бұрын
את דוברת אנגלית מלידה? יש לך תוכן ברמה גבוהה שמועבר באופן פשוט וברור. ממש אהבתי!
@ShiranAfergan
@ShiranAfergan 7 ай бұрын
לא, לא מלידה. הרבה טלוויזיה וסרטים מגיל קטן עזרו 😆 תודה על התגובה! שמחה שאהבת :)
@redhot678
@redhot678 6 ай бұрын
A question, what would happend if the time until the replication message is too long and we get a get views request in the middle
@ak-ot2wn
@ak-ot2wn 10 ай бұрын
<a href="#" class="seekto" data-time="321">5:21</a> - what if all 3 clients are updating the view_count value on each of these nodes? Will the view_count value become 21 instead of 23 or somehow magically it will become 23 on all 3 machines?
@yogeshdharya3857
@yogeshdharya3857 2 жыл бұрын
considering the comment section , seems ur videos are being recommended in India more ! Who knows if eventual consistency is to be blamed for this 🤣! I like those plants waving cause of the wind !
@ShiranAfergan
@ShiranAfergan 2 жыл бұрын
Haha yes maybe :)
@ajisegirisunday2885
@ajisegirisunday2885 2 жыл бұрын
Nice video but I have a question. Let's I have my db operator deployed on kubernetes as statefulset and I set replicas to two or more.. How does kubernetes managed the replication.. Is it strong consistency or eventual? Can I configure it to my requirements?
@ShiranAfergan
@ShiranAfergan 2 жыл бұрын
Thanks :) Kubernetes is not related to this. The consistency of a database depends on the database you choose. For example Postgres provides strong consistency while Cassandra is more eventually consistent (might be configurable)
@ajisegirisunday2885
@ajisegirisunday2885 2 жыл бұрын
@@ShiranAfergan thanks i know better now
@1roadrage1
@1roadrage1 Жыл бұрын
Comment of substance. trust me bro.
@dmitriybaram4595
@dmitriybaram4595 Жыл бұрын
Shiran, can you elaborate on how exactly requests to replicated servers can be blocked if clients are not aware of the replication process that happens asynchronously?
@brlvldvlsmrtnz
@brlvldvlsmrtnz Жыл бұрын
The way I understand it, it's actually the write that blocks until all the replicas have also performed the write
@arneishprateek6444
@arneishprateek6444 Жыл бұрын
Your read request would need to be sent to multiple servers and at least "R" of them should agree on the value before it's returned to you. Similarly, your write request would need to be completed on "W" servers before it's returned as completed. If R+W>N where N is the total number of servers, your system is strongly consistent since then there is at least one server that must contain the latest value. This, of course, comes at the cost of performance as she mentioned in the video - since you now need to wait on R (or W) servers to return. The lower the values of R and/or W, the lower the consistency of your system but higher the availability (and performance). In the extreme case, R=1 and W=1 would imply the most available but least consistent system. (Source: System Design by Alex Xu)
The CAP Theorem | System Design Concepts for Beginners
5:35
Shiran Afergan
Рет қаралды 10 М.
Capacity Planning and Estimation | System Design for Beginners
16:38
Shiran Afergan
Рет қаралды 24 М.
Dad gives best memory keeper
01:00
Justin Flom
Рет қаралды 20 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 78 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 52 МЛН
Database Sharding in 200 Seconds
4:43
PlanetScale
Рет қаралды 23 М.
Why you should not be a data scientist
12:33
Tina Huang
Рет қаралды 760 М.
What is DATABASE SHARDING?
8:56
Gaurav Sen
Рет қаралды 923 М.
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 483 М.
Dad gives best memory keeper
01:00
Justin Flom
Рет қаралды 20 МЛН