Event Sourcing : what could possibly go wrong? by Andrzej Ludwikowski

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 16

  • @basilthomas790
    @basilthomas790 Рік тому +13

    Excellent presentation and best by far PRACTICAL discussion regarding how to implement Event Sourcing that I have viewed anywhere!!

  • @TheLavaBlock
    @TheLavaBlock 2 роки тому +4

    Very compact and comprehensible summary. Thank you for this

  • @dolibert
    @dolibert 11 місяців тому

    Really thanks for giving an overview on architecture variants and stack options! Great to have your opinion on that

  • @KhaledKimboo4
    @KhaledKimboo4 8 місяців тому

    Every presentation ignore the elephant in the room, state consistency is crucial not because the client needs them but your commands and domain handlers requires them, I say +90% of state query (read model) are fetched by other commands to check, verify, decide... before storing the event, hence es after a while you'll be forced to implement atomic state persistency . Event sourcing is like walking on you hands to better see the floor.

  • @Strannik20111
    @Strannik20111 2 роки тому +2

    The main point I've learnt from this talk is that event sourcing is just funny)

  • @MiroSzydlowski
    @MiroSzydlowski Рік тому

    Brilliant presentation Mate

  • @omerorhan80
    @omerorhan80 6 місяців тому

    what about sensetive data? for example credit card information. When we keep events they will always be readable, so isn't that a safety issue? So we shouldn't use ES for that kind of use cases?

  • @sarwan.surchi
    @sarwan.surchi 9 місяців тому

    thank for the presentation but man how do you replay events through the event bus for a new read model or just prepare a brand new read db?
    this doesn't sound like an ES system to me where Dual-Write Problem is introduced that causes inconsistencies

  • @sarunas8002
    @sarunas8002 3 місяці тому

    it is not clear how you can have an overbooked state in cinemaShow aggregate. I think the second example should be that you don't have enough funds, so then compensating action would be release the booking. if aggregate allows to overbook than this is not a case of compensating actions and/or transactions this is just lacking business constraint that makes the life easier...

  • @mrsmith5955
    @mrsmith5955 4 місяці тому

    The whole point of Eventual consistency is to gain consistency EVENTUALY! Don't try to make it real time or even close to real time.

  • @vrjb100
    @vrjb100 Місяць тому

    Software architects should be forced to write the code for their ideas. In practice I've never met an architect who can write code.

  • @mehrdadk.6816
    @mehrdadk.6816 Рік тому +1

    The worst thing to do is to use EventSourcing that relies on database. Imagine that you come up with 90 million events, then good luck with performance issue on start up

    • @mehrdadk.6816
      @mehrdadk.6816 Рік тому

      @@VitoVicoVito it depends, for this case it's better to use EventSourcing and Snapshots at the same time, however this is really hard to implement. One another case is to use Kafka Streams which has internal state-store. Flushing old events after snapshot is also possible

    • @casiowatch125
      @casiowatch125 Рік тому +1

      See Akka persistence for an "out of the box" event sourcing+ snapshotting library. But you basically snapshot your state after x number of events. Then when rebuilding state, you take the snapshot as your base state and replay events on top of that instead of starting from the genesis event

    • @casiowatch125
      @casiowatch125 Рік тому

      Oh it's already discussed in the talk

  • @wo11ucks
    @wo11ucks Рік тому +6

    Where can we find slides?