binary protocol time representation

Ask Bjørn Hansen ask at
Thu Jul 12 16:48:59 UTC 2007

On Jul 12, 2007, at 9:38, Dustin Sallings 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?

The time-zone argument doesn't make any sense - that's the task of  
the client to figure out anyway.  If the client has a hard time  
figuring out the unix epoch but "in how many seconds is that?" is  
easy to calculate then it can already do that.

(Not that I care much either way).

  - ask

-- -

More information about the memcached mailing list