Skip to main content
Deepak Kumar Padhy
Inspiring
May 31, 2014
Question

Does code level changes are required for moving to clustering enviroment?

  • May 31, 2014
  • 1 reply
  • 609 views

My client wants to move to a ColdFusion clustering environment for better availability and scalability of the site. I know how to setup clusters and instances in the ColdFusion Admin. We should also use J2EE session mgmt for sticky sessions.

But I am not sure of other code level changes required while moving from a single server to clustering environment.

Anyone having any experience please suggest? Or any helpful links that I can prefer?

I have asked the same on SO but did not got any response . Any help would be greatly appreciated.

This topic has been closed for replies.

1 reply

vishu_13
Inspiring
June 2, 2014

Hi Deepak,

When you setup a cluster environment you don't make any change in your Application. For example you do not change the way your Application looks. You just create cluster of ColdFusion instances so that your Application is served by these instances in a cluster.

So as such, there is no code change required.

HTH

Thanks
VJ

pete_freitag
Participating Frequently
June 3, 2014

I wouldn't say that no code changes are required 100% of the time, but in many cases you do not need to make any code changes. It really depends on what assumptions were made when developing the application. For example if you have an in memory cache that needs to be flushed when records are changed, you can't rely on that to work when more than one instance of the application is running without making coding changes.