azure-caching

Multiple DataCacheClients - Strange configuration behaviour

♀尐吖头ヾ 提交于 2019-12-12 01:29:00
问题 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 dataCacheClient is always set with the same maxBufferPoolSize and maxBufferSize values. They are all set to the values from the dataCacheFactory which I instantiate first. <dataCacheClients> <dataCacheClient name="DataCache1"> <autoDiscover isEnabled="true

CacheInstaller.exe has stopped working

僤鯓⒐⒋嵵緔 提交于 2019-12-12 00:35:25
问题 I am having below mentioned issue when I am running Asp.Net MVC 2 project on windows Azure emulator (dev environment) I have installed Windows Azure SDK for .NET - October 2012 version and I am using cache feature on my system. With above error Below one is also comming. How to get rid of this ? 回答1: Maybe I have an stupid solution, but that works with me. When I begin to recieve the message "CacheInstaller.exe has stopped working", I do the following: 1) Stop the execution. 2) Go to the Role

Possible to run Azure Caching Preview without emulator?

北慕城南 提交于 2019-12-10 17:39:00
问题 We use some Azure specific features (mostly blob storage) in our applications. With blob storage, we figured out how to run it without requiring the sluggish Azure Emulator. We're experimenting with the Azure Caching Preview now. It does some pretty cool things and could help address some performance concerns I have with a few of our features, but I haven't gotten it to work without it running either in the emulator or in an Azure production environment. So, is there any known way to get it

Azure table storage and caching

戏子无情 提交于 2019-12-08 19:39:30
问题 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 回答1: The short answer is it depends . In the application I am currently working on there is some information that we use caching for to handle both the latency of retrieving data from Table Storage and to accommodate the desired number of transactions per second. We started out serving the information from Table Storage and moved to caching

Session variable not updating when using Azure cache

倖福魔咒の 提交于 2019-12-08 04:46:20
问题 I have coded an MVC 3 app hosted in Azure. I am using Session variables to store update status information between http calls on one of my long running processes. This is then used to update a progress bar. The values can change pretty rapidly. This all works great when using an InProc session provider. However whenever I change to use the Azure Cache session provider the session variable does not get updated from the long running process. I am now changing things to use Cache variables

Cant get Azure Cache to work. “There is a temporary failure. Please retry later.”

不想你离开。 提交于 2019-12-08 02:10:04
问题 So, today I installed the azure SDK 2.1, and created a new project With a single WorkerRole, got the Caching package using NuGet, set the caching for the role to "Collocated" Set the Host to "WorkerRole1" in the app.config commented the security section since this is only a test inserted the following line on the "Run" `DataCache c = new DataCacheFactory().GetDefaultCache(); Hit Debug and got this error trying to execute the line above: There is a temporary failure. Please retry later. (One

Azure DataCache Problems with Windows Azure Emulator but no error generated. Application just hangs

梦想的初衷 提交于 2019-12-02 08:36:55
问题 I have an existing mvc4 web project which I wanted to deploy to a cloud service and to start using the azure data caching. I have added the windows azure caching nuget packages to two projects in the solution, the web project and a class library project both of which will need these. I then add a web role for the web project, and I have updated the datacache identifier reference in the web.config to point to the web role which is enabled for co located caching. I can run this locally on the

Which Dedicated Cache configuration to use?

偶尔善良 提交于 2019-12-01 11:37:46
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 unreasonable to have 2000+ requests per second to the site Is co-located cache good enough here or must cache be in the dedicate worker role? Also, must high-availability be enabled for session data? The site relies upon session data to be present for good user experience. But the cache is persisted to Azure blob storage, so I'm not sure I totally get

Azure Cache/DataCache style Regions in Redis

落花浮王杯 提交于 2019-12-01 10:33:18
问题 I am in the planning process of moving a C# ASP.Net web application over to Azure (currently hosted on a single dedicated server) and am looking at caching options. Currently, because we only have one instance of the application running at one time, we have an 'in process' memory cache to relieve the SQL DB of some identical requests. The process at the moment is to clear certain parts of the cache when the managers/services make a change to those parts of the database, e.g. we have a users

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

半城伤御伤魂 提交于 2019-11-29 04:35:06
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 occurs: Microsoft.WindowsAzure.ServiceRuntime.dll not found or version mismatched, I updated my Windows Azure Emulator version to 2.0.0 and install WindowsAzure.Caching package version 2.0.0.0 using NuGet package installer. Now the error changes to "The type initializer for 'Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment' threw an exception." I