Aug 31 2009

Is ColdFusion Clustering Relevant & Beneficial? - Yes

Posted by Mike Brunt at 7:19 AM Web Servers | ColdFusion | JRun-J2EE

 

After I explain that ColdFusion clustering does not cluster the external web server, clients, understandably are perplexed and wonder what good ColdFusion clustering is to them.  Because, with only a single web server, even with multiple ColdFusion instances (servers) clustered which the external web server is pointing to, if the external web server fails, there is still that single point of failure.  This is totally true, the external web server (IIS, Apache etc) needs to be clustered, for high availability (HA).  Clustering delivers two benefits, in order or importance:

1/ High Availability/Redundancy: Eliminating the single point of failure, this will always be the main reason for clustering and once we go from 1 instance/server/switch/router etc to 2, we have achieved a truly quantum leap.  Adding additional pieces of equipment, beyond 2, gains little if anything in terms of improved HA.

2/ Load Balancing: Here we are spreading the request load across more than 1 instance/server/switch/router etc in order to improve performance.  Adding more than 2 in load balancing situations will give you more or less a linear growth,  in capacity.

So, is there any benefit to having ColdFusion instances clustered? The answer is definitely, yes. Here are the things we have helped clients with by clustering ColdFusion multiple instances, in order of the most benefit first.

 

  • JVM Resources (on 32 bit machines in particular) - Due to contiguous memory limitations on 32 bit operating systems we can effectively only set the maximum heap size to 1.2GB, setting it higher can cause instability.  By creating multiple instances and clustering them we gain access to more system resources, in this case each instance can have 1.2GB.  Obviously we have to pay attention to overall RAM on the system but in most cases we could at least double our resource availability by clustering ColdFusion instances.  We also recommend that the Round Robin with Sticky Sessions algorithm be used and Session Replication be avoided.
  • Slow Running Code - Sometimes there is code in an application that runs infrequently and for some reason cannot be re factored but which causes slowness whenever it is running, examples might be calls to external services which always run slow.  Having two or more instances clustered can mitigate this to a certain extent as if this is infrequently running code the chances of impacting every user on your site is reduced.  As a note point, the best way to deal with this situation is to encapsulate it into its own instance(s).

 

These are good reasons to use clustering in ColdFusion and we wrote a paper for Adobe on how to install ColdFusion Enterprise and cluster it.  

Should you require assistance to cluster ColdFusion please feel free to contact us. 

 

Comments

Real carrie prejean sex tape

Real carrie prejean sex tape wrote on 09/08/10 1:26 PM

Your Site Is Great!, <a href= http://plone.org/author/carrieprejeansextapes >carrie prejean sex tape free</a>, [url= http://plone.org/author/carrieprejeansextapes ]carrie prejean sex tape free[/url], xtu,
Cheapest no credit check student loan

Cheapest no credit check student loan wrote on 10/09/10 3:33 PM

So where it to find?, <a href= http://transworld.net/author/nocreditcheckstudentloan#1 >no credit check student loan for you</a> [url=http://transworld.net/author/nocreditcheckstudentloan#1]no credit check student loan for you[/url], 16781,
casino

casino wrote on 11/12/10 4:30 AM

Coldfusion is something that can really help me.
Custom flag

Custom flag wrote on 07/12/11 3:00 AM

ohh man this is awesome post.i think they should usebanner to get more flow in look.
you know this is great working by the writer.The writer has done a great job in speniding his time in
research about this article. can i subscribe all his posts ?
I am really happy to read this. i was searching this from last two months and atlast i got it. hurrah..!!
lzy

lzy wrote on 11/11/12 7:57 PM

These handbags fashion, beautiful, great atmosphere
401kloansguide.com

401kloansguide.com wrote on 01/04/13 8:19 PM

I would like to say thank for sharing this great article. We can’t get this kind of information from anywhere.
thecreditcounselingservices.com

thecreditcounselingservices.com wrote on 01/04/13 8:19 PM

This is very good blog which has explained about Fibromyalgia Network. I am really very happy after getting this blog.
creationfinance.eu

creationfinance.eu wrote on 01/04/13 8:20 PM

When I read the title of your blog I became very much surprised but after reading whole blog, I understand this properly. Really very interesting content.
expressfinance.eu

expressfinance.eu wrote on 01/04/13 8:21 PM

How can we avoid Fibromyalgia? It is very painful diseases.
financeplanner.eu

financeplanner.eu wrote on 01/04/13 8:21 PM

Can you share some more detail of chronic pain? I really like to see.
financecourses.eu

financecourses.eu wrote on 01/04/13 8:22 PM

I have read your post and I am waiting for another interesting post. Please update useful information on your blog.
Replica breitling

Replica breitling wrote on 06/04/13 2:27 AM

Just wear one of these beauties to a party and see the attention you will be receiving. You do not have to approach any women.
Andrew

Andrew wrote on 06/05/13 8:35 PM

If this means that there'll be no more or minimized downtime error, then, this is good news!
plan for leaving rural land

plan for leaving rural land wrote on 06/17/13 5:28 AM

Fantastic blog post. I used to be checking constantly to this weblog & I am so inspired! Very educational info..
Breiting Replica

Breiting Replica wrote on 06/18/13 12:59 AM

I am so glad this internet thing works and your article really helped me. Might take you up on that home advice you.
Alyssa Roy

Alyssa Roy wrote on 06/18/13 7:47 PM

I agree that clustering is important and relevant. This will prevent any downtime error (hopefully...), right?
tech schools

tech schools wrote on 06/25/13 3:52 AM

I would like to say thank for sharing this great article. We can’t get this kind of information from anywhere.
Thomas Peart

Thomas Peart wrote on 07/25/13 1:35 PM

I would like to say thank for sharing this great article. I just hope you can share more updates regarding ColdFusion. I haven't used this one but I have a friend who does! Thanks!
John Tyrone Williams

John Tyrone Williams wrote on 08/01/13 4:44 PM

ColdFusion is really very beneficial especially if there are codes in an application that runs infrequently and it ColdFusion corrects that.
Joshua Adams

Joshua Adams wrote on 08/12/13 4:52 PM

Thanks for the info. But, I still have to convince myself how Coldfusion clustering can work for us and the benefits we will gain. Thanks again!
Anthony Lee James

Anthony Lee James wrote on 08/15/13 9:45 PM

I tried ColdFusion Clustering and, yes, it's relevant and beneficial to everyone!
listing directory of US lawyers

listing directory of US lawyers wrote on 08/29/13 1:41 PM

Whether we like it or not, ColdFusion clustering is really very relevant & beneficial especially nowadays that many people are into web application development platforms and ColdFusion is the most popular of all.
US online lawyer listings

US online lawyer listings wrote on 08/29/13 3:24 PM

Me, too. I don't really understand why ColdFusion clustering is good for us. But, you have explained it here and I'm very thankful for that!
workers rights

workers rights wrote on 09/08/13 7:03 PM

Clustering can also make loading run faster, right?
slips and falls accidents

slips and falls accidents wrote on 09/12/13 1:57 PM

I just hope these benefits will be experienced by many once they have utilized clustering for ColdFusion.
adoption cases attorney

adoption cases attorney wrote on 09/22/13 6:24 PM

We've tried ColdFusion clustering and it really did us fine. In fact, it was great!
employment contracts

employment contracts wrote on 09/25/13 5:46 PM

Sometimes, parallax scrolling can also contribute to the slow response.
seek legal representation

seek legal representation wrote on 09/25/13 6:08 PM

Thanks for your information regarding Coldfusion clustering!
business valuation disputes

business valuation disputes wrote on 10/09/13 5:41 PM

I may take your word for this one. But, I'm willing to try coldfusion clustering on my own. Thank you.
learning laws on divorce

learning laws on divorce wrote on 10/09/13 5:55 PM

Relevant and beneficial? Yes, of course, it is!
How To Make a man Fall In Love With You

How To Make a man Fall In Love With You wrote on 12/03/13 5:46 PM

thanks , I'll try your info on my own ,but it's a little hard for me.thank you again.
http://www.howtomakeamanfallinlovewithyou.org/
mercurial

mercurial wrote on 05/20/14 9:48 AM

The main three varieties of base ball shoes http://www.mercurialfootball.com manufacturer as well as vendors would be the Nike and The puma corporation.A number of the less popular producers that will participate in the production of basketball footwear include http://www.mercurialixsoccer.com Lottery.Exactly why the 1st little league footwear were known simply by all http://www.mercurialcr9.com of the individuals.
clothing manufacturer

clothing manufacturer wrote on 07/04/15 4:13 AM

Coldfusion is something that can really help me.
www.forexlaboratory.org

www.forexlaboratory.org wrote on 07/28/15 5:34 AM

Before buying FOREX, you will need to draw a suitable investment method. The FOREX TRADING investor earns a whole lot when given sufficient time to manage of want to do. The harder organized you might be, have a better chance regarding succeeding.
www.belizerealestatecenter.org

www.belizerealestatecenter.org wrote on 07/28/15 5:35 AM

Belize real-estate is a totally different and completely unique real est experience. This must not be a surprise if the country offers of the diverse community, which can be an amazing fusion of varied cultures and also languages.
www.beauty-queen.org

www.beauty-queen.org wrote on 07/28/15 5:35 AM

If the lights switched-on around the stage, the particular moods regarding drowsiness and also tiresome faded. The beauties around the luminous program appeared as well as the crowds thundering applause filled mid-air.
シャネル激安

シャネル激安 wrote on 10/24/15 3:39 AM

シャネルコピー、本物と同様です、シャネル激安非常に人気があります
財布、腕時計、靴、眼鏡、ピアス、バッグ一覧
日本一流品質のシャネルバッグ
シャネル財布
シャネル腕時計
シャネル靴
シャネル眼鏡
シャネルピアス新作最新入荷
人気シャネルコピー、N級ブランドシャネルのお求めはぜひ当店へ
シャネル全世界通信販売は6年前から行っております。
Microsoft Office 2016 Activator

Microsoft Office 2016 Activator wrote on 05/03/16 8:25 AM

Yes! Finally something about how to fix lower back
pain without drugs or surgery.
cheats for csr racing

cheats for csr racing wrote on 05/25/16 5:33 PM

I was searching the blogs for a long time and that is good to know that I have found such blogs here. Great working! Keep it up!