一级缓存通常支持单周期访问。
正如前面所介绍的,缓存通常由一组缓存项组成。
As introduced earlier, a cache is typically composed of a group of cache entries.
这是因为对象的泄漏数据结构和有效对象缓存通常不好区别。
This is because leaking data structures and valid caches of objects are often indistinguishable.
如何选择处理高速缓存通常是以您正在高速缓存的数据类型,以及那些数据如何使用为基础的。
How you choose to handle caching is often based on the type of data that you are caching and how that data is used.
高速缓存通常并不是简单地指定某一个servlet、JSP和command来加以缓存。
Caching is generally not as simple as specifying a particular servlet, JSP, or command to cache.
即便SSD写操作要快于传统的磁盘,但是磁盘写缓存通常提供良好的磁盘写性能,从而使这两种类型的磁盘可以实现相差无几的写性能。
Even though SSD writes are faster than traditional disk writes, disk write cache typically provides good disk write performance and levels the playing field between the two types.
第四行以超出锁的次数、用户线程或者缓存数来开始(通常所有的0会是这样)。
The fourth line starts with the number of times we have exceeded locks, user threads or buffers (all 0 and should generally be so).
您可以安全地删除在该文件夹下找到的所有文件,因为它们通常是出于性能原因生成并缓存的。
You can safely remove all files that are found under this folder because they are usually generated and cached for performance reasons.
使用这个函数通常可以减少缓存缺失和停顿,从而提高性能。
Using this function can generally result in better performance by minimizing cache misses and stalls.
命令历史记录不会在会话与会话之间持续;会话结束时,缓存就会被清除,这通常发生在运行QUIT 命令之后。
The command history does not persist from session to session; the cache is cleared when the session ends, which normally happens after you run the QUIT command.
通常,在应用程序中使用缓存有两个原因。
Generally, you would use caching in your application for two reasons.
服务定位器实现通常包括资源缓存,以此来避免对相同资源的重复查找。
Service locator implementations usually include a resource cache to avoid repeated lookups of the same resource.
通常,当缓存单独页面时,需要用清理器使之过期失效。
Normally, when you cache individual pages, you need to expire them with sweepers.
受限于内存容量,向缓存中加载大量数据通常也意味着它们很快会被清除出去,这会增加GC开销。
Loading large amounts of data into your cache also usually means that it will be evicted quickly due to your limited memory capacity, which increases GC overhead.
批处理通常不需要数据缓存,否则你会将内存耗尽并大量增加GC开销。
Batch processing usually doesn't need data caching, otherwise you may run out of memory and dramatically increase your GC overhead.
如果数据存储在真正的缓存中,则缓存数据通常具有可以配置的更短的生存期。
Cache data often has a shorter lifetime that could be configured if the data were stored in a real cache.
因此,使用缓存帮助数据库减负的系统通常需要通过复制来避免这些情况。
Thus, systems in which the cache buffers the database from excessive load typically require replication to avoid these scenarios.
用户通常使用这个缓存保存主页面、样式表、脚本文件和其他不会经常变化的文件。
You'll generally use this cache for the main Web page, stylesheets, script files, and other files you need that aren't changed very often.
通常,缓存和代理服务设计用于虚拟应用程序中。
The caching and proxy Shared services were designed to be used by virtual applications in general.
这可能会将缓存涌到磁盘,但这通常并不是我们所希望的,因为在维修期间缓存内容可能过时。
It is possible to flush the cache contents to disk, but this is not generally desired due to the fact that cache contents can become stale during the maintenance window.
缓存中的信息可用来分析用户行为,例如登录后通常进行什么操作。
The information in the cache can be used to analyze user behavior, such as typical actions performed after login.
这个预热的阶段通常被称为“预热方法的缓存 ”。
This warmup phase is effectively known as "warming up the method cache".
代理服务器通常被用作内容缓存,因特网连接,安全,以及企业内容过滤。
Proxy servers are commonly used for content caching, Internet connectivity, security, and enterprise content filtering.
这些指令通常覆盖默认缓存算法。
These directives typically override the default caching algorithms.
在基础设施中,通常由浏览器充当此类缓存。
Typically, browser caches act as this kind of cache in the infrastructure.
通常允许缓存以与程序写入变量时所不相同的次序把变量存入主存。
The cache is generally allowed to write variables back to main memory in a different order than they were written by the program.
这些线程通常都是轻量级的,用于执行缓存清理和对象清理之类的事务。
They are traditionally lightweight and used for executing tasks such as cache cleanup and object cleanup.
比如,可以缓存地图数据来减少响应时间,但通常并不适合将搜索查询结果或者实时交通信息进行缓存。
For instance, it makes sense to cache map data to reduce response time, but it's often impossible or impractical to cache results of search queries or real-time traffic information.
这些缓存失效场景通常分为两类
These cache invalidation scenarios generally fall into two categories
Last-Modified实体头部字段值通常用作一个缓存验证器。
The Last-Modified entity header field value is often used as a cache validator.
应用推荐