针对并发缓存访问,有三种实现模式。
For cache access concurrency, there are 3 implementation patterns.
您可能还能够使用二级缓存等方法同时提高远缓存访问率和检索率。
You might also be able to use approaches like a two-level cache to improve both the remote cache hit rate and the retrieval rate.
而且,一旦找到缓存的主机实例,随后的查找都可以从缓存中获取,这种缓存访问受到同步块的保护。
Also, each Home instance is cached once found, so that subsequent lookups will obtain it from the cache, and this cache access is protected with a synchronized block.
不过,更重要的是该函数的缓存访问量只有原来的三分之一,并且代码更加简洁,更加易于维护。
Far more importantly, however, the function does only one-third as many buffer accesses, and the code is much clearer and more maintainable.
使用WebSphereeXtremeScale时,带配置文件缓存访问的登录只需要20ms,速度提高了35倍。
With WebSphere eXtreme Scale, logon took 20 ms with profile cache access, which is 35 times faster.
如果你的数据读很多或者很少有并发缓存访问和更新,那么可以使用“nonstrict - read - write”策略。
Use the "nonstrict-read-write" strategy if your data is read-mostly or concurrent cache access and update is rare.
在默认情况下,以用户级安全性创建类缓存,所以只有创建这个缓存的用户才能访问它。
By default, class caches are created with user-level security, so only the user that created the cache can access it.
另外还请注意,NFS在每个客户端系统中维护缓存,其中包含最近访问的文件和目录的属性。
Note also that NFS maintains caches on each client system that contain attributes of the most recently accessed files and directories.
使用受保护高级高速缓存类型,这样属于同一组的用户就能够访问相同的缓存条目。
Use the Secured advanced cache type so users that belong to the same groups will access the same cached items.
离线时,它只能访问缓存清单中的离线资源。
When offline, it can only access offline resources in the cache manifest.
集群中的服务器可以通过使用其JNDI名称来访问缓存实例。
Servers in a cluster access cache instances by using its JNDI name.
云计算是个分布式的部署模型,因此缓存和数据访问的战略意义将达到前所未有的高度。
Cloud computing is a distributed deployment model, and for that reason, caching and data accessibility are of far greater strategic importance than before.
URL是用于访问此类缓存基础结构中的特定生成视图的唯一的键。
The URL is the only key used to access a specific generated view in such a cache infrastructure.
使用个性化高级高速缓存类型,这样拥有相同个性化配置文件的用户将访问相同的缓存条目。
Use the Personalized advanced cache type so users who share the same personalization profile will access the same cached items.
支持数据缓存以减少访问数量,从而处理大量的数据请求。
Enable data caching to reduce the number of accesses in order to handle large volumes of data requests.
它位于应用程序和网络层之间,可以通过一组API简化对资源提供方缓存仓库的访问。
It sits between the application and the network layers and facilitates access to its cached repository on the resource provider through a set of APIs.
而对原始设备的访问则没有缓存,导致物理设备上的直接读写操作。
An access to a raw device avoids the cache, resulting in direct read and write operations on the physical device.
调用本地存储、缓存和离线访问相对来说很简单。
Implementing local storage, caching and offline access are relatively easy.
另一个新的JPA 2.0运行时更新提供了对JPA提供商的二级缓存的访问,如果缓存可用的话。
Another new runtime update for JPA 2.0 provides access to a JPA provider's Level2 cache, if a cache is available.
JVM自身拥有内部锁,用于序列化对关键JVM资源(如线程列表和全局锁缓存)的访问。
The JVM itself has internal locks used to serialize access to critical JVM resources such as the thread list and the global lock cache.
缓存中对象的生命周期由跨越一组数据访问的缓存中的数据一致性决定。
The lifetime of objects in the cache is determined by the consistency of the data in the cache across a set of accesses to the data.
MemcachePHP扩展将为访问缓存提供一个简单的应用程序接口 (API)。
The Memcache PHP extension provides a simple application program interface (API) to access the cache.
Catalog控制器将始终首先访问缓存代理。
The catalog controller always accesses the cache proxy first.
一级缓存通常支持单周期访问。
二级缓存支持两周期访问。
提示:通常情况下,Internet临时文件夹占用了大量的空间,因为浏览器缓存您访问过每个网页以便于以后你更快的访问。
Tip: Typically, temporary Internet files take the most amount of space because the browser caches each page you visit for faster access later.
如果将某个门户页面的忽略缓存中的访问控制设置为False,将不能对完全呈现的页面进行缓存。
If ignore access control in caches is set to false for a portal page, a completely rendered page will not be cacheable at all.
如上所述,Distributed map公共接口使得应用程序可以直接访问缓存实例。
As mentioned above, the DistributedMap public interface gives the application direct access to cache instances.
YSlow会显示首次访问(没有缓存)时的页面大小和后续页面访问(可以使用缓存)时的页面大小。
YSlow shows the size of the page for a first-time visitor (with nothing cached) and for subsequent page visits (when caching can be used).
YSlow会显示首次访问(没有缓存)时的页面大小和后续页面访问(可以使用缓存)时的页面大小。
YSlow shows the size of the page for a first-time visitor (with nothing cached) and for subsequent page visits (when caching can be used).
应用推荐