@seancorfield super helpful, thanks!
Iโm a little rusty with Java and Clojure, so: how robust/mature/compatible/viable are vthreads these days? Do they โjust workโ with Ring apps and Jetty? Are they sufficiently robust for production?
@seancorfield super helpful, thanks!
Iโm a little rusty with Java and Clojure, so: how robust/mature/compatible/viable are vthreads these days? Do they โjust workโ with Ring apps and Jetty? Are they sufficiently robust for production?
@avi That's a great question! We first tried them a few JDK versions ago and ran into some sort of deadlock issue, and several (Java) dependencies didn't seem to behave well with them, but as we've moved to newer JDKs and updated dependencies we've had better luck (we're on 24 in production). We haven't fully switched to vthreads in Jetty yet -- O/S threads are still serving us well for now, but I'll probably take a run at that once we move to JDK 25 (which will depend on New Relic adding support for it).
@seancorfield very interesting and informative! Thanks Sean!