BlueMap icon indicating copy to clipboard operation
BlueMap copied to clipboard

Switch to webserver using a virtual-thread per connection

Open TBlueF opened this issue 2 months ago • 0 comments

This PR reimplements the webserver for a better to read implemementation using blocking-io but a virtual-thread per connection.

This PR should only be merged once BlueMap depends on Java 24 or higher. In earlier Java versions the virtual-threads can lead to deadlocks when accessing a database due to neccesary synchronized blocks in the database connection-pool leading to thread-pinning. Thread-Pinning has been fixed in Java 24.

TBlueF avatar Oct 21 '25 21:10 TBlueF