知识卡片
租户路由有两层
混用共享和专用服务时,请求入口需要按租户上下文选择目标,服务间调用也可能再次选择租户专用实例。只在入口识别租户并不保证下游路由正确;上下文必须随调用传播,路由机制还要能表达实际部署配置。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
- · 租户路由有两层
原书出处 · 1 处
- Multi-Tenant Architecture Fundamentals · 查看原书依据
correctly route tenant requests to the appropriate services. This happens at two levels within this example. Starting at the top, you’ll see where our application plane is receiving requests from three separate tenants. It’s here that I’ve introduced a conceptual placeholder for a router. This router must accept requests from all tenants and use the injected tenant context (that we
参考来源
- 位置:《Building Multi-Tenant SaaS Architectures》第02章《Multi-Tenant Architecture Fundamentals》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch02.html)
- 结论依据:原文具体说明混用共享和专用服务时,请求入口需要按租户上下文选择目标,服务间调用也可能再次选择租户专用实例;本卡据此归纳机制及适用边界。
- 原始内容:correctly route tenant requests to the appropriate services. This happens at two levels within this example. Starting at the top, you’ll see where our application plane is receiving requests from three separate tenants. It’s here that I’ve introduced a conceptual placeholder for a router. This router must accept requests from all tenants and use the injected tenant context (that we