-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
help request: Based on the JAVA language, how do plug-ins make high availability #10995
Comments
No, while it's not possible to completely avoid traffic loss, you can take measures to minimize downtime and restore the system quickly to reduce the impact on users. By implementing high availability, automated recovery, and fault tolerance mechanisms, you can ensure that the system can recover quickly when issues arise and minimize the duration of service interruptions. These approaches can help you effectively manage and mitigate the impact when Java applications fail, minimizing traffic loss as much as possible. |
thanks, Will the plug-in extension plan for high availability in the future |
maybe you can deploy multi apisix for a cluster , and put a LB in front of apisix cluster |
At present, we have completed the production of business expansion based on Java plug-in. |
OK, I get you point. So do you want apisix can retry mechanism when communicate timeout ? |
Retry for the C end is prone to overall timeout, I think can be solved from the internal, support plug-in high availability it |
Looking at the communication architecture between apisix and plug-ins, it is difficult to find a suitable theory to solve this problem |
But can you solve this problem from the apisix side, when the service call plug-in times out, redirect to other nodes, complete the channel |
Description
If the plug-in is written in JAVA, then when there is a problem with the JAVA program, when the JVM goes down, apisix will lose traffic. May I ask, is there a solution for this
Environment
apisix version
):uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: