[jdev] nonblocking RPCCall() in Net::Jabber, can it work?

Ido Rosen ido at cs.uchicago.edu
Mon Mar 15 21:50:22 CST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 15 Mar 2004 20:56:17 -0600
Ryan Eatmon <reatmon at jabber.org> wrote:

> 
> 
> Scott Bolte wrote:
> > Ryan Eatmon wrote:
> > 
> >>Ok... I had a brain fart. =)
> > 
> > 
> > 	Sure glad that never happens to me!
> > 
> > 
> >>What exactly are you trying to write that requires such a lengthy 
> >>processing time?  RPC is meant to be be instantanious response, not 
> >>hours/days/weeks/etc...
> > 
> > 
> > 	I need to coordinate updates of loosely coupled, highly
> > 	distributed hosts. I want to send messages to all the hosts
> > 	then have them delivered, eventually, even if a host was
> > 	down.  Are there existing examples of using Jabber for this
> > 	sort of thing?
> 
> Open examples?  Not that I know of.  Closed, yes.  I've done a few for
> 
> my company.  Basically, you can embed a custom namespace in a message 
> that will be picked up next time the receiver logs in (or immediately
> if they are still online.)
> 
> 
> > 	This application is actually a free public DNS system. The
> > 	original infrastructure was written years ago with tightly
> > 	integrated hosts and modest growth in mind. The next
> > 	generation infrastructure needs to support donated hosts
> > 	with variable reliability and limited connectivity.

Could you possibly tell us more about this project?  I'm very curious,
as it sounds like a really good implementation of Jabber.  I'm also
curious though, if there's too much overhead from the Jabber protocol to
make it feasible in inferior network conditions, like dialup...

> 
> Ooo... cool.
> 
> > 
> >><iq/>s are not stored offline.  Only <message/>s.
> > 
> > 
> > 	That's good to know. I can use RPC for status checks.  For
> > 	updates I'll need to switch to augmented <message/>s.
> 
> Well... that is sort of what presence is for.  Determining if the
> other end is online.  RPC would be useful to gather stats from the
> online endpoints though.
> 
> 
> > 		Scott
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > https://jabberstudio.org/mailman/listinfo/jdev
> 
> -- 
> Ryan Eatmon
> reatmon at jabber.org
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> https://jabberstudio.org/mailman/listinfo/jdev
> 


- -- 
Jabber: phaedo at jabber.org
PGP: http://people.cs.uchicago.edu/~ido/pgp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAVnl+mhQsAkXAJP0RAvYjAJ9vXgVLDjE0YaGMgvIv9uctBhlXYQCgioCT
+q10e0F9Flp8oh+cCGfpA9w=
=J0Te
-----END PGP SIGNATURE-----



More information about the JDev mailing list