Binary Protocol...

Sean Chittenden sean at chittenden.org
Wed Dec 8 20:31:16 PST 2004


>>>>     If Bit 2    of the Options 1 Byte is set, this value specifies 
>>>> the
>>>>     expiration of a key in seconds from the Epoch.
>>> Either "from the UNIX Epoch" or "in seconds since Dec 31, 1969 at 
>>> 23:59:59 GMT", please.
>>
>> This lets us specify a relative vs absolute time using relative 
>> expiration times greater than a month.  Not sure what your concern 
>> here is...
>
> My reading of the concern is that just "the Epoch" is too vague, he 
> wants to be more specific, with one of the terms he's suggested.  
> Different systems have different "Epochs".  The Mac OS (not OS X) 
> epoch is January 1, 1904, in the system's local time zone, for 
> example.

Ah!  Sorry, I missed that that was the concern.  The current definition 
of "epoch" in the memcache/*NIX context: Jan 1, 1970.  -sc

-- 
Sean Chittenden



More information about the memcached mailing list