Displaying 4 results from an estimated 4 matches for "middlemandrbobject".
2007 Jan 19
6
Stopping DRb after using BackgrounDRb::MiddleManDRbObject.init
Hi,
I''m having a problem where connections started through
BackgrounDRb::MiddleManDRbObject.init are not stopped, resulting in an
ever growing established connections between my Mongrels and remote
backgroundrbs
I added DRb.stop_service to my code executed after requests that init
MiddleManDRbObjects but that does not help.
Any ideas?
Thanks,
Robert Bjarnason
2007 Mar 02
1
example standalone error.
...method error:
error:
~/ruby sample_app.rb
my sample app :)
sample_app.rb:9: undefined method `new_worker'' for
BackgrounDRb::MiddleMan:Class (NoMethodError)
### code follows ###
# sample_app ... try to get stand-alone happiness.
#require ''release-0.2.1/lib/backgroundrb''
#MiddleManDRbObject.init(:uri
=>''drbunix:///tmp/backgroundrbunix_localhost_2000'')
require ''backgroundrb/middleman''
include BackgrounDRb
puts ''my sample app :)''
key = MiddleMan.new_worker(:class => :example_worker)
worker = MiddleMan.worker(key)
worker.other...
2007 Jan 11
4
Load balancing
Hi,
Can somebody point me in the right direction about what approach would
be best to load-balance between two or more physical servers running
backgroundrb while using BackgrounDRb::Worker::RailsBase with mongrel?
Thanks,
Robert Bjarnason
2007 Apr 04
6
Exception when doing DRb remote calls from a BackgrounDRb worker
Hello,
I am trying to make DRb calls to a external server from a backgrounDRb
worker, but I''m getting always the next exception when I make the remote
call.
> ERROR:
> drbunix:///tmp/backgroundrb.11175/experimenter_worker_3e899de945f0803a82cd257cfac316d0_0_0.0738904928422051
> - #<Errno::ENOENT: No such file or directory -
>