4 ms·
Is Redis/memcached actually a good fit for C++ object cache? C++ object files may have relatively large size (megabytes).
by tdiff 3y ago
Is Redis/memcached actually a good fit for C++ object cache? C++ object files may have relatively large size (megabytes).
- sgammon 3y agoOur experience with this at Buildless is that remote caching loses profitability past 100mb or so. As a result, we impose reasonable caps which force a recompilation for the largest outputs, and it ends up being faster. Just our experience and of course mileage varies by project. Redis can do 512mb values but the cap needed for efficiency’s sake is much smaller than that.
- tdiff 3y agoInteresting, I thought the threshold would be smaller (did not check that).