Is the local cache thread safe to share across mul...
# general
g
Is the local cache thread safe to share across multiple processes? We have about 24 ADO agents running on a single EC2 instance (m6id.8xlarge) and I'd love to be able to share the local cache across the agents (which currently have their own home directory) to improve performance. I am also using remote caching, but that doesn't totally optimize pants loading, etc.
b
Yes
g
@bitter-ability-32190
$HOME/.cache/nce
and
$HOME/.cache/pants/named_caches
and
$HOME/.cache/pants/lmdb_store
? I just want to be explicit so I'm not running down the wrong path.
I'm going to start by setting XDG_CACHE_HOME to a shared location. Each of the users are in the same group. I might have to change umask...
b
Every cache should be multiprocess safe 😀
👍 1