Open Thihup opened 2 years ago
Thanks @Thihup we do plan to explore the use of Project Loom (virtual threads) in Liberty in the future. Given that this work lies ahead of us, we may benefit from knowing the context for your interest in this, e.g. understanding if you have a specific use case and if so, taking that into account in our exploration.
Hi @vijaysun-omr! I'd be interested in this, too. My apps are using a lot of background threads to compute things, eg reading in a large custom JSON DSL, and then applying transformations to lots of objects in memory (pre-loaded from a database). Some operations will take minutes, easily. Getting them done in seconds would get us closer to other DB locking mechanisms.
Haven't tried the actual effect yet, but can try to get some numbers.
https://github.com/OpenLiberty/open-liberty/pull/22252
PR by @NottyCode
Describe the use case that you want to enable: Use Virtual Threads executor instead of the default one.
Describe why this is important to you: Enable higher scalability