Distributed Sagas: A Protocol for Coordinating Microservices - Caitie McCaffrey - JOTB17

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 43

  • @jonassigursson7223
    @jonassigursson7223 7 лет назад +17

    Great presentation. So much quality information packed within a short presentation. For those who feel it is too fast you can just slow down the video!

  • @LusidDreaming
    @LusidDreaming 3 года назад +1

    You can add isolation to the pattern by using semantic locking. It means refactoring a lot of existing aggregates/entities, but you can essentially just put a state on something like a booked hotel as "BOOKING_PENDING" and use this to create a locking mechanism. Then you treat it as if it doesn't exist until the state changes to a non-pending state. Semantic locking is a general technique and there's plenty of literature on this. But it answers one of the questions on how to enforce a user not being able to see/modify in between states.

  • @christhatcher961
    @christhatcher961 7 лет назад +8

    Great talk and the pace is fine for me. I've been though some of these situations as a developer and architect and have a much better way of describing the concepts now. Thanks Catie.

  • @zencoweb
    @zencoweb 6 лет назад +5

    I've seen some talks on the same topic and this is one of the best, I'm not a native english speaker and talking speed was ok

  • @mnkartik
    @mnkartik 6 лет назад +1

    Brilliant presentation. Very informative. SEC & the log being the most important of the all, was graphically well presented.

  • @Paarth2000
    @Paarth2000 3 года назад +1

    Great talk. For the compensation on the flight reservation , could you not cancel it without send a create reservation and the flight service would only cancel if it were held.

  • @AlexFeature
    @AlexFeature 5 лет назад +1

    Very cool presentation!

  • @allanchua9394
    @allanchua9394 7 лет назад +5

    This is where NServiceBus shines alot :)

  • @kumarabhishek7877
    @kumarabhishek7877 5 лет назад +2

    Your content is awesome, nice presentation, small suggestion your fluency of words is quite fast which is the only -ve in the presentation.

  • @bicatu
    @bicatu 6 лет назад

    Great talk. One question I would have asked is related to the actual scaling of the SEC and the recovery per se. In practice it is likely that you would have more than one SEC (to handle the traffic load) node so each one using some distributed persistence medium to store the logs. In this case how to handle the load of the writes on the log? (use sharding of RDBMS, or a distributed log - like kafka). Also how to know I have a process that got interrupted by the SEC dying.

    • @benjaminrood1648
      @benjaminrood1648 5 лет назад

      Use a distributive log distinct from all of this.

  • @ankeweiland
    @ankeweiland 6 лет назад +1

    Great talk, I enjoyed a lot how you explained :)

  • @ram62836
    @ram62836 3 года назад

    How is that possible making a POST call idempotent. Example book a car, pretty much a POST call. Video 16.51

  • @BharCode09
    @BharCode09 2 года назад +1

    This is one video where I don't need to change playback speed.

  • @mortenbrodersen8664
    @mortenbrodersen8664 5 лет назад

    Excellent talk!

  • @tkousek1
    @tkousek1 6 лет назад

    Can a saga be thought of similarly to the "unit of work" pattern but only in a distributed architecture?

  • @gaetano222
    @gaetano222 6 лет назад

    Excellent talk! Thank you!

  • @yuchen52
    @yuchen52 3 года назад

    The explanation for cancelling the flight is indeed weird. If we failed to book a flight, and we need to revert the saga, how do we force the booking of the flight to success? It becomes chicken-and-egg.

    • @AvanishRaju
      @AvanishRaju 3 года назад

      Not really - we don't have to force the booking of the flight to succes - we just need to retry till there's a response - either success or failure. Either way, we have a clear state that we can now use to make sure that the flight booking is compensated. (In fact, if we receive a failure response, there's then no need to even try to compensate the flight booking.)

  • @PTM1008
    @PTM1008 2 года назад

    Too good!

  •  7 лет назад +1

    Nice talk.

  • @igrai
    @igrai 6 лет назад +1

    nice talk with good examples, but i actually had to slow down the playback

  • @AndrewKelley
    @AndrewKelley 6 лет назад +3

    I don't know what you guys are talking about. I'm watching this video at 1.5x speed.

    • @irekip
      @irekip 6 лет назад +2

      I'm trying 0.75x, but it's also too fast :)

    • @AvanishRaju
      @AvanishRaju 3 года назад

      Same here!

  • @kristiqntachev7139
    @kristiqntachev7139 4 года назад +2

    Put speed on 0.75 since the lady speaks too fast and even she cannot take a breath between words... If you put it on 0.75 speed it will be in some cases too fast :D

  • @super-ulitka
    @super-ulitka 7 лет назад +6

    Even a micro can't handle such an impressive speech traffic by a presenter..

  • @parashar1505
    @parashar1505 10 месяцев назад

    First time in my life, I am hearing a video at 0.5x speed! How can someone speak so fast?

  • @jorenboulanger4347
    @jorenboulanger4347 5 лет назад

    :O Great!

  • @cybernetic100
    @cybernetic100 7 лет назад +11

    Jeez! slow down a tad! :)

  • @dragonfly3139
    @dragonfly3139 7 лет назад +2

    I don't see anything new, people have been doing this stuff for ages with workflow engines.

  • @jfordgaming9615
    @jfordgaming9615 2 года назад

    please slow

  • @tristin1969
    @tristin1969 2 года назад

    She should slow down. She is talking way too fast.

  • @30harshal
    @30harshal 3 года назад

    she is just non-stop! bla bla bla...poor live audience.

  • @hlexjava
    @hlexjava 6 лет назад +1

    played at 0.5x speed

  • @MostafaAli106
    @MostafaAli106 7 лет назад +4

    it's a really nice talk, but please slow down a little bit, it's ok to catch a breath between every point, I know you must be so excited but seriously, slow it down a bit

  • @kousiks2395
    @kousiks2395 5 лет назад

    all the well known junk

  • @kevinkkirimii
    @kevinkkirimii 7 лет назад +2

    Caitie slow down; very informative though

  • @cipherw00t
    @cipherw00t 4 года назад

    Are all american women presenters this irritating?