这个计算考虑了缓冲池高速缓存的所有页(索引和数据)。
This calculation takes into account all of the pages (index and data) that are cached by the buffer pool.
例如,如果您正在编写一个Web服务器,而且所有的高速缓存的页都存储在hashmap中,那么每个请求都将需要获得并占用那个map上的锁,这就将成为一个瓶颈。
For example, if you are writing a Web server, and all your cached pages are stored in a HashMap, every request will want to acquire and hold the lock on that map, and it will become a bottleneck.
组件高速缓存提供了动态地创建web页面的一部分的能力,同时允许从高速缓存中获取其他的组件(在同一页面上)。
Component caching provides the ability to dynamically create part of a Web page while allowing other components (on the same page) to be fetched from the cache.
应用推荐