开发者

Is Session Replication ColdFusion 9 still not recomended?

开发者 https://www.devze.com 2022-12-22 20:46 出处:网络
Is seems that Session Replication in ColdFusion servers less that 9 was considered not开发者_如何学JAVA something to do on high scale apps. Instead the basic path would be to use round-robin and stick

Is seems that Session Replication in ColdFusion servers less that 9 was considered not开发者_如何学JAVA something to do on high scale apps. Instead the basic path would be to use round-robin and sticky sessions.

Is this still the case for CF9 or has Session Replication been improved.


I've used session replication on high scale apps with no problem. We have 2-4 instances of ColdFusion on a single server, then multiple physical servers. On top of that, we used sticky sessions to keep sessions on a single instance using round-robin on the load balancers.

If a session died, the session rolled over to another instance on the same physical server and the user was redirected to that instance, unknown to them. If the physical server died, then the load balancer would connect them to another physical server where they would most likely have to login again.

Now, we had some tricks up our sleeves that let us recreate a user session across physical servers too, but that required SiteMinder to manage the overall authentication situation.

The only issue with session replication prior to ColdFusion 9 was that any objects (CFCs) that were stored in session could not be replicated across instances. CF 9 fixed all that.

0

精彩评论

暂无评论...
验证码 换一张
取 消