开发者

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

开发者 https://www.devze.com 2022-12-21 20:08 出处:网络
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 i

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

精彩评论

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

关注公众号