binary protocol time representation

Dustin Sallings dustin at
Thu Jul 12 17:03:54 UTC 2007

On Jul 12, 2007, at 9:48 , Ask Bjørn Hansen wrote:

>> 	Does anyone expire based on absolute time?  In those cases, is it  
>> difficult to compute the duration until that time occurs?  If it  
>> is, can it be the job of the clients to provide this shortcut?
> Of course it's not hard - but it seems silly to implement it in  
> every client library or - worse - in every application that needs  
> it.   Is it hard for the server to do?

	Well, that was the first part of the question.  Does anyone use it?

	Right now, it seems even more complicated for the client.  If I want  
to cache something for 45 days, I have to calculate what the date  
will be in 45 days since the meaning changes at 30 days.

Dustin Sallings

More information about the memcached mailing list