ms-velocity

Using Microsoft Velocity with NHibernate?

Has anyone tried to use MS Velocity with NHibernate. I've seen that NHibernate can use NCache as a distributed cache, but I am more interested in using MS Velocity instead. Are you aware of Cache Provider for MS Velocity for NHibernate? ...

Mapping traditional caches to memcached? (but in .NET)

I'm building a caching system and I want it to be ready for distributed caching a la memcached. What I'm looking to do is to convert a traditional Hashtable/Dictionary of (string -> object) and to allow per-item expiration to be handled by the Cache itself, in the way that the System.Web.Caching.Cache can do. I'm aware that memcache re...

Can't add object to Velocity cache

I've just installed Velocity on my computer and everything seems to work fine except that I can't add any objects to a cache. I have no trouble retrieving the cache itself, but when I try to add an object, everything just freezes for five minutes, and then I get a time out. My code to connect to the cache host (works fine): // Define A...

MS Velocity vs Memcached for Windows?

I've been paying some attention to Microsoft's fairly recent promoting of Velocity as a distributed caching solution that would compete with the likes of Memcached. I've been looking for a 64bit version of Memcached for Windows for some time now with no luck, and since everything about the ASP.Net MVC project I'm working on is 64bit, it...

Velocity CTP2 Serious Memory Bug

When you create an instance of the cachefactory and then don’t use it anymore the memory that was used during the creation of the object is not released. This will have a substantial effect on all web apps or scenarios where a cachfactory might be created multiple times. The symptoms of this will be unusually high memory use one the pr...

Connection error when configuring Microsoft velocity

Hi all, I am trying to install Microsoft velocity on a machine that will use a sql database for it's configuration store. I have entered the connection string correctly but when I test the connection it fails, here are the logs: 2009-01-23 11:54:30.03 Logon Error: 18456, Severity: 14, State: 11. 2009-01-23 11:54:30.03 Logon ...

How to design an ASP.NET MVC site for caching with Velocity?

I'm coming from the LAMP world, where the "cache everything" mentality is prevalent. Everything is put in memcache. I'm starting a new project with ASP.NET MVC and SQL Server. I'll probably go with LINQ to SQL or maybe Entity Framework. Are there design decisions I need to make now for caching, or is it easy enough to start using Vel...

Memcached and Velocity

I'm investigating using either Memcached or Velocity for distributed caching over a cluster of servers after reading Scott Hanselman's answer to this question. Does anybody know of a Microsoft web site that uses Velocity for its caching? If Microsoft aren't using it then does anybody know of any relatively popular web site that's using i...

Caching and Session state management using Microsoft Velocity and Memcached

I was looking at Microsoft Velocity and memcached to find a solution for some session management issues - What is the difference between caching that is provided by Microsoft Velocity, memcached and session state management? I mean memcached and microsoft veolocity provide distributed caching capabilities... so using these to store sess...

is MS Velocity ready for production?

I wonder if anyone has tried velocity in a production environment. It is in CTP2 version right now, and we are thinking of using it. Has anyone tried it? If yes was it a positive experience? ...

Caching solutions for multi-webserver configuration?

I am looking into caching solutions, for a multi webserver configuration. Thought of memcached as being cheap (free) and proven over the years. Microsoft is also developing a caching solution for webfarms, called Velocity, but this is still in CTP2. ...

What' the expected release date for Microsoft Velocity?

CTP3 was released in March, is there any expected release date for v1? ...

Microsoft Velocity - best way to share cached data on single server

Hi there, I have several WCF services and ASP.NET application both accessing data via shared service layer. Inside this layer I'm performing all required data access and caching. Now I need to share cached object between WCF ans ASP.NET. What's the best way to configure Velocity to work on a SINGLE server. Also how can I disable object ...

Any distributed cache systems that allows for tagging content?

I'd like to know if there is any distributed cache systems like memcached, velocity or sharedcache that allows me to tag content with more than just it's name, or that can relate items to eachother, so if i invalidate the cache for one item it also invalidates the related items too. eg. if i have two pages that reference the same data a...

Atomic Update in MS Velocity

Does Velocity support server-side atomic updates ? I'm trying to see if i can port some code (based on memcached) which implemented a ring buffer based on memcache's INCR operation. ...

Is anyone using Velocity for NHibernate second level caching in production

Is anyone using Microsoft Velocity for NHibernate second level caching? What are your experiences? ...

NHibernate.Caches.Velocity change cache name

We have noticed that Velocity cache name in NHibernate.Caches.Velocity.VelocityClient is hardcoded to "nhibernate" private const string CacheName = "nhibernate"; . . . cache = cacheCluster.GetCache(CacheName); Is there a patch which enables changing cache name from configuration file. It would be good that our apps use caches with dif...

Memcached/Microsoft Velocity Performance Question

Just a random query regarding Microsoft Velocity. Scenario: Say I want ALL Orders from my database. In SQL, this is fine, I can do SELECT OrderId,TotalCost... from Orders. This is one round trip to my database, and everyone is happy. Now, if I'm using Memcached or (as I'm using now) Microsoft Velocity (CTP3), there is no easy way to do...

AppFabric Installation Problem

Hoping someone else has already encountered this and has a solution... I'm trying to install the AppFabric Beta 1 caching service, on a virtual Windows Server 2008 (CacheServer1). My cache configuration information will be held in a SQL Server database on a separate server (SQLServer). As AppFabric only supports Integrated Security for ...

Why does Velocity lose session after only a few minutes?

I've set up sesion management with Velocity distributed cache. I have 3 servers hosting the cache and created the named cache with new-cache Sessions -Secondaries 1 TTL 1440 and the following is in my web.config file <section name="dataCacheClient" type="Microsoft.Data.Caching.DataCacheClientSection,&#xD;&#xA; cacheBaseLibrary" al...