English 中文(简体)
Is SharedCache ready for production?
原标题:

I ve been comparing distributed caching solutions for an ASP.NET environment and would like to use something FOSS if possible. I ve come across SharedCache and seen it recommended by a few people on StackOverflow.

Has anyone actually used this in a production environment? I can t find much online about the maturity of this project and would like to know of anyone s successes or failures with using it.

To be clear, the environment would be a handful of servers (~10 or so), but at least 10GB of cached data to share amongst those servers.

最佳回答

So this is a bit of a late response, and you ve probably solved this a long time ago, but I was wondering the same thing myself...

We used a windows port of memcached for a recent project where we need an out of process cache shared between a site, and a bunch of WCF services in separate App Pools. All was working well for us for a while, but more recently our memcached .net client is reporting failures when we write to the cache. We re not sure what is causing it, but I m uneasy about running memcached on windows, and looked into "pure" .net solutions. Which is when I found SharedCache.net

Although we haven t swapped over on our production server, I ve been using it on a few dev boxes for a while now, and find it good so far - no weird write errors (although to be fair I ve not properly load tested it) and it has better features for example for listing the contents of the cache.

问题回答

I ve used Shared Cache in a production environment under heavy load without any major problems. The only issues I ve had with it is that the documentation is lacking and when the cache service is started sometimes the first few entries in the cache were not saved properly but would still contain a key reference....granted this would only happen on a system reboot so it s a minor issue.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签