appfabric-cache

Where is the Increment method on the DataCache?

若如初见. 提交于 2020-03-03 15:53:46
问题 I want to use the Increment method from the DataCache documentation but the method is not available on my DataCache object. Clearly I don't have the version of Microsoft.ApplicationServer.Caching.Client.dll that matches the documentation but I can't seem to figure out what version contains that method and where to get the assembly??? The version I have 1.0.4632.0 I am using the AppFabric for Windows 1.1. 回答1: This method is part of Azure and not Windows Server. AppFabric exists in two

Monitoring AppFabric Cache

浪尽此生 提交于 2020-01-14 10:39:29
问题 I have a HighlyAvailable AppFabric cache setup across 3 servers (AppFabric 1.1). I want to monitor the local cache on each server and, if it is down for any reason start it back up. Problem The problem is permissions - I wrote a Powershell script to do this, and it works great if I run while logged in or set up a Scheduled Task to run it as me - but I am an administrator on all machines. If I try running this script with a service user, it fails. I don't want to make my service user an

AppFabric Cache memory very intensive

北城以北 提交于 2019-12-31 04:05:33
问题 The question(s): Am I doing something wrong? Incorrect config setting? Is the amount of memory usage by AppFabric shown below normal? The problem: I am reading the data from a SQL database table into AppFabric cache memory. It seems like AppFabric uses a large amount of memory for a fairly small object and I cant understand why(I have recently started using ApppFabric-so I am a noob with it) Description: A SQL table of about 60MB converts to about 800MB once in AppFabric cache. Details: SQL

Is it possible to be notified when AppFabric is evicting least recently used objects under memory pressure?

末鹿安然 提交于 2019-12-25 01:44:56
问题 I'm using AppFabric for Windows Server 1.1 with Entity Framework and the Entity Framework Cache Adapter. Recently, for one of our customer, we encountered memory pressure on one of the cache node. AppFabric Cache started evicting least recently used objects. The problem is that the Entity Framework Cache Adapter stores objects in dependent regions. So if a region is cleared or removed by AppFabric, the cache adapter must remove objects in the dependent regions as well. I've successfully

Windows Server AppFabricCache, Exception, Check the client version

橙三吉。 提交于 2019-12-24 21:45:03
问题 I'm trying to build and run WindowsServerAppFabricSamples CacheAPISample application. I had to install Microsoft.WindowsAzure.Caching version 2.3.1.0 from nuget to build. My config is: <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere"/> <section name="cacheDiagnostics" type=

AppFabric 1.0 error Server collection cannot be empty

自作多情 提交于 2019-12-24 04:46:08
问题 I am getting the following error when I run the simple Windows Server App Fabric 1.0 demo console application: ErrorCode<ERRCA0021>:SubStatus<ES0001>:Server collection cannot be empty. Please help me.. What am I missing..?? I have looked every where on the internet and nothing seems to be fixing this issue. thanks.. My application is as follows: static void Main(string[] args) { var factory = new Microsoft.ApplicationServer.Caching.DataCacheFactory(); <--- *** Error here var cache = factory

How to set Windows Server AppFabric named cache size?

两盒软妹~` 提交于 2019-12-13 02:43:27
问题 I'm currently evaluating Windows Server AppFabric as a distributed cache solution. If we implement AppFabric, we'd have something like 3 or 4 different web applications using it for caching. I've seen that AppFabric provides the ability to created named caches. I'm wondering if it's possible to set a max size on on a named cache? It looks like you can set a max. memory size for a cache cluster host but I haven't seen anything to indicate that this can be done on a per cache basis. The reason

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

Cache Host config in Azure In-Role caching

情到浓时终转凉″ 提交于 2019-12-11 19:59:14
问题 Accordingly to this MSDN article (on AppFabric Caching, which is what Azure is run on), I should be able to find a DistributedCacheService.exe.config file located at \Windows\System32\AppFabric , but it doesn't exist on any of the instances. When remoting into one of the instances and searching for configs, I find several cache-related config files in E:\plugins\Caching . The CacheService.config.exe file looks very promising (similar to DistributedCacheService .exe.config ), except that the

Creating a High Availability AppFabric Cache Cluster

狂风中的少年 提交于 2019-12-09 06:28:36
问题 Is there anything aside from setting Secondaries=1 in the cluster configuration to enable HighAvailability, specifically on the cache client configuration? Our configuration: Cache Cluster (3 windows enterprise hosts using a SQL configuration provider): Cache Clients With the about configuration, we see primary and secondary regions created on the three hosts, however when one of the hosts is stopped, the following exceptions occur: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out