pkgx icon indicating copy to clipboard operation
pkgx copied to clipboard

is it possible to use a shared volume for caching? is it concurrency safe?

Open tuananh opened this issue 1 year ago • 1 comments

is it possible to use a shared volume for caching? is it concurrency safe?

like in CI. if i used a volume to mount and share between CI jobs, is it ok?

tuananh avatar Dec 20 '24 03:12 tuananh

You can set PKGX_DIR to change the location.

We are concurrency safe via rust’s flock APIs, so I doubt this works across separate machines. We are open to improving this. What do other cross-machine concurrency safe approaches do?

mxcl avatar Dec 20 '24 18:12 mxcl