← 返回卡片

原书出处

Software Architecture and Decision-Making

07 保持状态一致

核验版本的摘录快照 · 导入于 2026-11-14T08:32:00.346Z

Put operations that read and write data into the same service call when possible. For example, if we rewrite the code so that we can check for inventory availability, reduce it in the database and return the value as one operation. This practice removes the read-dependent write due to inventory.

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch07.xhtml

EPUB SHA-256:8c8802b415c29832cccbf90314dabab6c2ebdd70704f0cbc9393aed1513be1f5