Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by aquarium (Curate)
on Jul 29, 2003 at 11:21 UTC ( [id://278788]=note: print w/replies, xml ) Need Help??


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

database like progress has triggers...so 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 code...you want to fish out a command used ages ago, no prob, just look in the logs/history table...you 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.
  • Comment on Re: Re: Re: using jabber for RPC or inter-server-communication

Replies are listed 'Best First'.
Re: Re: Re: Re: using jabber for RPC or inter-server-communication
by schweini (Friar) on Jul 31, 2003 at 02:09 UTC
    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! 192.168.254.12 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 192.168.254.1 active
      ...
      

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

        actually, this is kinda what i'm doing!
        seriously! i even got some PHBs asking my system in plaintext about sales in stores, and they like it!
        now, where did that ELIZA code go.... ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found