MemCached V Velocity Caching comparison
Jul 1st, 2009 by admin
Informative comparison of Memcached (+MemCached .Net lib) V Velocity which looks at features and performance:
Features
No question here, Velocity has it licked. Memcached offers you, errr, ‘Put’ and ‘Get’ pretty much. Velocity gives you such lovelies as:
- Cache Invalidation (things in SQL changing can expire the cache)
- Cache Groups (so you can specify different policies for different types of data)
- High Availability (you can use 3 or more servers to 100% ensure your data stays up)
- Local Cache (for even more performance for data that can be stale)
- Ability to use it to store Session data
- 64bit version so no real limit on memory
- …and a whole bundle more.
Performance
Clearly memcached is faster than Velocity (unless you count the local cache option which is cheating!!!). Velocity seems less fussed about the long XML strings than memcached (5x slower on memcached but only 2x slower on Velocity to read them back!) but that could be the client library.














