How to model event-sourced systems efficiently - Oskar Dudycz - DDD Europe 2022

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2025

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

  • @andreas-grimm
    @andreas-grimm ปีที่แล้ว +9

    Amazing talk, and beautifully visualized 👍

    • @event-driven
      @event-driven ปีที่แล้ว +2

      Thank you a lot! I'm glad that you noticed the work put into the slides ❤

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

    Thanks to Oskar and DDD Europe for the insightful lecture. There's a useful recommendations.

    • @event-driven
      @event-driven ปีที่แล้ว +1

      Thank you Vladyslav, I'm super happy that you liked it! It was important talk for me.

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

      @@event-driven Good luck and thankful audience for every next public talk 🤝🏻

    • @event-driven
      @event-driven ปีที่แล้ว

      @@vladyslavkarpenko9372 thank you once more ❤

  • @valentinajemuovic
    @valentinajemuovic ปีที่แล้ว +3

    Great video; thanks for this!

    • @event-driven
      @event-driven ปีที่แล้ว +1

      Thank you, Valentina! Much appreciated 🙂

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

    Great talk. I'm literally about to build an event sourced banking system. It is so lucky that I found this video. Just wondering how you would deal with those inflight transactions between account closed and account opened especially if these events need some approval processed controlled by human.

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

    How do you know where your "snapshot events" are located?

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

    Great talk!
    Keeping streams short could be a huge challenge. I eventually hit the need for snapshots. Imagine you have a User aggregate/stream to manage user personal details, password, etc. And now you add a new magic email link or temporary code generation for authentication which would grow the stream very quickly. What to do then? Even by extracting this to its own stream, it'd still hit the same problem.
    Rolling out a new stream just to come around these "tech" limitations feel like polluting domain with technical limitations.

    • @JohnMcclaned
      @JohnMcclaned 10 หลายเดือนก่อน

      Temporary code generation should be temporary and it is independent from a user aggregate. There are no invariants between user and code generation.

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

    Event sourcing newb here, If I want to perform aggregates on my checking account (sum), I have to load *all* the records from the database? Seems extremely inefficient.

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

      All the events for THAT specific stream. That's why it's important to design around those streams..you would have Account-1 stream, Account-2, etc. Each one for a different account.
      Loading hundreds of events in order to instantiate an aggregate is super quick. Definitely quicker than reading data from different indexed tables in a relational database and joining and filtering results.

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

    12:07

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

    Great Job Oskar, great presentation. Although I have to say, in the beginning I was like, what is Ryan Gosling doing giving a talk at DDD??? ;)

    • @event-driven
      @event-driven ปีที่แล้ว

      haha, thanks! I hope that some people are also telling him, that he looks like me 😅

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

      @@event-driven Most definitely! People are probably seeing him around and yell at him, Hey Oskar! Great talk!

    • @event-driven
      @event-driven ปีที่แล้ว

      😂😂😂

  • @a0um
    @a0um ปีที่แล้ว +3

    I find memes funny in certain contexts, but not that much during presentations.
    It’s a short talk for professionals on something that should be of interesting and engaging for its own good. What is the point of putting sensational pictures on every other slide?

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

      Nothing wrong with that

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

      I agree it is fine in general, though maybe fewer would be better. Every third slide?

    • @event-driven
      @event-driven ปีที่แล้ว +5

      Thank you for the feedback. Slides, for me, are just illustration for of what I'm saying. I'm trying to keep them engaging, help pass knowledge, and have some fun. Of course, the last part is subjective, so I understand that it may be too much for some people like you, but I hope that's not disturbing. It's not easy to find the right balance, as different people have different needs. I think that just showing diagrams won't be enough engaging, as the content is already dense. I'll think on if I can make the ratio better.

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

      @@event-driven thank you for sharing your knowledge and trying to make engaging presentations.
      I hope you’ll get enough feedback to decide whether to make any adjustments or not.
      Respect for being the one in the stage and reading the comments section! ☺️

    • @event-driven
      @event-driven ปีที่แล้ว

      @@a0um, thanks; indeed, getting enough feedback can be challenging. Especially constructive criticism that helps to get a better 🙂