3 ms·
Yeah, I've seen that pattern around and also used it myself. Useful if you're using the disk a lot, for any purpose. Let's say you have 200 JS libraries that y
by diggan 6y ago
Yeah, I've seen that pattern around and also used it myself. Useful if you're using the disk a lot, for any purpose.
Let's say you have 200 JS libraries that you need to install dependencies, build and test for each commit. Making the JS dependencies install into a common cache directory into /dev/shm will easily speed up the install phase (and make the projects share dependencies cache fairly easily), and you could also make the test data (like fixtures) go through /dev/shm if you need it to.