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

Support load-balancing handler #286

Open
xfeep opened this issue May 10, 2023 · 0 comments
Open

Support load-balancing handler #286

xfeep opened this issue May 10, 2023 · 0 comments
Labels

Comments

@xfeep
Copy link
Member

xfeep commented May 10, 2023

A load-balancing handler can implement a customized load-balancing algorithm. e.g.

upstream backend {

    load_balancer_type java;
    load_balancer_name example.MyIpHashLoadBalanceHandler;
    load_balancer_property total 2;

    server backend1.example.com;
    server backend2.example.com;
    server backend3.example.com down;
    server backend4.example.com;
}
@xfeep xfeep added the feature label May 10, 2023
xfeep added a commit that referenced this issue May 14, 2023
xfeep added a commit that referenced this issue May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant