Multi-Instance Deployment

You might say

Run several instances to share requests, but keep users logged in when their next request reaches another instance.

Multi-instance deployment runs multiple instances of the same service that receive requests together.A load balancer can send requests to instance-a and instance-b, so another instance can serve traffic when one restarts. If a login session lives only in one instance's local memory, a user may be logged out after the next request reaches another instance; the state must be shared or externalized. Multiple instances can improve service redundancy and throughput, but they do not automatically make a database highly available or solve concurrency coordination and consistency.
Multi-Instance Deployment
Further reading