Skip to content
检测中

Architecture Discussion

日期:2026-06-17 · 场景:Architecture Discussion

📖 Vocabulary

WordMeaningExample
invalidate 使失效(让缓存或旧数据作废)Invalidate the cache after updating the record.
更新记录后让缓存失效。
schema 模式(数据库结构定义)The schema migration added a new column.
这次模式迁移加了一列。
deadlock 死锁(互相等待资源无法继续)A deadlock occurred between two concurrent transactions.
两个并发事务之间发生了死锁。
provision 配备/开通(分配资源或基础设施)Provision the new servers before the traffic spike.
在流量高峰前先开通新服务器。
extension 扩展(附加功能模块)Add it as an extension so users can opt in.
把它做成扩展,让用户可选启用。

🎧 Audio

💬 Dialogue

A: We are debating between cache aside and write through. A:我们在纠结用 cache aside 还是 write through。

B: With write through, we invalidate the stale key immediately. B:用 write through 的话,我们能立刻让过期 key 失效。

A: But the schema change needs a migration plan. A:但这次 schema 变更需要迁移方案。

B: Agreed. Also watch for deadlock on concurrent writes. B:同意。还要注意并发写入时的死锁。

A: Should we provision more capacity first? A:要不要先多备点容量?

B: Yes, and build it as an extension point for future shards. B:要,而且把它做成扩展点,方便以后分片。

Released under the ISC License.