Testing project Loom for long-running background jobs

Ronald Dehuysser ronald.dehuysser at gmail.com
Thu Aug 20 21:04:58 UTC 2020


Dear dev's,

I tested project Loom for JobRunr (https://github.com/jobrunr/jobrunr) and
I've written down the results in a blog post:
https://www.jobrunr.io/blog/project-loom-virtual-threads-and-jobrunr/

I'm seeing a lot of improvements memory wise but not performance wise. Is
this expected?

During my tests quite some I/O happens (to an SSD disk/ no http/tcp calls
though) but I limit the work to 128 virtualThreads in parallel. Is there
any other tuning I can do to increase performance?

My feedback to you: the transition to Virtual Threads was really easy and I
did not run into trouble, nice work! I did have one JVM crash though.

Kind regards and looking forward to your feedback,
Ronald


More information about the loom-dev mailing list