Link to home
Start Free TrialLog in
Avatar of headzoo
headzoo

asked on

Memcache and Slab Size

Hi,
I'm trying to better understand how memcache's slabs work. Currently I'm storing thousands of very small items in memcache, and many are expiring way too soon. When I look at the stats, it shows memcache still has plenty of available memory.

So I'm wondering.. When memcache receives an item, and decides it should go into slab 7, does it evict items in slab 7 if that slab is full , even though memcache itself still has plenty of available memory? Or does it create a new slab, and store the item in there, leaving the existing items in slab 7 untouched?
Avatar of ComputerTechie
ComputerTechie
Flag of United States of America image

I object I answer the quesion and did not get a response.

CT
ASKER CERTIFIED SOLUTION
Avatar of ComputerTechie
ComputerTechie
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial