Preparing Spring Web Applications for Loom
Initially, the servlet specification used blocking I/O. Over time and to increase scalability, containers switched to non-blocking I/O, and the servlet specification introduced the asynchronous API. OpenJDK’s Project Loom (virtual threads) aims to provide further scalability improvements with easy-to-use, high-throughput, lightweight concurrency.
The possibilities for Loom will be examined at the container and application levels. This will be supported with data generated by a range of experiments undertaken using Loom and Apache Tomcat. While benchmarks can only provide a guide to what you might expect for an application, this session will provide you with the basis to determine what Loom might offer your applications and where to start with your own performance testing so you can quantify those benefits.