Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request help: API6 Java Plugin async support #264

Open
ChuanDou2021 opened this issue Aug 29, 2023 · 0 comments
Open

request help: API6 Java Plugin async support #264

ChuanDou2021 opened this issue Aug 29, 2023 · 0 comments

Comments

@ChuanDou2021
Copy link

ChuanDou2021 commented Aug 29, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant