File

drb_server.rb

(C)

Loyalty New Zealand 2014

Purpose

For local development with no wider registration service like MemCache running, the first service that gets started will bring up a DRb server to record the location of other services as they start up. The subsequent services connect to the existing DRb server started by the first.

This class is almost a private implementation detail of Hoodoo::Services::Middleware and is namespaced inside it. File “service_middleware.rb” must be “require”'d first.


11-Nov-2014 (ADH): Split out from service_middleware.rb.
02-Mar-2015 (ADH): Moved into Discovery namespace.
Required Files
Namespace