Project

RingyDingy

0.0
No commit activity in last 3 years
No release in over 3 years
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.5
~> 4.7
~> 3.10
~> 4.8
 Project Readme

RingyDingy¶ ↑

home

github.com/drbrain/RingyDingy

rdoc

docs.seattlerb.org/RingyDingy

bugs

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