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

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

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

  • @JogoShugh
    @JogoShugh 5 дней назад

    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.

  • @felixnjunge78
    @felixnjunge78 Месяц назад

    Steve this is simply amazing. Thank you!

  • @TechTalksWeekly
    @TechTalksWeekly 5 месяцев назад +2

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

  • @Mrhennayo
    @Mrhennayo 5 месяцев назад +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

  • @avwie132
    @avwie132 4 месяца назад +9

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

  • @jesprotech
    @jesprotech 5 месяцев назад +2

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

  • @carlosabreu5012
    @carlosabreu5012 5 месяцев назад +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 4 месяца назад +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 Месяц назад

      + 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 5 месяцев назад

    great topic and good presentation, thanks

  • @kligris
    @kligris 5 месяцев назад +3

    Awesome!!

  • @MrJohnBBQ
    @MrJohnBBQ Месяц назад

    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?

  • @ilkou
    @ilkou 5 месяцев назад +1

    **new architecture added to resume**

  • @Harve6988
    @Harve6988 Месяц назад

    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?

  • @avalagum7957
    @avalagum7957 5 месяцев назад +4

    What problem does the event sourcing try to solve?

    • @yootoobnoob123
      @yootoobnoob123 5 месяцев назад

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

    • @avalagum7957
      @avalagum7957 5 месяцев назад

      @@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 5 месяцев назад +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 5 месяцев назад +1

      @@jesprotech Does virtual thread solve the same problem?

    • @Mig440
      @Mig440 5 месяцев назад

      ​@@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.