Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hi, beloved members of the Order of St. Larry,

I'm coding this weird system with various servers that from time to time have to send each other messages, but since broadband (or 24/7 connections as such) are hard to get by here, and i'd really rather not go through all this "is the connection up? yes? cool! let's send something to the other server! oops! it's raining! the phonelines drop every 5 minutes, so let's re-send that thing a couple of times!" stuff, i was wondering whether it was feasible to use Jabber (via Net::Jabber, i'd presume) for this - abusing it's ability to send messages to offline users, delivering them when the connection comes up, to an extreme (maybe even for file-transfers).
My idea is that the central server is also a jabber-server, and all the 'sub-servers' are jabber-clients.
i'd also love to send servers command via jabber (like "hey, you! connect to server #5 NOW!", "hey you! what were today's sales?")
has anybody done this before? are there any things i have to watch out for? is this the Right Way To Do Things (tm)?

thanks for any ideas,

- schweini

P.S.: anyone know how to check whether an on-demand pppd conection is up without bringing it up if it isn't?

In reply to using jabber for RPC or inter-server-communication by schweini

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (7)
    As of 2020-12-02 19:23 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      How often do you use taint mode?





      Results (44 votes). Check out past polls.

      Notices?