Headache-Free Reactive Programming With Spring Boot and Kotlin Coroutines

Поделиться
HTML-код
  • Опубликовано: 14 ноя 2023
  • When it comes to throughput, resource efficiency, parallelism, and reactive streams -if you want to get the most out of Spring Boot - there is no way around its reactive stack WebFlux. However, the price you pay regarding WebFlux’s complexity, testability, and maintainability is exceptionally high and will likely cause you a lot of problems.
    In this webinar, you will learn how Spring Boot’s coroutine support can wipe out all the downsides of the “raw” WebFlux approach and provide you with the best of both worlds: reactive characteristics without the complexity. Using many live-coded examples, we will start at the very beginning by considering when and why you would need WebFlux (and why runBlocking{...} is no alternative). With this foundation, we will explore Kotlin’s reactive building blocks, such as coroutines and Kotlin Flows, and demonstrate how to seamlessly integrate them with Spring Boot WebFlux.
    At the end of our journey, we will have built a reactive API that uses non-blocking remote API calls and async relational database access while leveraging parallelism and reactive streams. By then, you will know how to implement reactive applications without the headache.
    Speaker: Urs Peter
    #kotlincoroutines #reactiveprogramming #webflux #kotlin #springboot #tutorial
  • НаукаНаука

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

  • @HantsyBai
    @HantsyBai 8 месяцев назад +16

    We are using Kotlin Corourines/Spring Data R2dbc/jOOQ + Postgres in our project. We have just updated to JDK21 and Kotlin 1.9.20.

    • @tobolajan
      @tobolajan 8 месяцев назад +2

      Same here! Beautiful stack to work with... 👍

    • @captainnoyaux
      @captainnoyaux 8 месяцев назад

      I worked at a company that used Kotlin + Arrow-kt + Http4k, it was 🔥, it was a blast to work there

    • @melo0187
      @melo0187 8 месяцев назад

      Not on the reactive bandwagon yet, but can confirm that jOOQ is a blessing! I learned more SQL then ever before by starting to use jOOQ 😂

    • @csvxmlfan3853
      @csvxmlfan3853 8 месяцев назад

      What did you do to get kotlin 1.9.20 running with JDK21? I'll get exceptions especially with coroutines library?

  • @iamrigank
    @iamrigank 8 месяцев назад +5

    Always nice to hear and learn from Urs! ❤ thank you very much

  • @slaynnyt8130
    @slaynnyt8130 8 месяцев назад +3

    Great presentation!

  • @kef973
    @kef973 8 месяцев назад +1

    Great information, thank you !

  • @tkblackbelt2
    @tkblackbelt2 8 месяцев назад +1

    Amazing sessions!

  • @qweezique
    @qweezique 8 месяцев назад +2

    Great work!

  • @Poisonedyouth79
    @Poisonedyouth79 8 месяцев назад +1

    Thanks for this nice talk❤

  • @vamsivegi
    @vamsivegi 8 месяцев назад +3

    kudos to Anton for asking the right question at the start.

    • @AntonArhipov
      @AntonArhipov 8 месяцев назад

      I'd say that it is an obvious question :)

  • @sakthisomaskandan6438
    @sakthisomaskandan6438 2 месяца назад

    Great session!

  • @andriyzhuk8830
    @andriyzhuk8830 6 месяцев назад

    Nice, very interesting.

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

    can someone share source code or github link of this project so we can play around.

  • @andrewsneck
    @andrewsneck 8 месяцев назад +2

    That curl tests look cool. Is it some tool for it?

  • @AnotherDimension
    @AnotherDimension 6 месяцев назад

    Reactor imlements prefetching and operator fusing.
    Is it also the same when using coroutines approach?
    How exactly is it integrated into reactive approach?

  • @jcolindres001
    @jcolindres001 8 месяцев назад +1

    Thank you Urs!
    Excellent training!
    One question: according to your experience: what is the best choice: Kotlin + Ktor or Kotlin + Spring Boot?
    Regards,

    • @davio14
      @davio14 8 месяцев назад +6

      I'm not him but for me Kotlin plus Spring Boot wins because in an enterprise setup there are often many other things you need that either come with Spring or integrate nicely with Spring.
      For small projects or projects with very few dependencies you could go with Ktor and Koin

  • @davidluna9722
    @davidluna9722 8 месяцев назад

    Could you share the presentation slides for downloading?

  • @PixelHamster
    @PixelHamster 8 месяцев назад +1

    Reactive programming and Headache-Free in the same sentence lol

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

    I don't know why Anton decided to include his video flux. I understand that as a host he may not be the target audience or has other stuff to manage than the content of the talk, but when watching the video, it's very hard to not be distracted by what may appear as a discussion between 2 people where one is visibly not listening and not caring. Great video still, and great guest speaker, just a recommendation for next time (either pretend to listen, or cut the camera / edit it out form the final video)

  • @eskii2
    @eskii2 3 месяца назад

    Lies, spring(-boot) is a royal mess and kotlin is reskinned java. Go Haskell and feel paradise

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

      Mashallah brother