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
0
votes
1 answer

Caching large objects - LocalCache performance

I have a few large objects which need to be stored and fetched from cache. These objects are around 1 - 2 mb in size. When running with localCache enabled, retrieval takes no more than a few milliseconds, but without it, it takes around 3 seconds,…
Dave New
  • 38,496
  • 59
  • 215
  • 394
0
votes
2 answers

Multiple DataCacheClients - Strange configuration behaviour

I am using Azure's In-Role caching for our web role cluster. I need to use separate dataCacheClients so to have different and explicitly set transport property configurations (maxBufferPoolSize and maxBufferSize). The problem is that each…
Dave New
  • 38,496
  • 59
  • 215
  • 394
0
votes
2 answers

How do I know if my project is using Azure Shared Cache?

Azure Shared Caching is to be deprecated 1st Sept 2014. I have been asked to evaluate if a project that I did not build utilizes the Azure Shared Cache. I know the project does use a form of Azure Caching but I am struggling to identify which…
Gavin Osborn
  • 2,593
  • 3
  • 27
  • 42
0
votes
1 answer

How expensive are Azure Caching Regions?

http://msdn.microsoft.com/en-us/library/azure/hh914155.aspx as reference. Prior to switching to azure cache, our project could delete from the cache by prefix, ie with keys user_1_config user_1_items user_2_config we could delete all "user_1" items…
Dave
  • 1,645
  • 2
  • 23
  • 39
0
votes
0 answers

Storage Strategy on Azure In-Role Cache

We have around 100 GB of data from different entities. There are some dimension, some fact and some transaction entities. Transaction items are in the range of 50 millions of rows. All this data is stored in blob storage with one csv file for each…
Srinivas
  • 2,479
  • 8
  • 47
  • 69
0
votes
1 answer

Getting lots of time outs and errors using Azure Managed Cache

I have an asp.net web application hosted using Azure Websites that uses Azure Managed Cache to retrieve and store cached objects. The application was working fine until recently when we started experiencing timeouts and…
Jonas Stawski
  • 6,682
  • 6
  • 61
  • 106
0
votes
1 answer

Azure Cache ErrorCode:SubStatus

Im trying to access MS Azure Cache service and pretty often I get this error: Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus:There is a temporary failure. Please retry later. (One or more specified…
Alex
  • 1
  • 2
0
votes
2 answers

Understanding colocated caching with localCache

Below is the dataCacheClient entry in web.config:
0
votes
1 answer

node.js azure cache latency

I am working on a node.js express application which uses azure cache. I have deployed the service to azure and I notice a latency of 50ms or so for get and put rquests. The methods I am using are: var time1, time2; var start = Date.now(); …
RagHaven
  • 4,156
  • 21
  • 72
  • 113
0
votes
1 answer

What Azure regions does Azure Managed Cache support?

I am running into a weird error: I have a cache in "West US". I was able to create it successfully. But it does not let me configure it. I got the following error: The region you chose isn't supported
pphanireddy
  • 1,109
  • 2
  • 12
  • 17
0
votes
2 answers

Can I make my ASP.Net WebAPI controller cache its results?

I have standard WebAPI methods like this. The methods use Entity Framework 6.1 to retrieve data from a SQL Server 2012 database: [ResponseType(typeof(Content))] public async Task Get(int id) { Content content =…
user3568783
0
votes
2 answers

Using Azure cache for node.js website

I am developing a node.js website which utilizes the Table storage. I am now trying to utilize the azure cache service with my website, but I am not able to find any examples of connecting to the cache via node.js and accessing it. I found this…
RagHaven
  • 4,156
  • 21
  • 72
  • 113
0
votes
1 answer

Azure Cache Connection Exception

I'm using the Azure Dedicated cache to store my session state in and I've recently been getting connection failures which then take my application down. The only way to fix it is to restart the app. Does anyone know of a way to catch this type of…
TWilly
  • 4,863
  • 3
  • 43
  • 73
0
votes
2 answers

how do I create a new azure management cache?

Now that Microsoft has completely dropped the GUI support on the management portal, they are requiring me to install and setup and use windows Azure PowerShell to create a new managed cache service. As someone with not a ton of PowerShell…
DkDev
  • 547
  • 5
  • 14
0
votes
1 answer

Dynamic Creating Named DataCache programmatically

With new DataCache("myCacheName"); I can successfully access existing named cached in my managed AzureCacheService. Using a name which was not created in the management portal raises an DataCacheException telling me that the cache doesnt…
Boas Enkler
  • 12,264
  • 16
  • 69
  • 143