L17: Consistency Models in Distributed Systems

  Рет қаралды 31,303

Distributed Systems Course

Distributed Systems Course

Күн бұрын

Пікірлер: 44
@KIMATHIMark
@KIMATHIMark 2 жыл бұрын
The introduction was pure GOLD, 🤣🤣not sure if I'll ever forget that example
@cosmicdust2192
@cosmicdust2192 3 жыл бұрын
Another great example of eventual consistency is everyone typing "first" in youtube comment section and later realised that there are at-least 2 dozen such comments :P Thanks for the great content !!
@arushitmudgal3729
@arushitmudgal3729 2 ай бұрын
Woah, this was the best explanation I have seen of Consistency Models on the internet.
@benjaminhusted5176
@benjaminhusted5176 3 жыл бұрын
I really appreciate your work. You are amazing at explaining these topics clear and concise. Really enjoyed the entire Series ! :)
@DistributedSystems
@DistributedSystems 3 жыл бұрын
Glad you like them!
@HackerNomada
@HackerNomada 3 жыл бұрын
Just here to say that I think this channel is amazing, nice to see that you're uploading again.
@DistributedSystems
@DistributedSystems 3 жыл бұрын
Hey, thanks!
@rastaman8632
@rastaman8632 2 жыл бұрын
Thank you so much. I am struggling with this course at my grad school, but your videos have helped me a lot.
@anuragv400
@anuragv400 7 ай бұрын
best video on Consistency model available on the youtube! Well explained man!
@DistributedSystems
@DistributedSystems 7 ай бұрын
Aww thank you! Glad it was helpful.
@Cneq
@Cneq 2 жыл бұрын
Watched the other videos years ago and these are still the best videos on distributed systems on all of youtube [even better than the lectures I was exposed to in my undergrad in computer science] hope you continue to make more of these videos.
@rahulaga
@rahulaga Жыл бұрын
one of the best explanation found ever, thanks !!
@DistributedSystems
@DistributedSystems Жыл бұрын
Glad you think so!
@benish0r
@benish0r Жыл бұрын
The whole series was amazing. It left me wanting for more. Moarrr!!!1
@brucewayne2480
@brucewayne2480 3 жыл бұрын
Love the real world examples, thanks !!
@DistributedSystems
@DistributedSystems 3 жыл бұрын
Thanks!
@rolfzrybnika7741
@rolfzrybnika7741 3 жыл бұрын
Great course, Chris! I've just finished L16 and am very happy to discover, that you are continuously making new videos. I hope your kid is OK and it will give you some time for new lectures ;) Cheers and many, many thanks one more time!
@DistributedSystems
@DistributedSystems 2 жыл бұрын
Kids are doing well. But yup, I keep on hoping I find some more time too.
@Jasonlhy
@Jasonlhy 11 ай бұрын
Thanks, finally understanding the purpose of volatile keyword
@ahmedaj2000
@ahmedaj2000 3 жыл бұрын
thank you! this is helping me study for my exam tomorrow
@DistributedSystems
@DistributedSystems 3 жыл бұрын
Hope it went well!
@mmdts
@mmdts 3 жыл бұрын
Y-you're back!!! Welcome back
@3noch
@3noch 3 ай бұрын
Extremely well done. Thank you.
@Socalledcoder
@Socalledcoder 10 күн бұрын
Great explanation!!
@solomonxie5157
@solomonxie5157 2 жыл бұрын
LOL, the "timing joke" got me laughed!
@ramizk5465
@ramizk5465 2 жыл бұрын
Keep going please amazing content and enthusiasm thanks
@DistributedSystems
@DistributedSystems 2 жыл бұрын
I'll try!
@akhil1996kc
@akhil1996kc Жыл бұрын
please continue this series _/\_
@18sp01
@18sp01 7 ай бұрын
Great video! Loved each of the explanations. Am I correct in saying that Strict consistency = Strong consistency and FIFO consistency = weak consistency?
@DistributedSystems
@DistributedSystems 7 ай бұрын
In this video, strict consistency is an example of a strongly consistent model (as all reads and writes are observed by all nodes in the same order). I would argue that so is sequential consistency, as all executions are provably equivalent to a strict consistency execution. Both FIFO and release consistency are more relaxed consistency models, where it is possible to write code that observes different states of the system -- so in that respect they are weakly consistent. But they also are possible, using concurrency primitives (such as mutexes, semaphores, etc.) to write code in where all shared state is observed only in a consistent state. So if they are used without consistent use of concurrency primitives you could argue they are providing weak consistency. BUT, often when distributed systems folks say they are using "weak consistency" they are complaining about the fact that the system they are using provides inconsistent data in the common use case (a.k.a., it may provide concurrency primitives which give you consistent results, but the system gets too slow if you use these primitives all the time). "Too slow" is of course a judgement call, which depends on the application. In this case you want to modify your application-level behaviour to account for this inconsistent view of the data. The "eventual consistency" case in this video is an example of this, where the application is adapted to still "work" for users in spite of an inconsistent view of the underlying data.
@anndronova521
@anndronova521 2 жыл бұрын
It was very helpful! Thank you!
@heixenberg6
@heixenberg6 3 жыл бұрын
love your explanation :)
@DistributedSystems
@DistributedSystems 3 жыл бұрын
Glad you liked it!
@arunsinghk1
@arunsinghk1 3 жыл бұрын
Great content. Thanks.
@DistributedSystems
@DistributedSystems 3 жыл бұрын
My pleasure!
@pm71241
@pm71241 2 жыл бұрын
Wrt. Eventual consistency... The issue becomes: What's the "latest". It might not be what the clients expected... Even though it's consistent
@veliea5160
@veliea5160 2 жыл бұрын
please add more videos. you are needed
@sudharshantr8757
@sudharshantr8757 2 жыл бұрын
How does the client recognize that sequential consistency is at play in a system and not strict consistency?
@DistributedSystems
@DistributedSystems 2 жыл бұрын
In general -- you read the documentation. I suppose you could come up with some experiments to try and discover what is going on, but that is error prone and hard.
@edberaga
@edberaga 2 жыл бұрын
Hello sir, why dont you make a lecture about the challenge of distributed system?
@ナナチ-o3g
@ナナチ-o3g Жыл бұрын
Hi, your videos are amazing and I watched your videos instead of attending the boring lectures at my university. 🤣 If possible, you could make a video about Raft since it's very popular in the industry right now. I'll definitely watch it if you post it!
@DistributedSystems
@DistributedSystems Жыл бұрын
Thanks! One of the things I tried to do with these videos is only pick topics where I thought I might be able to do better than what was already out there at the time, or if I could take a novel approach to a topic that was already covered. There already are some excellent Raft videos put together by Diego Ongaro and John Ousterhout (who know Raft way better than I ever will). It looks like a good revision of his user study talk can be found here: kzbin.info/www/bejne/rIrTZX-Pl9OhjZo
@abhishek0raut
@abhishek0raut 3 жыл бұрын
Waited one year for this video
@DistributedSystems
@DistributedSystems 3 жыл бұрын
Hope it was worth it! It's been quite a year...
Data Consistency and Tradeoffs in Distributed Systems
25:42
Gaurav Sen
Рет қаралды 193 М.
Lecture 19b. Sequential and causal consistency
8:19
CSC-ECE 506: Architecture of Parallel Computers
Рет қаралды 13 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 141 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 15 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
7.1 Consistency & Replication
28:35
Distribute My System
Рет қаралды 34 М.
L9: Paxos Simplified
35:33
Distributed Systems Course
Рет қаралды 79 М.
Four Distributed Systems Architectural Patterns by Tim Berglund
50:01
Shared Memory Consistency Models and the Sequential Consistency Model
21:34
Introduction to Parallel Programming in OpenMP
Рет қаралды 22 М.
L15: Distributed System Design Example (Unique ID)
12:51
Distributed Systems Course
Рет қаралды 48 М.
Why Distributed Systems Are Hard
41:09
InfoQ
Рет қаралды 35 М.
Distributed Systems 7.2: Linearizability
18:44
Martin Kleppmann
Рет қаралды 38 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 685 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 141 МЛН