asyncer-io / r2dbc-mysql

Reactive Relational Database Connectivity for MySQL. The official successor to mirromutth/r2dbc-mysql(dev.miku:r2dbc-mysql).
https://r2dbc.io
Apache License 2.0
181 stars 18 forks source link

[feature] Support for Custom Loop Resources #229

Closed jchrys closed 4 months ago

jchrys commented 5 months ago

Is your feature request related to a problem? Please describe. Currently, r2dbc-mysql lacks support for custom loopResources. This limitation hinders the ability to optimize performance and manage resources efficiently, especially in scenarios requiring customized event loop management.

Describe the solution you'd like I propose the introduction of support for custom loop resources via MySqlConnectionConfiguration builder.

Additional context The need for custom loop resource support is exemplified by the issue discussed in r2dbc-pool#190, where it was observed that using custom loopResources could avoid accidental thread co-location, enhancing performance.