Re: [jgroups-users] FD/FD_SOCK

Questions/problems related to using JGroups <[email protected]> Tue, 19 Jun 2018 14:59:53 +0000
Newsgroups gmane.comp.java.javagroups.general
Message-ID <mailman.12497.1529420404.30729.javagroups-users@lists.sourceforge.net>
Hi Bela,

Thanks a lot.

On a different note, I am struggling to find information about how the protocols JGroups provide can be bundled up together, what is 
allowed and what it is not. I couldn't find anything online which states what makes a stack valid. 

I apologise if such info was around and I couldn't find it, I wouldn't be surprised if this was the 10E(10E)+ you were asked such question...

For instance, can I have two discovery protocols in my stack ?

<TCP ...>
<MPING ... >
<JDBC_PING>

Is that "legal" ? Is there any piece of documentations which you reckon I could find useful ?

Thanks,
P.





> -----Original Message-----
> From: Questions/problems related to using JGroups [mailto:javagroups-
> [email protected]]
> Sent: 19 June 2018 13:38
> To: [email protected]
> Subject: Re: [jgroups-users] FD/FD_SOCK
> 
> 
> 
> On 19/06/18 12:19, Questions/problems related to using JGroups wrote:
> > Hi all,
> >
> > I am reading the documentation of the FD/FD_SOCK protocols but I am
> unsure about the actual implementation of the FD sock mechanism, the docs
> say:
> >
> > FD
> > Failure detection based on a logical ring and heartbeat messages.
> >
> > FD_SOCK
> > Failure detection protocol based on a ring of TCP sockets created between
> cluster members, similar to FD but not using heartbeat messages.
> >
> >
> > I think I understand how the FD_SOCK protocols works however I don't quite
> get what network protocols is used to send heartbeat messages by FD.
> 
> 
> FD uses the transport that's configured, e.g. TCP or UDP. It does _not_
> create its own sockets to send and receive heartbeats.
> 
> BTW, note that I recommend FD_ALL over FD, google for the reasons (this
> has been discussed before).
> 
> 
> > The FD_SOCK seems to suggest it uses TCP, am I right ?
> 
> FD_SOCK does indeed create its own TCP socket, yes
> 
> > Thanks,
> > Pietro
> >
> >
> >
> > Pietro Paolini
> > Consultant
> >
> > Alfa
> > ________________________________
> > e: [email protected] | w:
> alfasystems.com<https://www.alfasystems.com>
> > t: +44 (0) 20 7920-2643 | Moor Place, 1 Fore Street Avenue, London, EC2Y
> 9DT, GB
> > ________________________________
> >
> > The contents of this communication are not intended to be binding or
> constitute any form of offer or acceptance or give rise to any legal obligations
> on behalf of the sender or Alfa. The views or opinions expressed represent
> those of the author and not necessarily those of Alfa. This email and any
> attachments are strictly confidential and are intended solely for use by the
> individual or entity to whom it is addressed. If you are not the addressee (or
> responsible for delivery of the message to the addressee) you may not copy,
> forward, disclose or use any part of the message or its attachments. At
> present the integrity of email across the internet cannot be guaranteed and
> messages sent via this medium are potentially at risk. All liability is excluded
> to the extent permitted by law for any claims arising as a result of the use of
> this medium to transmit information by or to Alfa or its affiliates.
> >
> > Alfa Financial Software Ltd
> > Reg. in England No: 0248 2325
> >
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > javagroups-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/javagroups-users
> >
> 
> --
> Bela Ban | http://www.jgroups.org
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> javagroups-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/javagroups-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot