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

Supports routing priority of multi routes for one host/path #1839

Open
lianglli opened this issue Aug 4, 2023 · 0 comments
Open

Supports routing priority of multi routes for one host/path #1839

lianglli opened this issue Aug 4, 2023 · 0 comments
Assignees

Comments

@lianglli
Copy link
Member

lianglli commented Aug 4, 2023

基于服务权重的流量切分,其优先级低于基于请求header,cookie和query的高级路由,默认优先级从高到低依次为 Header&Header值&Header取模 --> Cookie&Cookie值&Cookie取模 --> Query&Query值&Query取模 --> 服务权重;

多个Header (含Header&Header值&Header取模) 高级路由规则之间的默认优先级按照高级路由的添加顺序从高到低排序,Cookie (Cookie&Cookie值&Cookie取模)和Query (Query&Query值&Query取模) 采用相同的优先级排序规则。

可以针对上述高级路由,动态调整路由优先级,支持动态无损生效,无需tengine reload。

@lianglli lianglli added this to the 3.0.1 milestone Aug 4, 2023
@lianglli lianglli self-assigned this Aug 4, 2023
@lianglli lianglli removed this from the 3.0.1 milestone Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant