Monday, February 21, 2011

Question of accessing data in Cache object that is updating

Hi,

What happen if multiple clients try to access objects in cache that are undergoing update?

Can anybody give any information?

Thanks,

Ricky.

From stackoverflow
  • Hello,

    System.Web.Caching.Cache internally uses Monitor class for synchronization. So if there is undergoing updates, your reader threads will be blocked.

0 comments:

Post a Comment