views:

384

answers:

2

I need simple and free write-behind cache for .NET. Does not have to be 100% reliable or fast. I have a growing website and I need something till Microsoft finally releases Velocity which should have write-behind in the near future.

  • Do we have a simple write behind cache implementation for .NET?
  • Do we have any .NET code samples on write-behind caching?

UPDATE

Please read the question carefully.

WRITE-BEHIND CACHE

Non any kind of cache. Not free version of NCache, not MemCached.

If you want to know what WRITE-BEHIND is - check this Oracle article

A: 

I have no experience with this, but I found two links you may be interested in:

Cacheman - distributed hashtable for Windows

NMemcached - somw throw away code from Ayende

You may to Google / investigate Memcached and see what you can find for .Net. Sorry I don't have direct experience as I've just started the subject myself recently.

UPDATE:

I found this port of memcache for .Net. Here is an interesting blog post concerning Asp.net cache vs memcache. Good luck!!

David Robbins
Please, read the question closely... WRITE-BEHIND CACHE, not any kind of cache...
Alexander Uslontsev
Sorry - got too enthused without reading carefully.
David Robbins
+1  A: 

NCache Express is free, We've used the express version and it's pretty decent.

TWith2Sugars
NCache Express has very limited functionality. NCache Enterprise version - the only one version that has WRITE-BEHIND support - costs $4,000 per CPU.
Alexander Uslontsev
I've used the Free version and built in my own WRITE-BEHIND to work with it - it's not that difficult to do, worth looking in to if you haven't got a suitable answer
TWith2Sugars
Also to note if you are running the NCache on a VM the OS (Server 2003 in out case) assigns 1 virtual processor but a number of cores- which means if we did get an enterprise edition - only need one licence ;)
TWith2Sugars