Azure Dedicated Role Cache does not fire notification to client when call DataCache.Clear method
hi,
i'm using azure dedicated role cache , enabled local cache , notification.
<localcache isenabled="true" sync="notificationbased" objectcount="20000" ttlvalue="3600" />
<clientnotification pollinterval="1" maxqueuelength="10000" />
but when call datacache.clear method in 1 client, notification not send clients, client's local cached content still been used.
is bug of azure sdk 2.5?
i assume have correctly configured , enabled cache notifications, instead of using datacache's clear method - have tried clearing regions in cache because not sure if datacache.clear triggers cache notification or not.
so code should this
foreach (string regionname in cache.getsystemregions()) { cache.clearregion(regionname) }
you can refer link explains about triggering cache notifications https://msdn.microsoft.com/en-us/library/ee808091(v=azure.10).aspx
bhushan | blog | linkedin | twitter
Microsoft Azure > Azure Cache
Comments
Post a Comment