Obsolete rows request [storage mode]
brad at danga.com
Tue Sep 27 18:21:30 PDT 2005
We already have -k mode, which you call -M mode. Same thing.
But depending on memcached to return those items later is kinda dangerous.
Too much like a database.
Plus you're thinking in the 1-memcached-server world. Have you thought
how this would work with 40 memcached servers?
You might want to look into MySQL Cluster, if you really want this done
On Wed, 28 Sep 2005, Ilia Kantor wrote:
> Memcached could be very useful for session handling and a bunch of other
> problems if it allowed "external garbage collecting".
> So to say: I put memcached into "return error on memory exhausted" mode(so
> it is storage, not cache any more!) and can send a command to
> delete-and-return all items last used >3600 sec ago (or similar).
> Then I can perform any operations on obsolete rows.. Like copy
> last-visit/logs/aggregate information into DB.
> Such garbage collection issue seem to link well with memcached
> "storage-mode(-M)", how do you think ?
More information about the memcached