Let’s say I have a production system with multiple network application servers for redundancy,
and the application they run is deployed in the
/nix/store. Is there any reason to duplicate the
store between all the servers?
What would happen if all the application servers had the nix store mounted as read-only, while the rest of /nix was of course, per server i.e. not shared.
Would this be easy to setup? Does it have any potential pitfalls? Theoretically, the nix store paths are read-only, so it seems as if there’s no problem, and yet I haven’t come across a case of such a deployment, and I wonder why is that.
Thanks for the help!