博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
教你50招提升ASP.NET性能(一):缓存是最后的手段
阅读量:6970 次
发布时间:2019-06-27

本文共 504 字,大约阅读时间需要 1 分钟。

(1)Caching is a last resort

招数1:

缓存是最后的手段

 

Projects that use multiple levels of cache often demonstrate a misunderstanding of why caching is required in the first place.

项目中使用多重缓存经常会表现会产生误会,为什么缓存是第一步必须的。

 

Caching is not synonymous with performance. Your code should already be efficient. Caching should only be used as a last resort, after you’ve made all possible (and sensible) code optimizations.

缓存不是性能的同义词。你的代码应该已经很高效。缓存仅仅用于你尝试过所有可能的(你能想到的)代码优化后的最后手段。

转载于:https://www.cnblogs.com/JavCof/p/3166798.html

你可能感兴趣的文章
Ubuntu apt-get出现unable to locate package解决方案
查看>>
mvn jetty:run PermGen溢出问题
查看>>
回答自己的提问!
查看>>
latex01-LaTeX环境的安装与配置
查看>>
成本维护不允许超过设定比例
查看>>
Android调用相机并将照片存储到sd卡上
查看>>
GridView 常用技巧
查看>>
[2017BUAA软工]个人阅读作业+总结
查看>>
Python--day65--模板语言之变量相关语法
查看>>
the simplest usage of the menu(Android Development)
查看>>
为什么处理排序的数组要比非排序的快
查看>>
游标的简单理解
查看>>
MySQL创建表的语句
查看>>
POJ-3260 The Fewest Coins
查看>>
【OpenStack】源码级深入了解删除虚拟机操作
查看>>
【转】Multithreaded Python Tutorial with the “Threadworms” Demo
查看>>
在vue项目中,将juery设置为全局变量
查看>>
广工校赛决赛之简单的数论题
查看>>
SpringBoot集成Mybatis
查看>>
实操记录
查看>>