另一方面,如果数据库是记录系统,那么您可以使用开放式锁定或 ObjectGrid 的内置 SCN 支持来检测和处理缓存中的过时数据。
On the other hand, if the database is the system of record, then you could use either optimistic locking or ObjectGrid’s built-in SCN support to detect and handle stale data in the cache.
此技术通常称为开放式并发(optimistic concurrency)或开放式脱机锁定(optimistic offline locking)(“企业应用程序体系结构的模式”一文中对此进行了描述,这篇文章的作者是Martin Fowler)。
This technique is often referred to as optimistic concurrency, or optimistic offline locking (described in Patterns of Enterprise Application Architecture, by Martin Fowler).
应用推荐