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

How do I configure Azure Cache Service in code?

How do I configure the Azure Caching Service in code? Note I'm talking specifically about the new Caching Service, currently in preview, that uses v2+ of the caching libraries. I am not talking about the older Azure Shared Caching service, which is…
Brian Reischl
  • 7,216
  • 2
  • 35
  • 46
0
votes
1 answer

DataCache constructor not accessible on staging server; works fine locally

I am using Azure's Cache Service preview, following their tutorial. Things work great locally using IIS Express. However, when I deploy to the staging server, I receive the following error: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException:…
Jon
  • 4,925
  • 3
  • 28
  • 38
0
votes
1 answer

Missing cache role behavior of Windows Azure Caching 2.1 in compute emulator

I work on a hosted service which has Windows Azure Cache deployed on instances of the web role. The cache is enabled on production but in the compute emulator we disable it since we often experience slowdowns and exceptions with the cache emulator.…
edymtt
  • 1,778
  • 1
  • 21
  • 37
0
votes
2 answers

Exception when calling CacheDiagnostics.ConfigureDiagnostics from a worker role with Caching 2.1

I've installed Windows Azure Caching 2.1.0.0 from Nuget and I configured the collection of the client library diagnostics on a worker role using Azure SDK 2.1 following the instructions in this SO answer. Unfortunately, when I start the application…
edymtt
  • 1,778
  • 1
  • 21
  • 37
0
votes
1 answer

Able to use CreateRegion in windows azure shared caching

I am using windows azure caching perview and i am using the windows azure shared caching in it. With different cache service and not In-Role cache. Though the following link says we cannot use the Regions in shared…
Rusty
  • 1,303
  • 2
  • 14
  • 28
0
votes
2 answers

Adding cache worker role causes build error

I have an Azure cloud service project to which I am adding a cache worker role. While local build goes through fine, I get the following error on my server builds : CloudServices38 : The entrypoint dll is not defined for worker role…
Aadith Ramia
  • 10,005
  • 19
  • 67
  • 86
0
votes
1 answer

Implementing Window Azure Cloud Services Web Role With Shared Cache Dedicated Roles?

We(our company) is hosting a asp.net C# Cloud Services with a Web Role for a Reporting WebSites. Unfortunately, usage of the reporting Website is growth that original is only hosting with Medium Size VM and find out its having a memory leak that…
Worgon
  • 1,557
  • 5
  • 22
  • 27
0
votes
1 answer

Where do I install NuGet Package

My solution consist of 3 projects: A Core, Library and AzureWorkerRole. I want to know in which project should I run "PM> Install-Package Microsoft.WindowsAzure.Caching"... technically the cache will be co-located with "AzureWorkerRole", but the…
Leonardo
  • 10,737
  • 10
  • 62
  • 155
0
votes
2 answers

Azure distributed cache for IaaS VMs

Is it possible to use Azure shared cache service from load-balanced IaaS VMs? Does it exists at all? I can't seem to find caching service in management portal.
Eduard Truuvaart
  • 429
  • 1
  • 4
  • 8
0
votes
2 answers

Azure WebSites and Distributed caching

What is the right way to implement azure websites (not webroles) that use distributed caching? Does Azure have anything built in or a 3-rd party has to be involved? Edit: I have been struggling with suggested Windows Azure Caching. The server kept…
Sean Feldman
  • 23,443
  • 7
  • 55
  • 80
0
votes
1 answer

Will multiple instances of an Azure Role interfere when reading/writing to Azure Caching?

I've seen examples of how to use optimistic and pessimistic models with Azure Caching (http://msdn.microsoft.com/en-us/library/windowsazure/hh914145), but I'm under the impression that these examples apply to managing Azure Caching concurrency…
0
votes
2 answers

Runtime error only when running in Compute Emulator

I have a runtime error which is occurring only when I run my web application in the Compute Emulator: Could not load file or assembly 'Microsoft.VisualStudio.Profiler' or one of its dependencies. An attempt was made to load a program with an …
Dave New
  • 38,496
  • 59
  • 215
  • 394
0
votes
1 answer

DataCacheException when publishing package to cloud service

When deploying my package to a cloud service in the Azure Portal, I have found the following problem: All the instances are waiting for the role to start, with the following exception occurring: Unhandled Exception: …
Dave New
  • 38,496
  • 59
  • 215
  • 394
0
votes
1 answer

Asp.net azure co located cache session state settings?

When using azure co-located cache for sessions do I need to specify high availability for the cache to allow all machines to have access to the "same" sessions. So if I have high availability disabled does the session work even if multiple servers…
jmw
  • 2,864
  • 5
  • 27
  • 32
0
votes
1 answer

Azure caching error?

I have an azure web role deployed and my error logs tell me that I am getting the error : ErrorCode:SubStatus:The connection was terminated, possibly due to server or network problems or serialized Object size is greater than MaxBufferSize on…
Ilyas
  • 741
  • 7
  • 18