I am torn between using Memcache and using Windows Azure Caching. I have no experience in either of them so I would love for someone to come up with some deciding factors:
- price
- performance
- ease of use
- anything
I am torn between using Memcache and using Windows Azure Caching. I have no experience in either of them so I would love for someone to come up with some deciding factors:
You actually need to evaluate 3 possible options:
I don't have any benchmarks, but since both Windows Azure Caching (Preview) and Memcached are dedicated solutions using the memory on your roles and support the memcached protocol, you might simply go for the Windows Azure Caching (Preview) for the Visual Studio and .NET support. And once it leaves preview you'll be able to get support for it as well.
Note that Windows Azure Caching has been retired.
The replacement Azure Cache for Redis, is Redis compatible, so Memcached vs. Redis? might help you.
From what I can tell, Azure cache isn't compatible with 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]
I gave up on trying to make it work. Installing memcached on an Linux Azure VM works great < 1ms latency.