mnesia - In Erlang, what is the best way to upgrade a distributed system? -
If I have many web servers running in ERP (load balanced) and MANICEIA used for backend database , The best way to upgrade the whole system to the new version?
Although Ergon supports hot code loading, it is not necessary to use something in your case It is easy to remove a node once from the load-balancer, restart it to run the new code and put it in the load-balancer.
You should also take the nodes if you want to hot-upgrade to the new Erlang / OTP release in your live system, then be prepared to do this.
But the real problem that can bubble for you is those concerns that come from Mainecia. I think that you should ask with a special question what does maniaia want to do if there are no schema / table-changes, and you just want to move one node down and add it later or if you are actually in the tables New table or new columns are presenting the Mennica table gives the ability to add and remove nodes with replicas, and also mnesia: transform_table / 3,4
.
Comments
Post a Comment