Tag Function

NTPT NTPT at seznam.cz
Thu Apr 3 10:43:46 UTC 2008


Any plan to merge tag functions to mainline and to PHP extensions ? 

>  ------------ Původní zpráva ------------
>  Od: André Cruz <andre.cruz at co.sapo.pt>
>  Předmět: Re: Tag Function
>  Datum: 03.4.2008 12:24:41
>  ----------------------------------------
>  On Mon, 2008-02-25 at 16:03 +0800, Du Song wrote:
>  >  What about tweak the code a bit to match the community proposal[1]
>  > about tag function last year? for Liu's code, that is
>  > 
>  > 1. changing from
>  >    tag_add tag key1 key2 ...
>  > to
>  >    add_tag key tag1 tag2 ...
>  > which may be more common in daily usage,
>  > 
>  > 2. renaming from
>  >    tag_delete
>  > to
>  >    invalidate_tag
>  > which prevents misunderstanding.
>  > 
>  > I wonder if changes above will help adding this as an experimental
>  > feature in the future release since (i guess) lots of ppl (incl. me)
>  > demand this tag thing so much. :P
>  
>  I also propose a new function to alter the expiration time of all the
>  keys with a given tag:
>  
>  freshen_tag new_expiration tag1 tag2 ...
>  
>  This would be useful in situations when we have multiple data about the
>  same "thing" and we want to keep the expiration time consistent.
>  
>  Best regards,
>  André Cruz
>  
>  
>  
>  


More information about the memcached mailing list