request help: API6 Java Plugin async support
ChuanDou2021 opened this issue · 0 comments
ChuanDou2021 commented
PluginFilter async support
Is it possible make PluginFilter to support async operation ?
In PluginFilter.filter, I need to perform a redis query operation, then performed redis write operation in PluginFilter.postFilter。
However, currently the code executed in the PluginFilter.filter function is synchronous, and the query database operation will block Netty IO threads, resulting in a drop in plugin throughput
Environment
- 0.4.0