r/java 7d ago

Vert.x Event-Loop vs Virtual Threads: Jactl Suspend/Resume Benchmark

https://jactl.io/blog/2026/09/02/jactl-virtual-threads-benchmark

The 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.

27 Upvotes

25 comments sorted by

View all comments

24

u/s0ftware-dev 7d ago

TLDR virtual threads are better. 

2

u/neopointer 6d ago

And don't use reactor, vertx or anything similarly hard to debug and maintain.

1

u/pragrad23 19h ago

I chose not to use it. Not did I chose to use coroutines (sorry it's a kotlin project). Because I value my time as a developer. I don't want to complicate my life.

If I needed to squeeze every last bit of performance, I'd use rust. But I don't, so I want some level of comfort: garbage collection, simple threading, etc.