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

change: use radixtree as default router. #414

Closed
membphis opened this issue Aug 19, 2019 · 3 comments
Closed

change: use radixtree as default router. #414

membphis opened this issue Aug 19, 2019 · 3 comments
Assignees

Comments

@membphis
Copy link
Member

I think we can use new router radixtree to replace r3 router, there are two reasons for this:

  1. The compilation of r3 has higher requirements on the environment, and it is easy to install unsuccessfully.
  2. The advantage of radixtree is that it supports full matching or deepest prefix matching, making it easier to get started, this is also more similar to routing within k8s.

准备把默认路由引擎由 r3 替换成 radixtree ,主要出于两点考虑:

  1. r3 的编译对环境要求比较高,很多同学安装开发环境在这里卡壳。
  2. radixtree 相比 r3 的优势是支持完整匹配和最深前缀匹配,从入门难度来说更简单,与 k8s 体系下路由策略更吻合。
@membphis membphis self-assigned this Aug 19, 2019
@membphis membphis added this to the 0.7 milestone Aug 19, 2019
@moonming
Copy link
Member

please add more examples

@membphis
Copy link
Member Author

@membphis
Copy link
Member Author

fixed #419

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

2 participants