Memcached - Using with a C# ASP.NET Application

memcached - using with a C# asp.net application

Definitely possible. I suggest using the enyim.com client instead of the "official one" as it a lot faster.

memcached - using with a C# asp.net application

Definitely possible. I suggest using the enyim.com client instead of the "official one" as it a lot faster.

Is there a port of memcache to .Net?

Windows Server ports:

  • memcached for Win32
  • Jellycan Code - memcached

Memcached .NET Client ports:

  • memcacheddotnet
  • enyim.com Memcached Client
  • BeIT

What is the ASP.NET equivalent to memcached in PHP?

Memcached works well with .net too, but equivalent would be Velocity

Cache server for .NET(Example Memcached)

AppFabric is another popular solution from Microsoft.

Regarding caching data in win application c#

Memcache is a popular solution. There are some .NET ports:

Is there a port of memcache to .Net?

Memcached with Windows and .NET

Why do you need to run memcached on windows? It’s an expensive affair in a production environment.

If your code needs to run in a Windows environment get a windows memcached client and talk to a *nix based memcached machine.

In a production environment running memcached on Server 2003 or 2008 would mean that you get licenses for all those boxes. Linux will offer you all the OSS benefits. TCO will rise linearly with memcached on Windows

Edit:

It’s been around 1.5 years since I wrote this answer and lot of things have changed since. You’ve to take notice, especially when someone like Dustin comments.

So here’s how you can get memcached on windows running. Download memcached for windows from Couchbase (formerly Northscale).

Typically if you plan to run memcached on the same production machine you’d want to start it in limited memory, i.e. define the maximum memory memcached is allowed to use.

c:\Program
Files\memcached>memcached.exe -m 128.

Here memcached runs with a maximum of 128 mb usage. You don’t want memcached to take up all the memory on your webserver.

The moment you decided to scale out memcached you’ll need to consider what I said earlier. Additionally compress your values in the key value combinations. Web servers typically consume very little CPU (2-3%) usage and compression brings in a lot of value to network throughout in comparison to the CPU usage. If you are too concerned about normal compression, try LZO



Related Topics



Leave a reply



Submit