开发者

Does NCache's write-behind functionality do coalescing/combining?

I.e. if the application makes mult开发者_开发问答iple writes to the same object, will NCache make only one update to the datasource? (using only the latest values?)


You can always use item version to identify if you need to update the item or not, using caching as the first level of identification, one can verify that does the item needs to be updated or not

Cache Item Version

Edit: In short; no it will not, it's your responsibility


No, it does not combine operations. If you do multiple updates of same object, ncache will make same number of updates to the datasource. Thats what I have experienced.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜