Hello, Thanks very much for the answers. Any idea when this feature will make it in an official release of libmemcached ?
Regards, Vlad On Oct 7, 12:16 am, Brian Aker <[email protected]> wrote: > memcached_touch() is currently in lp:libmemcached/build > > On Oct 6, 2011, at 4:35 PM, dormando wrote: > > > > > > > > >> Hello all, > > >> Nice to be a part of the memcached community. > > >> Is there any way, using the current libmemcached library, to > >> dynamically assign expiration to certain keys ? > >> What I am trying to do is the following : > > >> # expire key in 100 seconds > >> set key value 100 > >> # after 10 seconds, decide to modify the expiry to 150 seconds from > >> now > >> expire key 150 > > >> Is such an "expire" mechanism to dynamically alter expiration time > >> possible in memcached ? > > > A new command, "touch", was added to 1.4.8 a few days ago which does > > exactly this. Clients should start supporting it soon.
