MongoDB, memcached, EHCache: Compared as Distributed L2 Caches
As can be seen, whether the off-host process that manages the cache-data is MongoD or MemcacheD or Terracotta-Server, architecturally they all look equivalent - i.e. a pure-L2 with no-L1 - so that all data needs to be retrieved from over the network and then massaged into a POJO for consumption by the application.
When speaking about caching systems, I’d also include criteria like:
- warm up strategy
- locking strategy
- single-machine memory spill strategy
Original title and link: MongoDB, memcached, EHCache: Compared as Distributed L2 Caches (NoSQL databases © myNoSQL)
via: http://javamuse.blogspot.com/2011/03/nosql-document-based-or-distributed.html
