ms-velocity

Why do I get ErrorCode <ERRCA0022> when I take down one velocity cache host?

I'm getting the following exception in my web app when I take down one node of a three node cluster which is hosting my users’ sessions. The session cache also has secondaries on with no eviction. Here is the error message and stack: Exception information: Exception type: DataCacheException Exception message: ErrorCode<ERRCA...

Why is cache object stored in session when using AppFabric?

I had my first go at AppFabric - caching (aka Ms Velocity) today and checked out msdn virtual labs. https://cmg.vlabcenter.com/default.aspx?moduleid=4d352091-dd7d-4f6c-815c-db2eafe608c7 There is this code sample in it that I dont get. It creates a cache object and stores it in session state. The documentation just says: We need to...

Cache Regions in Velocity/AppFabric using WCF

I have a service based architecture where a web farm full of asp clients hit application server farm of WCF services. Obviously all the database access is done by the WCF services. Now I would like to cache my frequently used database retrieved objects using Velocity at the service tier level. I am considering to make each physical appli...

"conveyor belt" cache architecture

I'm producing an application with a few peculiar internal communication characteristics that make the usual suspects for data storage and transport (Qs and RDBMSs) ill-fitted. I'm wondering whether there is a product out there that matches the following characteristics: all data put into it is peristent all reads are delivered out of m...

Powershell command for removing items from Appfabric cache

Are there powershell commands to: Get a list of items in the cache Remove a particular item Remove all items Change the value for a particular key I haven't come across a nice blog or tutorial for beginners to get started with Appfabric caching administration. Thanks! ...

Using Appfabric cache with just one node and HA on

I am looking to use MS-Velocity a.k.a Appfabric Cache in a project that is starting by next month (so I am also assuming Q3 will have a go-live license). The project is a web application which will have at least 40K users in 6 months down. And we know for sure that cache server can be of only one node to start with and we will scale hori...

Entity Framework 4 and Velocity

Hi. Did you ever used EF4 and Velocity(or other caching framework) together? I found this blog post Tracing and Caching EF. ...

How to invalidate the OutputCache in a webfarm?

Hi folks, i've got a website that uses OutputCache attribute to cache pages. Works great. Now, I'm in the middle of R&D'ing scaling up this site to be in a web farm. Along with the usual suspects for webfarm pain ... I've noticed (pretty quickly/obviously) that the OutputCache from Server_A doesn't invalidate the OutputCache from Serve...

Starting AppFabric Cache Cluster automatically

Hi, Is there a way to start the cache cluster automatically on system startup? I'm running it on a remote PC and when it gets restarted I have to remote into it and restart the cache cluster from Powershell using Start-CacheCluster, and would like to not have to do this. Thanks, James ...

Velocity CTP: can we 'search' for objects?

Phil, I appreciate your answers very much. As regards my questions concerning regions, I am trying to grasp the functionality of the API, not actually the architecture or infrastructure of the service/application/platform. So I am trying to determine what the limitations are as regards the ability to return objects when the precise key...

Caching Solutions

Has anyone done a thorough comparison of AppFabric and NCache or AppFabric and ScaleOut? We are currently looking to implement either AppFabric, NCache or ScaleOut for distributed caching in geographically distant locations and I would like to know anyone's thoughts who has compared them side by side. I appreciate that many people use on...

.NET cache providers that support streaming?

Does anyone know any cache providers for .NET that support streaming data directly in/out by key, rather than serializing/deserializing objects? I was rather hoping AppFabric (Velocity) would, but it only appears to deal with objects like the built-in ASP.NET cache. ...

AppFabric: Could not contact the cache service

I'm trying to use AppFabric with NHibernate as my second level cache provider but I'm getting the following error: ErrorCode:Initialization: Could not contact the cache service. Contact administrator and refer to product help documentation for possible reasons. I presume that the problem is with my configuration in web.config: <sec...

AppFabric Cache Error:The AppFabric Caching Service service terminated unexpectedly

I am running cluster machine in Virtual Box in domain, by default service is running under Network service , service stopped all the time with the following error in the event log. please find the error details from error log below. any help will be great. Log Name: System Source: Service Control Manager Date: 21-07-2010 16:42:07 E...

What's the difference between Azure AppFabric and Windows Server AppFabric

Seems like there are two products with similar names, but isn't what I expect. I thought that Azure AppFabric was the "cloud" version of Windows Server AppFabric, but there doesn't seem to be much in common between them. Am I missing the bigger picture? ...

Can AppFabric be the session state provider and use local cache?

I am using AppFabric as the session state provider in my ASP.Net MVC2 app, and I would like it to also use the local cache. I have the following entry in my web.config right after the configSections node: <dataCacheClient> <localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlVa...

SCM management of AppFabric Cache Cluster

I'm working on building out a standard set of configurations for our cache clusters within App Fabric. My goal is to have a repeatable cache settings configuration when we load up a new environment (so server names are different, number of hosts, and other environmental factors). My initial pass was to utilize the XML available from Ex...

Appfabric cache (Velocity): Expiration in non-expirable cache and unreadable trace log ?

Hi guys, we are using Appfabric cache in our project, and we ran into 2 major problems. First - we are using named caches (no explicitly created regions). One of them, created as Expirable=false, Eviction=none, TTL=525600 is used for objects that should be always available (populated at application start, via the Put method). But from ...

Installing AppFabric on Windows Server Datacenter

Hi, we are running a virtual server with Windows Server Datacenter (32 bit) and I cannot install AppFabric on it. When I run the executable downloaded from http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&amp;FamilyID=467e5aa5-c25b-4c80-a6d2-9f8fb0f337d2 I get the following error: "Either the version of this package is...