Headache-Free Reactive Programming With Spring Boot and Kotlin Coroutines

แชร์
ฝัง
  • เผยแพร่เมื่อ 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 !

  • @qweezique
    @qweezique 8 หลายเดือนก่อน +2

    Great work!

  • @tkblackbelt2
    @tkblackbelt2 8 หลายเดือนก่อน +1

    Amazing sessions!

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

  • @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

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

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

  • @PixelHamster
    @PixelHamster 8 หลายเดือนก่อน +1

    Reactive programming and Headache-Free in the same sentence lol

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

    Could you share the presentation slides for downloading?

  • @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 8 วันที่ผ่านมา

      Mashallah brother