https://github.com/drbrain/ringydingy
RingyDingy is a little boat that keeps your DRb service afloat!
https://github.com/drbrain/ringydingy
Last synced: about 1 year ago
JSON representation
RingyDingy is a little boat that keeps your DRb service afloat!
- Host: GitHub
- URL: https://github.com/drbrain/ringydingy
- Owner: drbrain
- License: other
- Created: 2012-08-31T00:51:02.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-06-05T23:00:08.000Z (about 13 years ago)
- Last Synced: 2024-03-14T23:47:43.218Z (over 2 years ago)
- Language: Ruby
- Size: 181 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rdoc
- Changelog: History.rdoc
- License: LICENSE.rdoc
Awesome Lists containing this project
README
= RingyDingy
home :: https://github.com/drbrain/RingyDingy
rdoc :: http://docs.seattlerb.org/RingyDingy
bugs :: https://github.com/drbrain/RingyDingy/issues
== DESCRIPTION
RingyDingy is a little boat that keeps your DRb service afloat!
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.
RingyDingy also includes a RingServer wrapper that adds verbose mode
to see what services as they register and expire and an option to list
all available services on the network.
== Installing RingyDingy
Just install the gem:
$ sudo gem install RingyDingy
== Using RingyDingy
require 'rubygems'
require 'ringy_dingy'
require 'my_drb_service'
my_drb_service = MyDRbService.new
RingyDingy.new(my_drb_service).run
DRb.thread.join
== Using RingyDingy::RingServer
To start a RingServer:
$ ring_server
To list services on the network:
$ ring_server -l
To enable or disable verbose mode remotely:
$ ring_server --set-logging=true/false