Creating Future-Proof Spring Applications with Event Sourcing by Steve Pember @ Spring I/O 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

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

  • @GeorgeBentes
    @GeorgeBentes 4 วันที่ผ่านมา

    Great presentation! I'll definitely will take a deep dive into it!

  • @JogoShugh
    @JogoShugh 27 วันที่ผ่านมา

    Loved the talk. It is as good overall and even better than many of Greg Young's talks on this. I particularly appreciate the code samples in Kotlin and the considerable time spent on common questions and answers.

  • @avwie132
    @avwie132 5 หลายเดือนก่อน +9

    Man you’re voice is amazing. You should be a voice actor or have a podcast at least

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

    Steve this is simply amazing. Thank you!

  • @balazsklezli5877
    @balazsklezli5877 15 วันที่ผ่านมา

    Great stuff, Thanks for sharing!

  • @TechTalksWeekly
    @TechTalksWeekly 6 หลายเดือนก่อน +2

    Steve's talk has been featured in the last issue of Tech Talks Weekly newsletter 🎉
    Congrats! 👏

  • @Mrhennayo
    @Mrhennayo 6 หลายเดือนก่อน +6

    That's clean enough
    As long as there's an history requirement, then I guess that's the best pattern
    Also the immutability contraint makes it resistant against bugs

  • @jesprotech
    @jesprotech 6 หลายเดือนก่อน +2

    Great presentation and great example! Loved the presentation! Great job! 👍

  • @carlosabreu5012
    @carlosabreu5012 6 หลายเดือนก่อน +4

    so good.
    With this you dont need a recurrent select or this refresh button to see changes in the client side. you can subscribe to the eventsource with js, and dissubscribe when you change the page. spring can manage it if your clients cant close the subscription. but thats one idea! think about it... like reactivity to a crud, you can bring this to any other business logic.

  • @avwie132
    @avwie132 5 หลายเดือนก่อน +5

    Event sourcing is such a beautiful theoretical architecture, however in practice there are a lot of drawbacks:
    - GDPR requirements on data storage
    - event versioning is a pain
    - navigating a code base with multiple event handlers can be very difficult
    - the mental overhead is harder than you think, making it difficult to onboard or have juniors in your team

    • @ZdobywcaTitanQuestIT
      @ZdobywcaTitanQuestIT 2 หลายเดือนก่อน

      + Undoing is overrated as well, with so many side effects realistically happening in larger apps.
      + Bug fixing can become twice as hard compared to regular orm based stuff

  • @tobyzieglerrr
    @tobyzieglerrr 6 หลายเดือนก่อน

    great topic and good presentation, thanks

  • @MrJohnBBQ
    @MrJohnBBQ 2 หลายเดือนก่อน

    Super cool. Just curious about the demo, why the switch from kotlin to java at some point? Was there some dependency that didn’t interop nicely for some reason?

  • @avalagum7957
    @avalagum7957 6 หลายเดือนก่อน +4

    What problem does the event sourcing try to solve?

    • @yootoobnoob123
      @yootoobnoob123 6 หลายเดือนก่อน

      It tries to solve the problem that software applications change over time. Luckily that describes most software with more than zero users 😅

    • @avalagum7957
      @avalagum7957 6 หลายเดือนก่อน

      @@yootoobnoob123 > that software applications change over time
      that covers more than 99.99999% of the existing software applications. So, this solution is "one size fits all"? If yes, wow 🙂

    • @jesprotech
      @jesprotech 6 หลายเดือนก่อน +1

      Event sourcing allows for applications to be more reactive and thus be able to deal with more simultaneous requests. Event sourcing allows for sourcing of events, which means creating non-blocking processing for each unit of work. Each data is stored and processed later. That way more resources are released more quickly.

    • @avalagum7957
      @avalagum7957 6 หลายเดือนก่อน +1

      @@jesprotech Does virtual thread solve the same problem?

    • @Mig440
      @Mig440 6 หลายเดือนก่อน

      ​@@avalagum7957 no they do not. Virtual threads only live within the jvm while event sourcing is an architectural pattern for the entire tech stack including datastores.

  • @Harve6988
    @Harve6988 2 หลายเดือนก่อน

    What does it mean "doesn't own the data"?
    Does event sourcing not work for say IoT or when you are collecting data from devices like logs as you don't control the data domain? Or is it more when it is a 3rd party api?

  • @ilkou
    @ilkou 6 หลายเดือนก่อน +1

    **new architecture added to resume**

  • @kligris
    @kligris 6 หลายเดือนก่อน +3

    Awesome!!