-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am wondering if there is any option (or any idea to implement it) to
somehow set an eviction order when memory is full.
That would be useful, for example, to store session data in PHP +
memcached.
If I could set that any other data rather than sess
As far as I'm aware, memcached itself does not provide any way to do this.
The way Facebook accomplishes something similar (as discussed in our NSDI
paper: https://www.facebook.com/publications/459945140743614/) is to divide
our memcached boxes into pools of servers for different use cases. For
exa
Thank you, I though on that, but that will add a bit more of complexity.
Despite it is a good aproach.
I've already implemented namespaces (lib publicly available via github) and
will look at a simpler way to do that, but again thanks for pointing me in
that direction :)
On Friday, February 14
Stupid offhand idea:
If your data tends to fit into different size buckets (ie: sessions are
always this large, other things are always that large), memcached
internally has an LRU bucket per chunk size. You can use slab rebalance to
adjust how much memory each bucket has available. Could force th
I've created a library which implements pools, namespaces and automatic
resource creation, for compatibility with both, enabled and disabled cache
in PHP.
It works with PECL-Memcached extension, but it is compatible even in sites
without it installed without causing errors, as long as any serve
what does it mean
#风起看云涌,叶落品人生#
2014-03-26 14:28 GMT+08:00 StormByte :
> I've created a library which implements pools, namespaces and automatic
> resource creation, for compatibility with both, enabled and disabled cache
> in PHP.
>
> It works with PECL-Memcached extension, but it is compatibl