Re: [ccache] Using ccache with memcached

2015-12-07 Thread Pierre Tardy
> > > that isn't what i meant. i don't care about runtime config options but > about (1) the code and (2) build time control. fs should remain in the > source and memcache should be an additional configure flag which allows > the user to select it at runtime. > Ah, ok then we are on the same

Re: [ccache] Using ccache with memcached

2015-12-06 Thread Mike Frysinger
On 02 Dec 2015 20:16, Pierre Tardy wrote: > > i don't think getting rid out of the fs makes sense, but having memcache > > be available dynamically as an additional layer sounds fine. > > It does make a lot of sense for me as I have a high performance network, > which is faster than local

Re: [ccache] Using ccache with memcached

2015-12-06 Thread Anders Björklund
Pierre Tardy wrote: >> Here is such an attempt, to keep *both* features available: >> https://github.com/itensionanders/ccache/tree/memcached-only > > I like it very much. I think it adds great value for ccache, and to my > old memcached-only attempt. Yeah, if it doesn't bloat the code

Re: [ccache] Using ccache with memcached

2015-12-06 Thread Anders Björklund
Den 2015-12-07 kl. 04:48, skrev Mike Frysinger: > On 02 Dec 2015 20:16, Pierre Tardy wrote: >>> i don't think getting rid out of the fs makes sense, but having memcache >>> be available dynamically as an additional layer sounds fine.. >> >> It does make a lot of sense for me as I have a high

Re: [ccache] Using ccache with memcached

2015-12-04 Thread Anders Björklund
> The option to switch the to_cache/from_cache can be made available > separately, like it was in your PR. But it can use another config ? > Probably needs some updating and refactoring, and it would be nice > to try and keep the code duplication between them to a minimum... > > i.e. between the

Re: [ccache] Using ccache with memcached

2015-12-02 Thread Mike Frysinger
On 01 Dec 2015 21:59, Anders Björklund wrote: > Pierre Tardy made a PR (https://github.com/jrosdahl/ccache/pull/30) > to replace the filesystem ("fs") cache with memcached altogether. > > We have gone with a different approach, to use memcached only as a > secondary cache - while preserving the

Re: [ccache] Using ccache with memcached

2015-12-02 Thread Pierre Tardy
> > > i don't think getting rid out of the fs makes sense, but having memcache > be available dynamically as an additional layer sounds fine. > It does make a lot of sense for me as I have a high performance network, which is faster than local harddrive. So I would insist on keeping an option for

Re: [ccache] Using ccache with memcached

2015-12-02 Thread Anders Björklund
Pierre Tardy wrote: > > i don't think getting rid out of the fs makes sense, but having memcache > be available dynamically as an additional layer sounds fine. > > It does make a lot of sense for me as I have a high performance network, > which is faster than local harddrive. So I would

[ccache] Using ccache with memcached

2015-12-01 Thread Anders Björklund
Hi all! While the idea of using memcached with ccache is nothing new (*), it seems to be more popular now with more memory being available... * https://lists.samba.org/archive/ccache/2010q4/000686.html https://lists.samba.org/archive/ccache/2013q2/001120.html Pierre Tardy made a PR (https

Re: [ccache] Using ccache with memcached

2010-12-01 Thread Martin Pool
Wilson Snyder wsny...@wsnyder.org wrote: I think it would be a pretty interesting idea. Obviously you would need to trust all the other clients writing into the cache, but that's probably feasible in this environment. A shared cache kept entirely in ram might grow fairly big, but it's not so