← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2275.as.6.f.3.c.1.b.2.a.2.b.2

复合API归属逻辑所有者

理解等级:高级

一个调用组合多个后端时,业务规则应放在拥有该规则的域内,网关只承担必要的验证和路由。跨域复合接口需要注意一致性、权限和底层依赖,避免复合接口再层叠复合接口,隐藏调用网络。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Services and API Management · 查看原书依据

      When managing APIs as products within the boundaries of a domain, special attention must be given to designing composite or aggregation services.12 Composite APIs, as seen in Figure 5-4, are APIs that often execute a series of REST API requests in a single call. These might be required, for example, when a consumer needs combined data from two systems: say, customers and orders. When building

    参考来源

    - 位置:《Data Management at Scale》第05章《Services and API Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch05.html) - 结论依据:原文对party that owns the business logic的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。 - 原始内容:When managing APIs as products within the boundaries of a domain, special attention must be given to designing composite or aggregation services.12 Composite APIs, as seen in Figure 5-4, are APIs that often execute a series of REST API requests in a single call. These might be required, for example, when a consumer needs combined data from two systems: say, customers and orders. When building