知识卡片
共享存储限制配方适配
本书的数据配方以服务拥有独立存储、在运行时传递属性来协作为前提。若现有组织大量依赖共享数据库模型,不能直接把整套配方当作小型接口改动;可以先从查询表示、隐藏内部数据模型和缓存等局部边界判断价值。采用建议须服从实际存储与责任边界。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 结语:按收益渐进采用配方 · 查看原书依据
The approach to data in this book is one that assumes your services have their own nonshared data storage and that service interaction is enabled through passing properties at runtime (e.g., Recipe 7.2), instead of multiple services accessing the same database tables. In these cases, the data recipes that can be the most valuable are those that cover how to represent query requests (Recipe 6.4) and responses (Recipe 6.5), as well as the recipes that focus on hiding data models (Recipe 6.1) and caching (Recipe 6.9) response results.
参考来源
- 位置:《RESTful Web API Patterns and Practices Cookbook》Chapter 8. Closing Remarks(来源项目book-sources,源文件:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/ch08.xhtml)
- 结论依据:原文直接给出相应职责、操作或比较;本卡保留其用途与适用边界,不将历史接口表述当作当前工具验证。
- 原始内容:The approach to data in this book is one that assumes your services have their own nonshared data storage and that service interaction is enabled through passing properties at runtime (e.g., Recipe 7.2), instead of multiple services accessing the same database tables. In these cases, the data recipes that can be the most valuable are those that cover how to represent query requests (Recipe 6.4) and responses (Recipe 6.5), as well as the recipes that focus on hiding data models (Recipe 6.1) and caching (Recipe 6.9) response results.