Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] RingyDingy
Eric Hodel
9/9/2006 11:24:00 PM
= RingyDingy
RingyDingy is a little boat that keeps your DRb service afloat!
Rubyforge Project:
http://rubyforge.org/projects...
Documentation:
ri RingyDingy
== About
RingyDingy automatically registers a service with a RingServer. If
communication between the RingServer and the RingyDingy is lost,
RingyDingy
will re-register its service with the RingServer when it reappears.
Similarly, the RingServer will automatically drop registrations by a
RingyDingy
that it can't communicate with after a short timeout.
== Installing RingyDingy
Just install the gem:
$ sudo gem install RingyDingy
== Using RingyDingy
You'll need a Rinda::RingServer, you can download one here:
http://segment7.net/projects/ruby/drb/rinda/rin...
Once you've got that running you can have a service register itself:
require 'rubygems'
require 'ringy_dingy'
require 'my_drb_service'
my_drb_service = MyDRbService.new
RingyDingy.new(my_drb_service).run
DRb.thread.join
To learn more about Rinda::RingServer, you can read my handy tutorial:
http://segment7.net/projects/ruby/drb/rinda/rings...
--
Eric Hodel - drbrain@segment7.net -
http://blog.se...
This implementation is HODEL-HASH-9600 compliant
http://trackmap.rob...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] RingyDingy
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password