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

Azure Co-Located-Cache max item size for session state

I have undestood that the maximum serialized size of an item in the Co Located Azure Shared Cache (preview) is 8mb. I am currently using the Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider to store my session state in the…
jmw
  • 2,864
  • 5
  • 27
  • 32
2
votes
1 answer

Is Azure co-located caching instance internal?

Looking into Azure Caching I came across this article which states When Co-located Role caching is specified, the cache size is determined by taking the specified percentage of the virtual machine memory. When Dedicated Role caching is specified,…
Leonardo
  • 10,737
  • 10
  • 62
  • 155
2
votes
0 answers

Dedicated worker cache role stuck in busy only when using virtual network

I have an Azure service that contains a dedicated cache worker role. When a NetworkConfiguration section is added to the cscfg file, which specifies our virtual network, the cache role does not start and is stuck as "Busy". I can't access any info…
2
votes
2 answers

Which Dedicated Cache configuration to use?

A large e-commerce site is looking to switch its session cache from Shared cache to dedicated cache. It is usually running on medium-size servers (5-6)... During busy times, it's running on 20 medium servers. During the very busy times, it is not…
Igorek
  • 15,716
  • 3
  • 54
  • 92
2
votes
1 answer

In co-located caching, how is determined the location of a key?

This a design question about the Caching component, I can see two approaches in determining where is the data: Each role instance maintains a table containing the entire set of keys, tracking the corresponding instance holding the data. The…
uzul
  • 1,096
  • 9
  • 23
2
votes
1 answer

How to inject/handle usage of HttpContex.Cache

I have a legacy application that is extensively using HttpContext.Cache... This application is now suppose to move to Windows Azure (multi-role). It will of course cause problems with cache going out of sync on different roles. I was thinking about…
Lucas
  • 85
  • 6
2
votes
2 answers

Caching Diagnostics recommends 20GB of local storage(!). Why?

I installed the Azure 1.8 tools/SDK and it upgraded my projects co-located caching from preview to final. However, it also decided to add 20GB to the Role's Local Storage (DiagnosticStore). I manually dialed it down to 500MB but then I get the…
DeepSpace101
  • 13,110
  • 9
  • 77
  • 127
2
votes
1 answer

Configure Windows Azure Caching (preview) Cache Client Programmatically

Trying to convert from Windows Azure Shared Caching to Windows Azure Caching (Preview) where I was able to programmatically configure the DataCacheFactory via the DataCacheFactoryConfiguration class. Is the possible in the Caching (Preview)? If…
fgalarraga
  • 107
  • 1
  • 8
2
votes
1 answer

Azure CreateRegion "This operation is not supported by the cache."

I'm trying to add a region using Azure Datacache object but I'm getting such error "This operation is not supported by the cache." Dim dataCache As DataCache = dataCacheFactory.GetDefaultCache() Dim tagList As New List(Of DataCacheTag)() From {New…
JimboyPogi
  • 655
  • 1
  • 5
  • 4
2
votes
1 answer

Azure caching group strategy

I have a page with one main query with a bunch of filters on it, maybe 9 different dimensions. I currently check my azure cache for the query parameters. If it's there, I take that. If not, I query sql and update the cache. All of that is working…
Nate
  • 2,316
  • 4
  • 35
  • 53
1
vote
2 answers

Can I access Azure AppFabric Cache from development emulator?

I am getting below exception when I access Azure cache from my dev azure application. ErrorCode:SubStatus:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy…
Joy George Kunjikkuru
  • 1,495
  • 13
  • 27
1
vote
2 answers

Caching App Configuration values in Azure Cache for Redis

I run a .NET Core application running on 5 Azure App Service instances. I am going to migrate my configuration to Azure App Configuration, where the SDK (NuGet package) caches the values in-memory for a specified time (i.e. 30 minutes). Considering…
user11081980
  • 3,059
  • 4
  • 30
  • 48
1
vote
2 answers

tar: could not chdir to 'D:\a\1\docker'

I am trying to use Cache Task in Azure Pipelines for the Docker setup. According to the documentation I need to set below parameters: Key (Required) Path (Required) RestoreKeys (Optional) - task: Cache@2 inputs: key: 'docker |…
1
vote
1 answer

Caching node_modules in Azure Pipelines takes longer than installing them

I am running a self-hosted agent (Windows Server) and I am trying to reduce my pipeline build time by caching my node_modules. However, restoring the node_modules cache takes just as long as installing the packages from scratch. Also, looking at the…
1
vote
0 answers

Running SQL query against Azure redis cache

I have a table in database which is named Country table. I want to put this table data on Azure redis cache. This table data will change once a week or month so, I will update cache once a week. I wanted to know is there any way which allow me to…
brijesh Patil
  • 77
  • 1
  • 7