Closed jchrys closed 4 months ago
I think we are okay to LoopResources for Tcp only. since AsynchronousFileChannel is using min 0 max Integer.MAX_VALUE
executor by default so each opened will have a dedicated thread.(https://github.com/openjdk/jdk/blob/8765b176f97dbf334836f0aa6acd921d114304a9/src/java.base/share/classes/sun/nio/ch/SimpleAsynchronousFileChannelImpl.java#L46)
Motivation: Enhances flexibility by allowing custom
LoopResources
configuration for optimized event loop management.Modifications: Introduced
LoopResources
configuration option inMysqlConnectionConfiguration
and updated relevant documentation.Result: Enables performance tuning and flexibility, improving adaptability for various deployment scenarios. Resolves #229