似乎EnyimMemcached(https://github.com/enyim/EnyimMemcached)和BeITMemcached(http://code.google.com/p/beitmemcached/)都很受欢迎.NET内存缓存库.这两个项目都在开发中,相当活跃,下载量超过https://github.com/enyim/EnyimMemcached0次.试图弄清楚该用哪一个,但却发现了相互矛盾的 comments !我确实读了另一篇相关的post篇文章,但在做出决定之前,我仍然想询问更多的人.

EnyimMemcached在其项目主页(https://github.com/enyim/EnyimMemcached)上声称

基于我们未披露的精心设计的内部性能测试,我们是有史以来速度最快的C#client,无论是内存还是CPU时间,使用的系统资源都是负数

we follow memcached's protocol specification as strictly as no one else: even the memcached guys ask us if they don't underst和 something

BeITMemcached在其project wiki页面(http://code.google.com/p/beitmemcached/wiki/Features)上声称

We have performed extensive functional testing 和 performance testing of the BeIT Memcached client 和 we are satisifed that it is working as it should. When we compared the performance against two other clients, the java port 和 the Enyim memcached client, our client consumed the least resources 和 had the best performance. It is also following the memcached protocol specifications more strictly, has the most memcached features, 和 is still much smaller in actual code size.

So for those who have experience on these or anything similar, which client did you choose to use 和 possibly why you chose the one you chose?

谢谢,

射线

推荐答案

我们测试了两者,发现Enyim在我们预期的使用场景中表现最好:许多(但不是数百万)缓存对象,以及数百万个缓存get请求(平均网站并发负载=16-20个请求)

我们的性能因素是测量从发出请求到在调用服务器的内存中初始化对象的时间.这两个库都可以维持这项工作,但在我们的测试中,enyim客户机是首选.

Asp.net相关问答推荐

ASP.NET控制器上的默认接受媒体类型

无法翻译 LINQ

为什么 Web 架构应该是松耦合的?

是否可以发布 ASP.NET 5 应用程序以使目标机器不需要安装 DNX?

如何向 Array.IndexOf 添加不区分大小写的选项

如何在 ASP.NET 中以 'YYYY-MM-DD' 格式获取当前日期?

ASP.NET @Register 与 @Reference

业务线应用程序:F# 会让我的生活变得轻松吗?

下载功能在 asp.net 的更新面板中不起作用

如何使图像的一部分成为可点击的链接

IIS 7.5 上没有 asp.net 功能

通过 jQuery 调用 ASP.NET 服务器端方法

跟踪点有什么用途?

如何在 GridView 中隐藏 TemplateField 列

如何遍历自定义 vb.net 对象的每个属性?

将列表转换为 json 格式 - 快速简便的方法

.Net System.Mail.Message 添加多个收件人地址

如何识别字符串是否包含 unicode 字符?

ModelClientValidationRule 冲突

如何将 DataTable 转换为类 Object?