This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
What do you think about Session Replication? Is it the pure headache as I know it or is it worth to put tons of work to get Session Replication to work as it should.
I worked as a Applications Operations Specialist for big webapplications. They were supposed to replicate their sessions to avoid any outage for the customers during restarts/outages/so on. It sometimes worked and usually put other unwanted side-effects to the portal.
I'm interested in your opinion.
Cheers, Thomas [ January 17, 2006: Message edited by: Ilja Preuss ]
We use WebSphere session persistence to UDB. Is that the kind of thing you mean? We had a rough start because our vendor framework put some VERY large objects on the session. Since we got rid of those it works fine. We can stop and restart one sick node in the cluster with almost zero user impact.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
One has to consider the risks and benefits. If a session is persistent, then it is possible to retain the session if a failover occurs. It is also possible for the user to rejoin their session if their app server fails and they failover to another server. These are valuable benefits. But a persistent session is inevitably more resource-intensive. I have seen it work well - even with a home-grown approach. On the other hand, since node failure is rare, it might be more cost-effective to simply restart the session. This would especially be true if the end user is not human (machine-to-machine) or if session content is minimal. If the session persistence mechanism is problem-ridden, it is almost certainly not worth it. I see no inherent reason why it should be problem-ridden though.