This is one of the first major pitfalls of transaction processing: ORM-based frameworks require a transaction in order to trigger the synchronization between the object cache and the database.
这是事务处理的主要陷阱之一:基于 ORM 的框架需要一个事务来触发对象缓存与数据库之间的同步。
Database information is mapped using a JCache implementation, cached in an ActiveSpace clustered cache and distributed to the application through an object relational mapping.
数据库信息使用JCache实现进行映射,缓存在ActiveSpace的集群缓存中,并通过对象关系映射提供给应用程序。
Otherwise, go to the database, fetch the requisite data, map it to an object, and add it to the cache.
否则,转至数据库、获取必需的数据、将其映射到对象中并把它添加到缓存中。
In this example, 30% of the data is located in the near-cache, 70% of the data resides in the object server cache, and the rest of the data would be retrieved from the database.
在这个示例中,30%的数据位于近缓存中,70%的数据位于对象服务器缓存中,而剩余的数据将从数据库中进行检索。
A database state object was not found in the extended stored procedure cache.
在扩展存储过程高速缓存中找不到数据库状态对象。
Cache as much as possible. Use memcached - memcached is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load.
尽量做缓存,可使用memcached . memcached是一款高性能的内存对象缓存系统,可用来加速动态Web应用程序,减轻数据库负载。
Cache as much as possible. Use memcached - memcached is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load.
尽量做缓存,可使用memcached . memcached是一款高性能的内存对象缓存系统,可用来加速动态Web应用程序,减轻数据库负载。
应用推荐