Comment #2 on issue 230 by [email protected]: timer accuracy v one
shot timer v expiry time (issue_163.t)
http://code.google.com/p/memcached/issues/detail?id=230
No problem; I had to nail why it was happening to prove that it wasn't
my compiler
changes that were causing it.
Thanks; but I think maybe the way your time sampling system works
together with exptime might
cause problems for people more generally.
memcached/doc/protocol.txt defines exptime as:
'it is guaranteed that clients will not be able to
retrieve this item after the expiration time arrives (measured by
server time).'
I don't know if you define server time any where, but I guess people
wouldn't
expect the sampled 1 second timing system, and it's effect that it could
actually hang around for almost 2s - although I guess people rarely
use that short/precise expiries in practice - it's just the word
'guaranteed' is pretty
strong.
Dave