[ccache] memcached with ccache
tardyp at gmail.com
Mon Jun 24 11:56:35 MDT 2013
I updated the pull request, with code that makes it have similar
performance as with fs:
Please note that this mode is only useful when running ccache in lots of
servers which are sharing their cache in a memcached cluster (typically run
on the same servers)
This is supposed to increase the overall hitrate, as there will always be
another server that already compiled the same file.
For this usecase, ccache doc recommend to share the ccache db via NFS,
which is obviously less efficient in term of scalability. There is no more
the one nfs server bottleneck.
Tomorrow, I'll run more bench with building Android.
On Thu, Jun 20, 2013 at 11:03 PM, Pierre Tardy <tardyp at gmail.com> wrote:
> Back in 2010, there has been some question about supporting memcached as a
> backend for ccache:
> Looks like this thread hasn't result in code, and I did take a few days to
> make an attempt at it.
> Here is the first working code:
> Very first bench on my laptop is:
> self compiling ccache:
> 200ms with fs
> 800ms with memcached
> I'll make more bench on our cluster in the next few days.
More information about the ccache