I have run it since last Friday, so far no crash. As I have finished the
haproxy works today, I will try a compare test for this LRU works tomorrow
as following:
There are two servers(Centos 5.8, 8cores, 8G memory) in the dev
environment, Both of server run 32 memcached instances(processes)
I don’t think there’s a way to figure out when a given key was written. If
you really needed that, you could write it as part of the data you stored,
or use the ‘flags’ field to store a unixtime timestamp.
You can get the age of the oldest key, on a per-slab basis, with ‘stats
items’ and looking
The only data stored are when the item expires, and when the last time it
was accessed.
The age field (and evicted_time) is how long ago the oldest item in the
LRU was accessed. You can roughly tell how wide your LRU is with that.
On Mon, 12 Jan 2015, 'Jay Grizzard' via memcached wrote:
I
That sounds like an okay place to start. Can you please make sure the
other dev server is running the very latest version of the branch? A lot
changed since last friday... a few pretty bad bugs.
Please use the startup options described in the middle of the PR.
If anyone's brave enough to try the
Ack! You are, of course, right. I looked at the protocol documentation and
completely failed to engage my brain enough to realize that the protocol
documentation is… imprecise. Or at least unclear. Or at least lacks an
appropriate definition of ‘age’.
My bad!
-j
On Mon, Jan 12, 2015 at 12:14
Hi All,
I am new to memcache and need to know is there a where to work out when
the key was written to memcache and calculate the age of the oldest key on
our memcache?
Kind Regards
Gurdipe
--
---
You received this message because you are subscribed to the Google Groups
memcached group.