[ccache] Testing memcached for a shared cache
anders at itension.se
Sun Jan 10 21:56:05 UTC 2016
We are now getting ready to test the "dev/memcached" branch:
It allows you to share your cache between different machines,
without having to use a shared filesystem like NFS to do it.
You have the option of using memcached in the normal fashion,
easing up the load on the "backend" (distcc rather than SQL).
Or you can use "memcached only", avoiding the disk access*.
*Currently the local filestore is still used for direct mode.
See http://memcached.org for more information about the server.
You will also need libmemcached for the client (i.e. ccache).
Then you set up your memcached(3) configuration like so:
Now the cache will be shared by all ccache clients using the
same memcached server(s), increasing your ccache hit rate!
Here are some basic instructions how to set up for testing:
Please add your feedback, by replying here - or in the PR:
More information about the ccache