Is there any best practice for deploying a new version of our app or restarting the server? Now if we deploy, every user is basically kicked and needs to restart the app. This could be very annoying.
One idea would be to show a notification to all online users that they need to save whatever they are doing and the prevent them from any editing. Then after some time we can deploy the new version and kick everybody. Same procedure if we need to restart the server. Using a load balancer, we could prevent new sessions on the specific server. This could be done using the health check.
I know this would be very complex but is there any option to move user states between servers?
Hi Bernhard,
here my solution: https://wisej.com/support/question/multiple-project
then the users use the old project without restart, until the next reopening
best
Cristian Zerbinati
When you replace an assembly the web server restarts. It’s not our web server and there is no way around it.
There are several ways to “gracefully” kick out users but they are all part of the application’s architecture and outside of Wisej’s scope.
Please login first to submit.