Questions tagged [azure-caching]

Azure Caching suite of offerings providing distributed, in-memory caching solution for Microsoft Azure applications. It refers to Azure Redis Cache (Preview), Azure Managed Cache and Azure In-Role Cache.

There are two Distributed In-Memory Caching suites from Microsoft in Azure, namely "Azure Shared Cache" and "Azure Cache".

Azure Shared Cache is a distributed, in-memory, multi-tenant, shared caching solution. It is now deprecated in favor of proper Azure Caching, and will be retired on September 1, 2014.

Azure Cache is a distributed, in-memory, single-tenant, role-based caching solution. Azure Caching is feature-rich such as support for Regions, Tags, High Availability; it also has a wrapper to migrate applications that use Memcached.

Offerings

Azure Cache is available in three offerings

Azure Redis Cache (Preview)

A new cache offering from Microsoft that provides a fully managed Redis caching service. As this service is currently in preview it does not offer an SLA, nor does it come with any attached cost.

Azure Managed Cache Service

Formerly known as Dedicated application has to attach/add 'Cache Worker Roles' (special purpose Azure Worker Roles for Caching) to use Caching. These roles are dedicated solely for 'Caching' purpose, hence the name 'Dedicated'.

In-Role Cache for Azure Cache

Formerly known as Collocated application could use unused memory of their existing roles (Web/Worker) for Caching purposes. In this case, customer can configure how much of their role memory is reserved for Azure Cache. By default this is set to 30%.

217 questions
3
votes
4 answers

How to suppress azure cache client warnings from the WAD logs

We have 2 roles which use a cache role to share data. When we deploy we get many many of the following entries in the logs: INFORMATION: Updated partition table to (1-901) generation: 635036190744461419:0 with transfer (1-901)…
Sam Holder
  • 32,535
  • 13
  • 101
  • 181
3
votes
3 answers

Adding Windows Azure Caching crashes Visual Studio 2012 with datacachefactory argument null exception

I've added the Windows Azure Cache 1.8.0 nuget package to my solution, but it ends up crashing Visual studio when I load the project. I've found that I can "prevent" the crashing by removing the dlls from the bin folder, and then again when visual…
3
votes
1 answer

How do I know if I have configured Azure Caching correctly for Session State

I can inspect the Session object which says its Custom but I cannot see the Cache size increasing on Azure (management portal). How can I definitely found out if my session info is being stored. If I miss spell the url for caching it gives me an…
chugh97
  • 9,602
  • 25
  • 89
  • 136
3
votes
2 answers

windows azure: shared cache - delete all?

I'm using Windows Azure Shared Caching. I encountered a few problems: How to know what keys are present in the cache? Is there something like a GetAllKeys() method? Is it possible to call clearAll()? Why can't I use regions? Thanks.
socksocket
  • 4,271
  • 11
  • 45
  • 70
3
votes
1 answer

Azure Caching System.Runtime.InteropServices.SEHException

I followed the Getting Started with Windows Azure Caching and I keep getting System.Runtime.InteropServices.SEHException: External component has thrown an exception on the line: var myCache = new DataCache("default"); I've got the WindowsAzure1…
Jeff Borden
  • 1,369
  • 1
  • 19
  • 30
3
votes
2 answers

Why is Windows Azure Shared Caching so slow?

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),…
Chris Lomax
  • 137
  • 2
  • 12
2
votes
1 answer

'vary' in APIM caching policies

I am learning Apim policies. In caching policies there is many elements of
2
votes
3 answers

Azure Appfabric Caching + WCF Webservices

I have a series of WCF Web services hosted in Windows Azure and I am trying to implement appfabric caching. I am struggling with stateless nature of web services and the need to avoid the expensive initialisation of datacachefactory and datacache…
David Steele
  • 3,433
  • 21
  • 23
2
votes
1 answer

Environment.SetEnvironmentVariable in Azure Function

How bad it is to use Environment.SetEnvironmentVariable in Azure Functions? Based on my initial observation it seems it is working as expected (ie. storing the value and returning when I asked using Environment.GetEnvironmentVariable call) but not…
2
votes
3 answers

How to use RedisTimeSeries module in Azure Cache for Redis?

I would like to use RedisTimeSeries module (latest feature) in Redis from .net core client in Azure. I created Azure Cache for Redis (from RedisLabs) (https://azure.microsoft.com/en-us/services/cache/) standard resource in the Azure…
Raghu
  • 2,859
  • 4
  • 33
  • 65
2
votes
1 answer

Why azure cdn returns me the old version of file with custom domain

I have a file uploaded to my azure storage, and now I have replaced it with another version of this file. The old file size was 22 mb. now the new version is about 10 mb. After replace when I try to download the file with my custom domain it still…
Karen Avdalyan
  • 382
  • 1
  • 20
2
votes
1 answer

Azure CDN caching with query string

i am curious about an issue that i am facing at the moment with Azure CDN and i don't have an answer for it. So, i have a CDN profile and endpoint configured to cache some content stored in a storage container. In the cache behavior, i am using…
Hugo Barona
  • 1,303
  • 9
  • 21
2
votes
2 answers

Azure Redis Cache Get and Set Complex Types

I'm creating a POC to see if we can use the azure redis cache for our next project. I had a look at this MSDN documentation http://azure.microsoft.com/en-us/documentation/articles/cache-dotnet-how-to-use-azure-redis-cache/#connect-to-cache. And have…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
2
votes
1 answer

Windows Azure In-Role Caching not working after SDK 2.5 Upgrade

I updated my Azure web role project from SDK v1.8 to SDK v2.5 and the In-Role caching does not seem to work any more. I am seeing the following error ErrorCode ERRCA0017 :SubStatus ES0006:There is a temporary failure. Please retry later. (One or…
2
votes
0 answers

Best practice azure cache

We are using the Azure Managed Cache service. I was reading this article about how to implement the cache. The example they use is DataCacheFactory cacheFactory = new DataCacheFactory(); DataCache cache = cacheFactory.GetDefaultCache(); I am…
Peuge
  • 1,461
  • 5
  • 20
  • 37
1 2
3
14 15