12-04-2023, 06:38 PM
Hi all,
Short story: is there anyone who has experience with persisting IntraWeb sessions on different server machines?
Long story: we have an IntraWeb ISAPI application which is deployed on multiple servers, using a load balancer (and cookies) to distribute the users over the didferent server machines. Normally, this works great. However, when one of the servers goes down, the users have to restart their session on another server. We wonder if it's possible to store the server information (IntraWeb forms, data modules), the User Session information, etc. and to restart a new session at another server re-creating everything that was alive in the original server right before the crash.
This would mean storing everything in the user session (as well as the formlist and details) in a database for example, and reading it when needed. Hopefully, not often.
Although this certainly sounds doable, I wonder if people have tried this before, and/or have strong doubts about the feasibility of this endavour. Note that we still plan to continue using the load balancer, so the sessions will be redirected to the correct server most of the time, it's just that we want to have a failover mechanism so people can continue their work (perhaps after a few seconds of reloading/recreating everyting).
And yes, preventing the crash (or "ping timeout" in our case) should be the best solution, but if never hurts to have a failover option in the first place.
Thanks in advance for any comments, hints or feedback.
Groetjes, Bob Swart
Short story: is there anyone who has experience with persisting IntraWeb sessions on different server machines?
Long story: we have an IntraWeb ISAPI application which is deployed on multiple servers, using a load balancer (and cookies) to distribute the users over the didferent server machines. Normally, this works great. However, when one of the servers goes down, the users have to restart their session on another server. We wonder if it's possible to store the server information (IntraWeb forms, data modules), the User Session information, etc. and to restart a new session at another server re-creating everything that was alive in the original server right before the crash.
This would mean storing everything in the user session (as well as the formlist and details) in a database for example, and reading it when needed. Hopefully, not often.
Although this certainly sounds doable, I wonder if people have tried this before, and/or have strong doubts about the feasibility of this endavour. Note that we still plan to continue using the load balancer, so the sessions will be redirected to the correct server most of the time, it's just that we want to have a failover mechanism so people can continue their work (perhaps after a few seconds of reloading/recreating everyting).
And yes, preventing the crash (or "ping timeout" in our case) should be the best solution, but if never hurts to have a failover option in the first place.
Thanks in advance for any comments, hints or feedback.
Groetjes, Bob Swart