MemCached
distributed memory caching system (Caching Proxy Server?) to improve Scalability, esp for Data Base-backed systems
- if you're running just 1-2 servers, you might just want to have a local cache on each
Can store Data Store data
-
typically individual records, still have to query Data Store to get a result-set
-
except maybe for reference tables that rarely change
-
also, if you have relatively rare writes, I could see a process of "publishing" to MemCached, including a variety of query-result-sets
-
-
have to make sure all your CRUD Data Store-interface functions are consistent in managing the cache
Can store other things as well, such as whole pages (or chunks of HTML): save the whole HTML-render-cycle.
Each client-library has it's own cache (because they all implement lots of details differently), so if you use multiple languages on your site this is going to be a problem.
HttpCaching? No. But if you have a very CRUD/ReST model, the 2 have a lot of similarities....
http://en.wikipedia.org/wiki/Memcached
http://www.danga.com/memcached/
Pg Mem Cache is an interface to MemCached for PostgreSQL
Edited: | Tweet this! | Search Twitter for discussion