[JDEV] Multicast support
David Iodice
DIodice at cfl.rr.com
Fri Mar 16 13:16:56 CST 2001
My intent was the use of IP multicast. My desire is to have
several multicast sessions that can be joined by lots of
users (like a group chat) without the overhead of multiple
point-to-point messages being sent by the server.
If multicast is supported then in a local session (TTL=1), a
message sent to everyone in the group (say 100 people) would
only require the transmission of the message twice: once
from user to multicast session and once from multicast
session to the "community".
Here's a concept where it would be nice to have: lets say I
have a lot of little robots running around connected
wirelessly. As they come within range of the wireless
area, they register to the Jabber server. Server
acknowledges and sends them a roster of sessions that are
applicable to the network. one happens to be location
monitoring. Well the little device which has a GPS receiver
on it now knows to report periodically its position to the
"session". All other robots report position as well. Each
robot processes all the position information to determine
and take necessary action if there is a proximity problem
(someone enters their "space"). You can see where the
volume of traffic can be significant especially if there are
lots of robots and the cycle time is fairly short. Sure
Jabber was not initially designed for this type of
application, but I think it could work at least in a proof
of concept. I was just hoping (dreaming) that multicast
sessions might be supported in the architecture or be a
fairly easy enhancement.
The envelop thing looks to me to be a client side request
(spam) whereas in a multicast scenario the client doesn't
know who the final recipients are. It is much like using
the broadcast.
Also, there are mechanisms for multicast to work on
TCP/IP -- although it fits a UDP/IP transport much easier.
David
-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On
Behalf Of
David Waite
Sent: Friday, March 16, 2001 12:37 PM
To: jdev at jabber.org
Subject: Re: [JDEV] Multicast support
One concept myself and Sue thought of a while back was to
have envelope allow
forwarding of up to say, ten people. After that, you have
some sort of
'messaging-list' concept, which requires subscription. I
mentioned messaging
lists earlier on this thread.
-David Waite
Peter Millard wrote:
> Isn't this what the idea behind jabber:x:envelope is
supposed to be for?? At
> least that was one of the uses that I saw, was to be able
"CC" other people
> a single message, and have the server automatically
propogate them away. I
> agree, it would be an ideal to for spammers and hate that
aspect... but if
> we could find some happy medium someplace??
>
> Here's the docs on the jabber:x:envelope draft:
> http://docs.jabber.org/draft-proto/html/envelope.html
>
> Peter.
>
> ----- Original Message -----
> From: "Dave Smith" <dizzyd at dizzyd.com>
> To: <jdev at jabber.org>
> Sent: Friday, March 16, 2001 11:40 AM
> Subject: Re: [JDEV] Multicast support
>
> > An alternative to using TCP (or UDP) multicast would be
to add
> > some intelligence into the core delivery logic which
would permit
> > a single message to be sent to multiple people on a
host..maybe
> > by doing something like:
> >
> > <message mto='@jabber.org'>
> >
<stream:maddress>dizzyd at jabber.org</stream:maddress>
> > <stream:maddress>job at jabber.org</stream:maddress>
> > <body>Hey fool!</body>
> > </message>
> >
> > This is a nice, fairly clean way of doing multicast. Of
course,
> > the application generating the message would have to do
the
> > aggregration, but that's normal.
> >
> > The downside, of course, is that this would be a most
excellent
> > tool for spamming. :)
> >
> > Diz
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list