We are currently in the process of migrating our servers to Windows Azure and we want to take advantage of Windows Azure Shared Caching.
We have written a provider for the caching, so we can switch it on and off (over to runtime cache if needed), but we have found that the cache is around 1000 times slower than runtime cache.
For example, returning a Website object from Runtime Cache is Total Time 0.0053 where Azure Shared Caching is Total Time 73.6638, in some cases Total Time 439.3367
Don't get me wrong, I expect there to be a small network lag but this is stupid? It's completely unusable?
The object is tiny, the total size of the cache is 0.8mb so the Website object is small.
Does anyone have any suggestions? Should I be using the Caching preview method I have seen where it is semi dedicated? Surely they wouldn't have this shared one if it was unusable like this?
I have seen about local caching working on top of the network caching but there is still going to be latency when the cache rebuilds locally?
Can anyone offer any advice?
The following conditions have been met
We are working with the latest version of the Azure DLLs
We are testing with a website that is in the same data centre as the Azure Cache
SQL Azure is in the same data centre as the instance, so data retrieval is not an issue
I am the only person accessing this website at current so I don't believe concurrency is an issue