Has any one used cache on nfs server. I just confi...
# general
s
Has any one used cache on nfs server. I just configured Jenkins with kubernetes pods as agents and /root/.cache/pants on nfs server but I am disapointed by the performance. Maybe NFS is not such a good use for caching due to many files in tha cache?
1
e
The
~/.cache/pants/lmdb_store
portion of the cache definitely won't work over NFS. See more here: https://github.com/pantsbuild/pants/issues/14599#issuecomment-1051182009
s
Thanks John, Is the recomended way of cache reuse to implement remote caching or there are different options.
e
It is. The remote caching protocol is open (https://github.com/bazelbuild/remote-apis) and there are several open source implementations. You can also use several service providers, Toolchain being the one many of the core maintainers work at: https://toolchain.com/product
s
Thanks
Managed to setup buildbarn, testing how it performs