【发布时间】:2012-09-06 11:44:06
【问题描述】:
我在使用 Memcache 和使用 Windows Azure 缓存之间纠结。我对其中任何一个都没有经验,所以我希望有人提出一些决定因素:
- 价格
- 性能
- 易于使用
- 任何东西
【问题讨论】:
我在使用 Memcache 和使用 Windows Azure 缓存之间纠结。我对其中任何一个都没有经验,所以我希望有人提出一些决定因素:
【问题讨论】:
注意Windows Azure Caching has been retired。
替换Azure Cache for Redis 与Redis 兼容,因此Memcached vs. Redis? 可能会对您有所帮助。
【讨论】:
据我所知,Azure 缓存与 memcache 不兼容:
root@**:~# memccapable -h **.cache.windows.net -p 22233 -t 1 -b
binary noop Errno: 110 Connection timed out [FAIL]
binary quit Errno: 110 Connection timed out [FAIL]
binary quitq [FAIL]
binary set Errno: 104 Connection reset by peer [FAIL]
binary setq Errno: 104 Connection reset by peer [FAIL]
binary flush Errno: 104 Connection reset by peer [FAIL]
binary flushq Errno: 104 Connection reset by peer [FAIL]
我放弃了让它发挥作用的尝试。在 Linux Azure VM 上安装 memcached 效果很好
【讨论】:
您实际上需要评估 3 个可能的选项:
我没有任何基准,但由于 Windows Azure 缓存(预览版)和 Memcached 都是使用您角色上的内存并支持 memcached 协议的专用解决方案,因此您可能只需选择 Windows Azure 缓存(预览版)即可Visual Studio 和 .NET 支持。一旦它离开预览版,您也将能够获得对它的支持。
【讨论】: