知识卡片
推理与数据访问分离
将模型计算与网络或数据库访问适当拆分,可以独立扩容、测试和发布,也方便并行运行多个模型版本。无状态有助于扩展,但不自动保证操作幂等;仍需考虑随机性和外部副作用。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Integration · 查看原书依据
Try separating the ML and IO components of the API when possible.
参考来源
- 位置:《Machine Learning System Design》第13章《Integration》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Machine Learning System Design/_epub-src/OEBPS/Text/chapter-13.xhtml)
- 结论依据:原文定义或案例支持所述系统设计;必要条件在正文说明。
- 原始内容:Try separating the ML and IO components of the API when possible.