How can you dump data from or load data into memcached?
You don’t! Memcached is what we call a non blocking server. Anything that could cause the server to pause and not respond to requests momentarily must be thought through very carefully. Loading your cache from a dump is often really not what you want anyway! Consider if any of your data changes between you dumping and then loading the cache. You now have out of date data to deal with. How do you also manage items that were due to expire from cache before the dump was loaded? It’s not as useful as you might think. There is a case where this can be useful. If you have huge amounts of data that never changes and you like your caches toasty warm, loading your cache from dump could help. While this is not the typical case at all, it happens often enough that such a feature might appear in the future. Steven Grimm, as always, gives another good example on the mailing list here: http://lists.danga.com/pipermail/memcached/2007-July/004802.
Memcached is what we call a date data to deal with data changes among you dumping what you want anyway! Consider if any of your non blocking server. Anything that could cause the respond to requests momentarily must dump is often very not server to pause and not. You now have out of and then loading the cache be thought through carefully. Loading your cache from a.