3 ms·
Works pretty well for Nix
by bandrami 9mo ago
Works pretty well for Nix
- mananaysiempre 9mo agoAnd for Stow[1] before it, and for its inspiration Depot[2] before even that. It’s an old idea. [1] https://www.gnu.org/software/stow/ https://www.gnu.org/software/stow/ [2] http://ftp.gregor.com/download/dgregor/depot.pdf http://ftp.gregor.com/download/dgregor/depot.pdf
- bandrami 9mo agoI really liked stow. My toy distro back in the day was based on it.
- atmosx 9mo agoWorked pretty well in production systems, serving huge amount of RPS (like ~5-10k/s) running on a LAMP stack monolith in five different geographical regions. Just git branch (one branch per region because of compliance requirements) -> branch creates "tar.gz" with predefined name -> automated system downloads the new "tar.gz", checks release date, revision, etc. -> new symlink & php (serverles!!!) graceful restart and ka-b00m. Rollbacks worked by pointing back to the old dir & restart. Worked like a charm :-)