blocking cache和non-blocking cache
Posted lfri
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了blocking cache和non-blocking cache相关的知识,希望对你有一定的参考价值。
- a Blocking Cache will not accept any more request until the miss is taken care of.
- a Non-blocking cache will accept further requests and try to service those requests. Now the additional requests may also hit or miss. A "hit-under-X-misses" cache will allow X number of misses to be outstanding in the cache before blocking. For example, a"hit-under-2-misses" cache will keep running if there are at most 2 misses that still not complete. If additional requests are hit, the cache will keep working. However, if a request is a third miss, the cache will block (stop receiving requests).
vis:https://www.quora.com/What-is-meant-by-non-blocking-cache-and-multi-banked-cache
以上是关于blocking cache和non-blocking cache的主要内容,如果未能解决你的问题,请参考以下文章
阻塞(Blocking)非阻塞(Non-Blocking)与同步(Synchronous)异步(Asynchronous)
Java NIO (10) Non-blocking Server
{python之IO多路复用} IO模型介绍 阻塞IO(blocking IO) 非阻塞IO(non-blocking IO) 多路复用IO(IO multiplexing) 异步IO