users@glassfish.java.net

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

From: Barry van Someren <goltharnl_at_gmail.com>
Date: Mon, 15 Jun 2009 17:31:45 +0200

Hi,

Ah, as far as I know there is no support for Multicast where I am
right now, except maybe for the IPv6 part.
I'll have to do some digging.
What level of Clustering is currently supported in V3 (I read that it
works with mod_jk, does that mean http session clustering? What about
EJB/RMI clustering?)

I don't "need" all the features from the V2 clustering (I could use
plain weighted HTTP/sticky loadbalancing, provision the nodes using
scripts.. etc) but I would like the cluster to be able to share HTTP
state and perhaps also EJB/RMI clustering.

Regards,

Barry


On Mon, Jun 15, 2009 at 16:49, Shreedhar
Ganapathy<Shreedhar.Ganapathy_at_sun.com> wrote:
> 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
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Barry van Someren
---------------------------------------
LinkedIn: http://www.linkedin.com/in/barryvansomeren
Skype: BvsomerenSprout
Blog: http://blog.bvansomeren.com
KvK: 27317624
irc: BarryNL @ FreeNode