[jdev] Re: architecture questions

Peter Millard me at pgmillard.com
Mon Feb 23 18:22:23 CST 2004


Peter Saint-Andre wrote:
> The whole point of Jabber is decidedly *not* store-and-forward, it is
> immediate delivery. If you need POP, maybe implement all this using a
> mail server.

You may also be able to get what you want by using a pubsub mechanism. See
JEP-60:
http://www.jabber.org/jeps/jep-0060.html
I agree with stpeter though, jabber is designed for near-real-time delivery. If
this doesn't fit your model, then maybe using something like an email server
would work better. Also, if you _always_ have at least one client connected,
offline messages would never exist. You also can comment out mod_offline in your
config file to turn off store-and-forward. This would mean that if a "client" is
not connected, then the message would bounce.

You could also write a component which JUST does the load-balancing stuff and
does it's own store-and-forward... so when one of your custom clients comes
online, it could either use JEP-013 or some custom protocol to fetch the
messages currently stored in that component. This component could also be
responsible for doing the round-robing load-balancing instead of relying on
priority changes.

There are always lots of ways to solve the problem.

pgm.




More information about the JDev mailing list