Suggestion for future version of memcached?
brianm at dealnews.com
Mon Jan 1 18:09:21 UTC 2007
Jehiah Czebotar wrote:
>> Also would be nice to see stats on ejected non-expired objects; but
>> that might exist already, I'm not sure.
> I hadn't thought of this; but i think two separate counters added to
> the stats might be quite useful (and easy to implement). One to show
> the number of elements ejected before they expired (via LRU), another
> showing the number of elements ejected after they expired. Then you
> could watch the rate of growth on both numbers and be able to gauge if
> your pool has enough memory or not.
I was just thinking about this the other day. We are concerned that
cache is not lasting as long as we thought and would like to see this stat.
It's good to be cheap =)
More information about the memcached