使用datacache对象可以提高性能? [英] using datacache object improves performance ?

查看:80
本文介绍了使用datacache对象可以提高性能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用数据缓存对象可以提高性能吗?
如何避免数据一致性.
而不是锁



(我在iis中听,我们必须做一些正确的事情)如果您听不懂,只需跳过这一行

using datacache object improves performance ?
how it avoid the dataconcurancy.
instead of lock



(i listen in iis we have to do start something is true)if u unable to understand just skip this line

推荐答案

jameschowdary写道:
jameschowdary wrote:

使用数据缓存对象可以提高性能?

using datacache object improves performance ?



[



This[^] covers it ( google is a great thing ).

jameschowdary写道:
jameschowdary wrote:

如何避免数据并发.



很好,缓存数据避免了并发操作的可能性,但这没有帮助,因为从数据库缓存数据意味着如果数据发生更改,则缓存已过期.它所做的只是减少数据库操作的成本,而代价恰恰是您可能会显示过时的数据.



Well, caching data avoids the possibility of concurrent actions, but this is not helpful, because, caching data from your DB means that your cache goes out of date if the data changes. All it does do, is decrease the cost of database operations, the penalty is precisely that you could be showing data that is out of date.

jameschowdary写道:
jameschowdary wrote:

(我在iis中听,我们必须做些正确的事),如果您听不懂,只是跳过这一行

(i listen in iis we have to do start something is true)if u unable to understand just skip this line



我很高兴知道这意味着什么.您可以编辑您的帖子以进行澄清吗?还是后半部分意味着这意味着一个谜?



I am intrigued to know what this means. Could you edit your post to clarify ? Or does the second half mean that this is meant to be a riddle ?


这篇关于使用datacache对象可以提高性能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆