Skip to main content

All Questions

Filter by
Sorted by
Tagged with
4 votes
1 answer
802 views

Cannot limit the concurrency of servlet requests using Spring Boot virtual threads with Tomcat

I am updating a Kotlin (v1.9.25) Spring Boot (v3.3.1) project from Java 17 to Java 21 in order to enable Virtual Threads. In our service, almost all requests acquire one database connection and hold ...
Heits's user avatar
  • 777
35 votes
4 answers
18k views

Java virtual threads vs Kotlin coroutines

How do Java 21 virtual threads compare to Kotlin coroutines? When coding in Kotlin, is it better to prefer one over the other? This video: Java 21 new feature: Virtual Threads #RoadTo21 seems to frown ...
Mahozad's user avatar
  • 25.1k