3 ms·
On BEAM/OTP you can control how state is handled at code updates. Finicky but you can. In most other contexts you'd externalise state to a data store like Redi
by cess11 2y ago
On BEAM/OTP you can control how state is handled at code updates. Finicky but you can.
In most other contexts you'd externalise state to a data store like Redis or RDBMS, and spawn one, kill one or do blue-green in the nebula behind your load balancer constellation.
- mtndew4brkfst 2y agoBEAM hot code deploys are a vanity tactic in most business verticals, not worth the time and energy to most - nor are they something you can feasibly implement at a polyglot organization. Rolling deploys behind an off the shelf load-balancer setup is perfectly adequate for an overwhelming number of the businesses who'll adopt Elixir for web dev.