L17: Consistency Models in Distributed Systems

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 42

  • @KIMATHIMark
    @KIMATHIMark ปีที่แล้ว +7

    The introduction was pure GOLD, 🤣🤣not sure if I'll ever forget that example

  • @benjaminhusted5176
    @benjaminhusted5176 2 ปีที่แล้ว +19

    I really appreciate your work. You are amazing at explaining these topics clear and concise. Really enjoyed the entire Series ! :)

  • @cosmicdust2192
    @cosmicdust2192 2 ปีที่แล้ว +1

    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 !!

  • @rastaman8632
    @rastaman8632 ปีที่แล้ว +1

    Thank you so much. I am struggling with this course at my grad school, but your videos have helped me a lot.

  • @HackerNomada
    @HackerNomada 2 ปีที่แล้ว +1

    Just here to say that I think this channel is amazing, nice to see that you're uploading again.

  • @3noch
    @3noch 20 วันที่ผ่านมา

    Extremely well done. Thank you.

  • @Cneq
    @Cneq ปีที่แล้ว

    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.

  • @anuragv400
    @anuragv400 4 หลายเดือนก่อน

    best video on Consistency model available on the youtube! Well explained man!

  • @benish0r
    @benish0r ปีที่แล้ว

    The whole series was amazing. It left me wanting for more. Moarrr!!!1

  • @rolfzrybnika7741
    @rolfzrybnika7741 2 ปีที่แล้ว

    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.

  • @rahulaga
    @rahulaga ปีที่แล้ว

    one of the best explanation found ever, thanks !!

  • @brucewayne2480
    @brucewayne2480 2 ปีที่แล้ว +1

    Love the real world examples, thanks !!

  • @Jasonlhy
    @Jasonlhy 8 หลายเดือนก่อน

    Thanks, finally understanding the purpose of volatile keyword

  • @ahmedaj2000
    @ahmedaj2000 2 ปีที่แล้ว +2

    thank you! this is helping me study for my exam tomorrow

  • @ramizk5465
    @ramizk5465 2 ปีที่แล้ว +2

    Keep going please amazing content and enthusiasm thanks

  • @akhil1996kc
    @akhil1996kc ปีที่แล้ว +2

    please continue this series _/\_

  • @mmdts
    @mmdts 2 ปีที่แล้ว

    Y-you're back!!!
    Welcome back

  • @solomonxie5157
    @solomonxie5157 2 ปีที่แล้ว +1

    LOL, the "timing joke" got me laughed!

  • @heixenberg6
    @heixenberg6 2 ปีที่แล้ว +1

    love your explanation :)

  • @arunsinghk1
    @arunsinghk1 2 ปีที่แล้ว +1

    Great content. Thanks.

  • @anndronova521
    @anndronova521 ปีที่แล้ว

    It was very helpful! Thank you!

  • @18sp01
    @18sp01 4 หลายเดือนก่อน

    Great video! Loved each of the explanations. Am I correct in saying that Strict consistency = Strong consistency and FIFO consistency = weak consistency?

    • @DistributedSystems
      @DistributedSystems  4 หลายเดือนก่อน

      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.

  • @veliea5160
    @veliea5160 2 ปีที่แล้ว

    please add more videos. you are needed

  • @abhishek0raut
    @abhishek0raut 2 ปีที่แล้ว +1

    Waited one year for this video

    • @DistributedSystems
      @DistributedSystems  2 ปีที่แล้ว +2

      Hope it was worth it! It's been quite a year...

  • @user-kh9ss2bm2h
    @user-kh9ss2bm2h ปีที่แล้ว

    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:
      th-cam.com/video/vYp4LYbnnW8/w-d-xo.html

  • @pm71241
    @pm71241 2 ปีที่แล้ว +1

    Wrt. Eventual consistency... The issue becomes: What's the "latest".
    It might not be what the clients expected... Even though it's consistent

  • @sudharshantr8757
    @sudharshantr8757 2 ปีที่แล้ว +1

    How does the client recognize that sequential consistency is at play in a system and not strict consistency?

    • @DistributedSystems
      @DistributedSystems  2 ปีที่แล้ว +1

      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 ปีที่แล้ว

    Hello sir, why dont you make a lecture about the challenge of distributed system?