Jason T. Greene wrote:
>
>
> What I'm driving at is both of these efforts leave me with a queasy
> feeling about adding new and different ways of opening sockets and
> communicating around a cluster. OK if needed as an advanced
> optimization for the real hard core cases, but IMHO there's a lot of
> value in keeping it simple by default.
>
Something like this could definitely be done in a simple and automated
way. It would just make the connection only when it needs it. So
really the only headache is firewall, and that can easily be
controlled by setting a static port or disabling the feature.
Streaming state transfer has bind_addr (overridden by system property)
and bind_port. If you don't set bind_port (I mean a value other than 0),
then the OS picks the port. This could be used to secure/pin down a
connection wrt firewalls
--
Bela Ban
Lead JGroups / Clustering Team
JBoss - a division of Red Hat