Displaying 1 result from an estimated 1 matches for "thismiddleman".
2008 Mar 25
1
extending bdrb / running multiple servers
...rb servers, instantiating a
MiddleMan for the correct server and then sending the job request to
that server. Needless to say, this process is going a lot easier with
the new version, except for one catch. With the old backgroundrb, I
was able to connect to an arbitrary server like this:
thisMiddleMan = DRbObject.new(nil, "druby://#{server_name}:22223");
Now this doesn''t work. So, I took a look at
BackgrounDRb::WorkerProxy, and it seems like it can only connect to
the server listed in the config file. Is there supposed to be a way
to manage multiple backgroundrb serve...