sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.14k stars 207 forks source link

compute servers: make it so some standard cache/local package directories are ALWAYS automatically "fast local directories" no matter what #7530

Closed williamstein closed 2 months ago

williamstein commented 2 months ago

Basically, a huge source of problems with compute servers are users having data in ~/.local and ~/.cache, which gets picked up by the compute server in some cases. This is bad, because of slow network issues, and also the architecture of the compute server can be completely different than the main project or another compute server (e.g., ARM vs x86 vs GPUs, etc.). Let's just make it automatic that these are explicitly always fast local directories.