知识卡片
读API可路由到副本
域可把允许最终一致的查询路由到读存储,把命令和需强一致的读取送往权威操作系统。这样复用对外接口同时降低源负载,但必须向消费者明确一致性约定;接口地址相同不表示所有操作具有相同新鲜度。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Services and API Management · 查看原书依据
APIs don’t stand alone; they can be used within a data product architecture as well. For example, you can use them to provide real-time access to read-only data, implementing the CQRS (see “What Is CQRS?”) pattern for real-time communication. You could even separate strongly consistent data reads from eventually consistent data reads within the same boundary. Let me explain how this works. The API gateway
参考来源
- 位置:《Data Management at Scale》第05章《Services and API Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch05.html)
- 结论依据:原文对eventually consistent read requests的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。
- 原始内容:APIs don’t stand alone; they can be used within a data product architecture as well. For example, you can use them to provide real-time access to read-only data, implementing the CQRS (see “What Is CQRS?”) pattern for real-time communication. You could even separate strongly consistent data reads from eventually consistent data reads within the same boundary. Let me explain how this works. The API gateway