users@glassfish.java.net

Re: Clustered setup (think Cloud) Glassfish v2 or v3?

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Mon, 15 Jun 2009 07:49:59 -0700

Hi Barry
Nice thread. :)
One issue with cloud environments is that they do not support multicast
traffic. And GF v2 relies on Shoal GMS's autodiscovery mechanism for
discovering cluster members whic relies on multicast support as of v2
release. We have added non-multicast discovery but that has not be
tested for production use yet. So that may be one of the issues with
using v2 on cloud env especially when using clustering and replication.

v3.1 is slated for next year around May or so.

--Shreedhar

Barry van Someren wrote:
> All,
>
> I've been using Glassfish for a few years now and am a strong believer
> in it's capabilities and stability along with Sun Web server 7.
> My experiences have mostly been with single server setups.
> Lately I've been working on setting up Java based hosting and I'm
> looking for some opinions.
> My hosting setup is based on a combination of Cloud Nodes (much like
> EC2 only with both monthly and hourly options) and physical hardware
> (for MySQL databases, since running these of a shared SAN is a bad
> idea)
> I was thinking that Glassfish is moving more and more into the
> direction of being an excellent cloud based hosting environment.
> (support for clustering out of the box, excellent management)
> Not just for Java, but also for PHP and Ruby.
>
> I'm wondering though, what pitfalls should I think about?
> -What about security? Is setting a good security policy and separating
> the threadpools enough?
> -Performance and isolation? (I vaguely remember Glassfish V3/Grizzly
> having more control over priority of requests for QOS)
>
> One thing that has me torn right now is that Glassfish V2 comes with
> excellent clustering/management support that will perfectly fit the
> bill.
> V3 on the other hand has more hosting options and has a great modular
> infrastructure which I'll probably build plugins for.
> I know V3.1 will be even greater, but should I wait for it? How long will it be?
> Is there a way that I can help out to get the clustering support into
> V3 quicker?
>
> Regards,
>
> Barry
>
>
>