Ticket Details

missing bucket concept in memcached

ENHANCEMENT Ticket (closed)

I might be reading this wrong, but it seems like the memcache implementation won't allow to implement buckets. as in, store some data over in one set of memcache servers, and other in another memcache servers...
on 08.23.10 reported by: ddebernardy owned by: jperras

Updates

on 08.23.10 by ddebernardy
For reference:

http://serverfault.com/questions/63383/memcache-vs-memcached
on 08.23.10 by ddebernardy
Expanding on this one. We use it in WP as follows:

- global bucket contains users, usermeta, etc. basically everything shared between sites.
- local buckets contain site-specific data.
- session bucket (dunno if it's used on wp.com, but I do on my end) for sessions.

The key benefit is: if a memcache server goes down, the cache may become stale depending on the hashing strategy. By splitting things into buckets, you lessen the risk of getting a 100% stale cache on a server crash.
(wont-fix) on 10.08.10 by jperras
  • owner was changed to jperras
  • status was changed to closed
  • resolution was changed to wont-fix
You can always implement your own adapter for this. For the sake of simplicity and maintainability of the Lithium core, this is the recommended course of action at the moment.