coolexp / redis

Automatically exported from code.google.com/p/redis
0 stars 0 forks source link

Cache "groups" #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I think I brought this topic up before w/ multi deletes but I think Ive
found the feature we are looking for in KV cache ...

http://www.opensymphony.com/oscache/wiki/FAQ.html

Where it says:

Cache entries can be flushed explicitly in several ways:

"When adding an entry to the cache, it can optionally be placed into one or
more groups. An entire group of entries can then be flushed by specifying
the name of the group to flush. eg <cache:flush group="group1"
scope="application"/>"

The group primarily handles the expiration time, so the question is if it
would be possible to have + assign key values w/ a group like this?  

Id imagine a protocol (idea) like:

ADDGROUP group 
MODGROUP group SET interval 3600
DELGROUP group

SETGROUP key group value

FLUSHGROUP group

Original issue reported on code.google.com by jonb...@gmail.com on 4 Jul 2009 at 4:43

GoogleCodeExporter commented 8 years ago
thanks for the hint, currently there are no plans to add such a feature.

Original comment by anti...@gmail.com on 23 Oct 2009 at 12:42