您的位置:首页 > 编程语言 > ASP

教你50招提升ASP.NET性能(十七):不要认为问题只会从业务层产生

2013-07-26 14:29 330 查看
(28)Don’t assume that problems can only arise from business logic

招数28:

不要认为问题只会从业务层产生

When beginning to diagnose performance problems, we often assume the problem is in our business logic. Don’t forget that the areas of our code that provide infrastructure can cause problems as well.
当开始诊断性能问题时,我们一般认为问题出在我们的业务逻辑上。不要忘记为我们提供基础代码的区域同样可能导致问题。

Areas such as HttpHandlers, HtmlHelpers, mapping, logging, or IoC frameworks are increasingly at the root of performance problems. While business logic still causes its share of problems, infrastructure code is quickly gaining in the performance problem race.
比如HttpHandlers, HtmlHelpers, mapping, looging, 或IoC框架区域正在越来越多的成为根本的性能问题。而业务逻辑会导致它和基础代码都存在问题,基础代码性能问题会更突出。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐