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
10
votes
7 answers

Laravel + predis + Redis cluster - MOVED / no connection to 127.0.0.1:6379

I have a laravel (5.3) app with redis used for sessions (using predis). Everything works as long as I use a single redis node (using default approach from config/database.php). As soon as I switch to a Redis cluster though I am starting to get MOVED…
Lech Migdal
  • 3,828
  • 5
  • 36
  • 63
9
votes
3 answers

What should be stored in cache for web app?

I realize that this might be a vague question the bequests a vague answer, but I'm in need of some real world examples, thoughts, &/or best practices for caching data for a web app. All of the examples I've read are more technical in nature (how to…
Jeff Borden
  • 1,369
  • 1
  • 19
  • 30
8
votes
2 answers

How to fix "Provider must implement the class 'System.Web.SessionState.SessionStateStoreProviderBase' error asp.net

I am trying to implement Azure cache for redis to manage session's in my application. This is working on localhost. After hosting to IIS got compile error in webconfig file. I have created azure cache for redis in azure portal. I have made…
user3404686
  • 131
  • 2
  • 10
8
votes
3 answers

Connecting to Azure Redis Cache

I am trying to connect to the Preview Azure Redis Cache with the following code. var options = new ConfigurationOptions(); options.EndPoints.Add("myname.redis.cache.windows.net", 6379); options.Ssl = true; options.Password =…
Craig
  • 36,306
  • 34
  • 114
  • 197
7
votes
3 answers

The type initializer for 'Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment' threw an exception

I am trying to use Windows Azure Caching to store sessions in a MVC4 application. I build a application following steps from Link but when i try to make object of DataCache using below code line. DataCache cache = new DataCache("default"); Errors…
user2384784
  • 101
  • 1
  • 1
  • 5
7
votes
2 answers

Connecting to the new Azure Caching (DataCache, DataCacheFactory, & Connection Pooling)

The Windows Azure Caching Document says If possible, store and reuse the same DataCacheFactory object to conserve memory and optimize performance." Has anyone seen any metrics or any quantification of how expensive this is? One argument is that…
SemanticZen
  • 1,141
  • 14
  • 21
7
votes
2 answers

Windows Azure Caching while debugging - Request Timeout

I have a problem while using Windows Azure Caching with emulator (i.e., on Local, not Cloud). My system configurations are: Windows 8 Visual Studio 2012 Update 1 Azure SDK and Emulator 1.8 Windows Azure Caching 1.8.1 Web API .NET 4.5 The…
soleiljy
  • 1,121
  • 2
  • 13
  • 20
7
votes
2 answers

Azure table storage and caching

Is it worth caching data from Azure Table storage with the Azure Caching Preview? Or is the table storage fast enough in large scale applications? Thanks
MaxWillmott
  • 2,170
  • 2
  • 23
  • 34
7
votes
3 answers

Implement azure colocated caching

Using VS2012 I added the caching feature from the WebRole Properties Caching Tab. Among others, it generated the following XML in web.config:
States
  • 548
  • 5
  • 15
6
votes
1 answer

Trouble getting Caching working inside Azure Web Sites

I'm trying to get Caching working on my Windows Azure Website. The caching is configured on one of my Worker Roles. I used this article to get started: http://www.windowsazure.com/en-us/develop/net/how-to-guides/cache/ Initially I've had trouble to…
Mark Monster
  • 397
  • 3
  • 10
6
votes
1 answer

Unrecognized element 'autoDiscover' in web.config thrown by Azure Web Role

I'm trying to use the Session State Provider for Windows Azure Caching on a co-located cache running on two instances of a Web role. I have a ASP.NET MVC4 project. I followed Microsofts guide on how to set it up, and gone through it multiple times…
Christofer Eliasson
  • 32,939
  • 7
  • 74
  • 103
6
votes
1 answer

Sessions stored in a co-located Azure cache gets out of sync on multiple instances

For my MVC4 application, run in Azure, I store the sessions in a co-located cache. As described in this How-to that Microsoft provide. I run two small instances, and everything seems to work fine. I can log in to the application, and I remain logged…
Christofer Eliasson
  • 32,939
  • 7
  • 74
  • 103
6
votes
3 answers

Could not load file or assembly Microsoft.ApplicationServer.Caching.Core

I'm trying to use Windows Azure Caching Preview. I have one dedicated cache worker role, One webrole that use the former cache, and one worker role that continuously update cache. I followed the instructions on the Windows Azure guide but I still…
Rodolphe Beck
  • 363
  • 1
  • 5
  • 14
5
votes
4 answers

Azure Redis Cache StackExchange.Redis.RedisConnectionException: No connection is available to service this operation: EVAL

Asp.net mvc 5 application web config file is sessionState mode="Custom" customProvider="RedisSessionProvider"> providers> add name="RedisSessionProvider" type="Microsoft.Web.Redis.RedisSessionStateProvider" port="6380"…
Ivan
  • 577
  • 2
  • 9
  • 14
5
votes
2 answers

Connecting to Azure Cache Service takes about 3.3 seconds

In our still-in-development project we have noticed sudden delays when accessing our ASP.NET Web API services. Using the awesome Mini Profiler we nailed it that these delays are caused when connections to the Azure Data Cache (Preview) services are…
Gorgi Rankovski
  • 2,303
  • 1
  • 23
  • 32
1
2 3
14 15