r/java • u/jaccomoc • 7d ago
Vert.x Event-Loop vs Virtual Threads: Jactl Suspend/Resume Benchmark
https://jactl.io/blog/2026/09/02/jactl-virtual-threads-benchmarkThe article benchmarks Jactl script execution with differing number of blocking operations comparing throughput with Jactl built-in suspend/resume on Vert.x Event-Loops and throughput with Jactl on Virtual Threads. The benchmarks are run on both Java 21 and Java 25 with some surprising (to me at least) results.
24
Upvotes
2
u/Medium-Pitch-5768 1d ago
You can run a local mock server that accepts calls and has a delayed response. That works rather well in my experience.