Skip to content
0:00 / 0:00

#springboot#virtualthreads#coroutines

Reactive Spring Boot With Kotlin Coroutines: Adding Virtual Threads

Kotlin by JetBrains

100K subscribers • 61 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Linked in the descriptionupeter/kotlin-springboot-loom-demo
  • Made by the vendor. The company whose product it covers made or sponsored it.

Intermediate. Assumes working knowledge.

18K views2 years ago1 recommendation

Programming languagesWeb developmentKotlinConcurrency and parallelism

A deep dive into how Java 21 virtual threads and Kotlin coroutines compare, coexist, and integrate within Spring Boot applications.

With the advent of JDK 21, there’s a cool new kid in concurrency town: virtual threads! Conceptually, virtual threads claim to offer the same lightweight concurrency characteristics as coroutines. Everyone is wondering, how will they impact coroutines and reactive stacks? Will virtual threads compete with, coexist with, or complement them? And how does all this fit in with Spring Boot? In this session, we’ll explore virtual threads in-depth. Using live coding, accompanied by clarifying illustrations and crisp samples, you’ll gain a robust understanding of how virtual threads and coroutines differ and are similar in the ways in which they address concepts such as structured concurrency, continuations, suspend methods, context propagation, and more. We’ll also explore how virtual threads and coroutines can be applied in Spring Boot by looking at various usage scenarios. At the end of our journey, we’ll have uncovered the similarities and differences between coroutines and virtual threads, revealed their strengths and weaknesses, and explored viable usage scenarios, enabling you to choose the best approach for your specific challenges. Demo project: github.com/upeter/kotlin-springboot-loom-demo #kotlincoroutines #reactiveprogramming #webflux #kotlin

Why it's here

1 person recommends this

What people say. Included in a popular list of the best Kotlin talks of 2024.

u/TechTalksWeeklyin r/Kotlin • Recommends

All Kotlin talks of 2024 sorted by popularity Hi r/Kotlin! As part of Tech Talks Weekly, I've compiled a complete list of all Kotlin talks of 2024 and ordered it by the view count. The list contains 100 talks presented at (almost) all dev conferences this year. There's lots of really good content around new language features, coroutines, Functional Programming, Kotlin Notebooks and Dataframes and much more, so I highly recommend going thorugh the entire list. Let me know what you think! 1. **"KotlinConf'24 - Keynote"** ⸱ **+56k views** ⸱ 23 May 2024 ⸱ 00h 56m 47s 2. **"Kotlin Language Features in 2.0 and Beyond - Michail Zarečenskij"** ⸱ **+21k views** ⸱ 17 Jun 2024 ⸱ 00h 46m 57s 3. […