Spring框架从version3.1开始支持cache,并在version4.1版本中对cache功能进行了增强. spring cache 的关键原理就是 spring AOP,通过 spring AOP,其实现了在方法调用前.调用后获取方法的入参和返回值,进而实现了缓存的逻辑.关于Spring Cache原理的详细介绍,参见http://blog.csdn.net/guugle2010/article/details/40115675 1.采用Spring的默认开箱即用的cache(Out
Cache vs. Buffer A buffer is used traditionally as an intermediate temporary store for data between a fast and slow entity. As one party world have to wait for the other affecting performance, the buffer alleviates this by allowing entire blocks of d