In these cases, the cached page returns stale data.
在这些情况下,缓存过的页面将返回过时的数据。
Policy data can be replicated or cached without risk of using stale data.
策略数据可以被复制或缓存,而且没有使用过期数据的风险。
An important characteristic to note is that somewhat stale data is acceptable.
一个需要指出的重要特征是,稍微过期的数据是可以接受的。
This is a good debugging technique to make sure a problem isn't resulting from stale data in the browser cache.
这是一种好的调试技巧,可以确保问题不是由于浏览器缓存中陈旧的数据造成的。
This has the advantage of never having stale data in the cache, since the cache is the authoritative source for the data.
这样做的好处就是缓存中绝不会有过时数据,因为缓存是数据的权威来源。
Common strategies are to present the user with an opportunity to merge his changes or to restart the flow with non-stale data.
常用的策略是让用户有机会合并其变更或用未过期数据重启流。
This is especially helpful in cases where the network communication to such data sources is slow and mildly stale data is acceptable.
在到那些数据源的网络通信较慢,并且可以接受适度陈旧的数据的情况下,这一点很有帮助。
With this strategy, because you are not holding read locks on data, the chance of getting stale data exceptions when you execute the update operations increases.
通过此策略,由于您未对数据保持读取锁,因此在执行更新操作时遇到失效数据异常的机率会增加。
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.
另一方面,如果数据库是记录系统,那么您可以使用开放式锁定或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.
另一方面,如果数据库是记录系统,那么您可以使用开放式锁定或ObjectGrid的内置SCN支持来检测和处理缓存中的过时数据。
应用推荐