using compression with Memcache PHP API

128 views
Skip to first unread message

Erik Schultink

unread,
Sep 2, 2008, 7:09:11 AM9/2/08
to memcached
We're using the Memcache::setCompressThreshold() to compress values -
but I don't have a good sense of the best way to tune the $threshold
and $min_saving parameters. Does anyone have experience/insight about
good values to use or a methodology for determining them? Obviously,
we're willing to trade a reasonable amount of CPU cycles on our PHP
servers for better network performance.

As far as workload, most of our values are PHP arrays for which
compression should provide fair savings (no JPG images or anything
like that).
Reply all
Reply to author
Forward
0 new messages