deleting the entire cache
Wed, 31 Dec 2003 15:55:28 -0500
I don't know C well enough to be able to tell if this is do-able without
slowing down memcached.
Would it be possible to have something like a flush_match command?
Say I have a bunch of keys like "uid:43:userinfo", "uid:43:profile1", etc
etc... It'd be super-cool if I could do something like "flush_match uid:49",
and memcached nukes all keys that start with uid:49. I'm not talking about
a fullblown regex, just very simplistic front-of-string matching.
[mailto:email@example.com] On Behalf Of Brad Fitzpatrick
Sent: Tuesday, December 30, 2003 2:36 PM
Subject: Re: deleting the entire cache
I might as well make a new release (even though it'll be boring and
small). One sec.
On Tue, 30 Dec 2003, Chris Ochs wrote:
> The intended use we have for memcached is to cut down on queries to our
> database for user configuration information that is needed by the
> application for every request. When configuration variables are updated
> memcache I need a way to delete all old variables, but without knowing
> they are. I just want to wipe the memory and start fresh so to speak.
> Does the new flush command in cvs do this? If so is there a tarball of
> current cvs version?