ctrl-space-labs / gendox-core

Gendox: "Generate. Train. Evolve."
GNU Affero General Public License v3.0
5 stars 0 forks source link

As a Backend developer I want to enable Java 21 Virtual Threads instead of using Thread Pools #100

Open sekasx opened 1 year ago

sekasx commented 1 year ago

New Major Version

This is a breaking change. Since this is still in beta, only the minor version will be updated though. TBD the exact versioning

Description

Threads Pools is a major Java new feature, introduced as experimental in Java 19 and maid final in Java 21 which is the next LTS Java Version.

Virtual Threads have significant benefits over Classic Threads:

In this ticket Spring needs to be upgrade in Java 21 and the asyncDiscordExecutor needs to be updated to use Virtual Threads. https://www.baeldung.com/spring-6-virtual-threads

Tasks

sekasx commented 3 weeks ago

@myrtp please check this