Skip to content

【XDS】Dubbo xds 分享-3 #282

@Fancy-hjyp

Description

@Fancy-hjyp

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 资源;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions