Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Re: using jabber for RPC or inter-server-communication

by schweini (Friar)
on Jul 29, 2003 at 08:16 UTC ( #278761=note: print w/replies, xml ) Need Help??

in reply to Re: using jabber for RPC or inter-server-communication
in thread using jabber for RPC or inter-server-communication

yea - i did a RPC-via-mysql prototype once, too, but somehow it felt clumsy, since i had a cronjob checking whether there was anything to do since the last run.
i'm looking for the most generic/extenable/scalable connection-type out there, that's why i'm looking at jabber (AFAIK it was designed with these goals (but a different application in) mind)
do you really think that jabber is less reliable than some other form of inter-box communication? as far as i can see, messages either arrive or they don't (i doubt unterminated XML is marked as 'received'), and the risk of a corrupted message seems negiable, i hope.
am i missing something?
  • Comment on Re: Re: using jabber for RPC or inter-server-communication

Replies are listed 'Best First'.
Re: Re: Re: using jabber for RPC or inter-server-communication
by aquarium (Curate) on Jul 29, 2003 at 11:21 UTC
    database like progress has when a table gets new data it will spring your procedure into life. good thing about databases is data integrity...if you want to have constraints on a field (say command name), then once you setup your database you don't need extra want to fish out a command used ages ago, no prob, just look in the logs/history want to have distributed architecture with a redundant (live) server, done. If you want no frills RPC then use RPC module, why bother with jabber bloat. no offense to jabber, it's good for what it was made for.
      sure sounds neat..only problem being (ahem) mysql's extensive support for triggers ;-)
      very TMTOWTDI way to do it, too...but i'll just be stubborn as hell and stick to jabber (did some testings i rather liked).
      it does have the enormous advantage of making debugging a lot easier, too...
      thanks, again.

        indeed... you'll be able to interact with your agents (servers) just like you would a good friend.

        watcher@host.sub.dom says yo! just scanned me!
        bofh@sub.dom says you hear that Q? block that biatch.
        Q@sub.dom says right away sir!
        luser@sub.dom says my printer stopped working, what gives?
        bofh@sub.dom says what's it's name/ip?
        luser@sub.dom says printer4.sub.dom
        /msg Q wha? printer4
        Q@sub.dom says hrm, printer4 eh?
          host: printer4
          status: disabled (expired account 12345)
        /msg Q tell luser wha
        bofh@sub.dom says somebody forgot to pay $$ do you have a new account?
        luser@sub.dom says 54321
        /msg Q mod printer4 account 54321
        Q@sub.dom says mod printer4 eh?
          host: printer4
          status: nominal
        bofh@sub.dom says fixed u luser biatch
        Q@sub.dom says block active

        then i just have to replace myself with a bot and go on a long vacation.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://278761]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2021-01-18 13:29 GMT
Find Nodes?
    Voting Booth?