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

【XDS】Dubbo xds 分享-3 #282

Open
Skylark-hjyp opened this issue Jan 29, 2024 · 0 comments
Open

【XDS】Dubbo xds 分享-3 #282

Skylark-hjyp opened this issue Jan 29, 2024 · 0 comments

Comments

@Skylark-hjyp
Copy link

Dubbo-xds 功能实现 RFC

整体流程

之前是借用原有的Directory在Router层面做改动实现xds功能,这样做可以完成路由匹配、流量切分等功能,但限制了安全、超时、重试、故障注入等功能的实现。
image
新的方案会在更上层新定义了XdsClusterXdsClusterInvokerXdsRegistry等组件,以便更有限度实现复杂功能。
image
现有逻辑
image

初始化链路

image

调用链路

image

资源更新

image
LDS 更新:更新 LDS 资源 -> 更新 RDS 资源 -> 更新 CDS 资源(订阅或取消订阅);
RDS 更新:更新 RDS 资源 -> 更新 CDS 资源(订阅或取消订阅);
CDS 更新:更新 CDS 资源 -> 更新对应的 EDS 资源;
EDS 更新:更新 EDS 资源;

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