On Mar 15, 7:19 am, Alexandre Ladeira <[email protected]>
wrote:

> I'm using curr_items statistics. I have an memcached counter to know
> how many users are online, the problem is that after 20 min objects
> are removed from cache, and the counter decreses for each remove. I
> don't know why this is happenning, could you have some clue? Thanks
> for your reply.

  Do you mean you're trying to use curr_items to know how many people
are logged in?  That can't possibly work for two reasons:

  1) You will eventually start using memcached for other stuff, or
split the data you store into multiple keys.
  2) curr_items can't give you an accurate number of items in
memcached without visiting them all (so it estimates to be fast).

Reply via email to