3 ms·
only works if your application consists of stateless requests (like http traffic). If your application require a persistent connection (e.g., you're a real tim
by chii 4y ago
only works if your application consists of stateless requests (like http traffic).
If your application require a persistent connection (e.g., you're a real time streaming service, or video), you will have to write some application specific code to migrate the current state over to the new cluster being provisioned. This is actually quite hard to get completely right, and quite application specific (i mean, a very simple method would be to store some sort of identifying token, and when the new connection re-establishes, you reload the state back from when the disconnection happens).
Erlang lets you do this for "free".