Does anyone know what major benefits we will see with this and should it pair nicely with SpringBoot? Wondering if we are going to need a new framework besides Spring to take proper advantage of the virtual threads.
That's probably non-sense though, just a fear of mine having to do entire re-write of my app to take advantage :'D
It will especially fair nicely with blocking by default frameworks like Spring Boot MVC (as opposed to Spring Webflux).
The concrete benefit is a reduced memory usage for high throughput workloads as blocking virtual threads releases the platform thread so you can serve a high number of requests using fewer threads
That’s kind of the goal is that you would not have to. I am sure there will have to be a lot of changes in the frameworks though to properly use it in a performant way
47
u/TakAnnix Sep 20 '22
Really looking forward to playing with virtual threads!