-
1. Re: URGENT - Clustering without multicast
manik Aug 18, 2008 9:19 AM (in response to lords_diakonos)We haven't got a tried and tested clustering service on EC2 as yet, but you could try using TCP in JGroups, instead of UDP. Have a look at the JGroups website, there are docs and sample configs for using TCP instead of UDP.
-
2. Re: URGENT - Clustering without multicast
manakhan Aug 28, 2008 9:35 PM (in response to lords_diakonos)we've had very good luck with TCP clustering in production and in EC2 (which we use for dev and load testing) ... perf in EC2 seems to be more network bound, with sustained throughput topping out at 250 megabits for XL instances ... don't bother with the smaller instances as the bandwidth is less and the latency is higher. For 4 node clusters we were able to achieve roughly 90% of equivalent performance on real hardware (dual quad core at 2.0 GHz with 16 GB RAM) on EC2, though your mileage may vary. Overall, TCP is ok up to 8 node clusters n our experience (assuming gigabit) for read intensive apps. One other thing we did is to have dedicated bonded nics for the clustering traffic separate from client request traffic nics, and load balanced the VIPs across both the front and back planes. Hope this helps.
-
3. Re: URGENT - Clustering without multicast
manik Sep 2, 2008 7:06 AM (in response to lords_diakonos)Thanks for sharing, I'm sure this will help others trying to deploy JBC on EC2.
-
4. Re: URGENT - Clustering without multicast
neillturner Mar 3, 2009 10:49 AM (in response to lords_diakonos)Do you have a sample custer_service.xml for amazon ec2 using tcp clustering?
-
5. Re: URGENT - Clustering without multicast
brian.stansberry Mar 3, 2009 11:17 AM (in response to lords_diakonos)Bob McWhirter's doing lots of stuff related to running JBoss on the cloud. Have a look at http://oddthesis.org/theses/jboss-cloud
In particular, the presentation he gave at JBoss Virtual Experience covers some of this stuff beginning on slide 37. Link to blog post where you can get the presentation:
http://oddthesis.org/posts/2009-01-jboss-virtual-experience-presentation-slides