<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [Spread-users] Membership message vs regular message</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi Yair:<BR>
<BR>
Now I understand the purpose of SELF_DISCARD message. The problem i want to address here is to eliminate communication between two publishers, as that is a waste of bandwidth, so the SELF_DISCARD message won't help me.<BR>
<BR>
However, introducing second group means another thread listening to the traffic... Is there a better way to do this?<BR>
<BR>
Regards,<BR>
Yanchao<BR>
<BR>
-----Original Message-----<BR>
From: spread-users-bounces@lists.spread.org on behalf of Guo, Yanchao<BR>
Sent: Fri 2/19/2010 5:34 AM<BR>
To: Yair Amir<BR>
Cc: spread-users@lists.spread.org<BR>
Subject: RE: [Spread-users] Membership message vs regular message<BR>
<BR>
Thanks Yair. Some comments:<BR>
<BR>
1: So you are saying that if the group_membership is set to 1, then the publisher don't have to join the group to receive the membership message?<BR>
2: I depoly my server outside my LAN and client inside my LAN. To test the failure detection, I tried two things:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a: pull out the network cable from the machine that my client is running on. In this case, both server and client is not able to receive any notification, but we I put in the cable, I received all the messages published in that interval;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b: I reset the gateway of my LAN. In this case, client doesn't receive any notification. I can't check my server as I lost all ssh session.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In both cases, do you expect spread to detect the failure? In general, how to track the failure? I am tracking the Is_caused_network_mess messsage, is that the right way?<BR>
<BR>
Thanks.<BR>
Yanchao<BR>
<BR>
-----Original Message-----<BR>
From: Yair Amir [<A HREF="mailto:yairamir@cs.jhu.edu">mailto:yairamir@cs.jhu.edu</A>]<BR>
Sent: Friday, February 19, 2010 5:46 PM<BR>
To: Guo, Yanchao<BR>
Cc: spread-users@lists.spread.org<BR>
Subject: Re: [Spread-users] Membership message vs regular message<BR>
<BR>
Hi,<BR>
<BR>
If you have only a single publisher you can use the self-discard flag and then publisher will not receive its own messages.<BR>
<BR>
If you have more than one publisher, you can maintain a second group where publishers as well as receivers join (but no message is sent) to keep track of the membership of the main group.<BR>
<BR>
Also - I think there is a slight inaccuracy in previous posts - Spread will detect failures even if you are not sending traffic if you run a daemon on the failed (or partitioned) machine and connect locally.<BR>
My understanding is that he only case where Spread does not immediately detect a failure is in certain setups where you have a client that connects to Spread remotely via TCP (with a remote daemon) and the client machine is partitioned.<BR>
This is a TCP/socket issue rather than a Spread issue.<BR>
<BR>
Cheers,<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :) Yair.<BR>
<BR>
On 2/19/10 2:29 AM, Guo, Yanchao wrote:<BR>
&gt; Hi all, for my publisher application, I want it got notification when<BR>
&gt; some listeners joined the group. To do that, my publisher application<BR>
&gt; have to join the same group and receive messages. But the message the<BR>
&gt; publisher receives include both membership message and regular message.<BR>
&gt;<BR>
&gt; How can I configure my publisher application to only receive<BR>
&gt; membership messages?<BR>
&gt;<BR>
&gt; Thanks.<BR>
&gt; Yanchao<BR>
&gt;<BR>
&gt;<BR>
&gt; DISCLAIMER: This e-mail message and any attachments are intended solely for the use of the individual or entity to which it is addressed and may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete this message and any attachments.<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; ----------------------------------------------------------------------<BR>
&gt; --<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; Spread-users mailing list<BR>
&gt; Spread-users@lists.spread.org<BR>
&gt; <A HREF="http://lists.spread.org/mailman/listinfo/spread-users">http://lists.spread.org/mailman/listinfo/spread-users</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>