How to reduce thread consumption on client-side?

Author: crazyAttributorCreated Feb 6, 2025Updated Feb 12, 2026

Dear maintainers, I noticed that in the WebSocketClient.java implementation, two threads are used to handle the reading and writing separately. When connecting to multiple WebSocket servers, this ends up using a lot of threads. So, I was wondering if you have any plans to look into re-implementing the client with non-blocking I/O in the future? Thanks!

Source: TooTallNate/Java-WebSocket