Questions tagged [drb]

dRuby (drb) is a distributed object system for Ruby.

dRuby (drb) is a distributed object system for Ruby.

It is written in pure Ruby and uses its own protocol. No add-in services are needed beyond those provided by the Ruby runtime, such as TCP sockets. It does not rely on or interoperate with other distributed object systems such as CORBA, RMI, or .NET.

37 questions
0
votes
1 answer

How to implement remoting in Ruby over a proxy server?

We're looking at using Ruby for a client-server (non-web based) project where both the client and server would be written in JRuby. The client (Windows) would sit behind a corporate firewall with a proxy server and the server would sit out in the…
Marplesoft
  • 6,030
  • 4
  • 38
  • 46
0
votes
1 answer

Multiple servers in only one TupleSpace in DRb (Ruby)

guys! I'm thinking in to run each server in one computer and to do all clients find themselves. Is there a way to run multiple servers with DRb? If not, how can I do my clients (one in each computer too) see all the servers in my network? I'm…
ebragaparah
  • 305
  • 4
  • 7
0
votes
2 answers

DRb: how to check if remote object exists?

I've been toying around with DRb to use as my solution to communicate across multiple processes. I'm using the stardard process: one creates a service, registers it to a druby uri, and on the other process a DRbObject is created referencing that…
ChuckE
  • 5,610
  • 4
  • 31
  • 59
0
votes
1 answer

Whats the highest (approximate) request rate DRb can handle?

I'm using DRb for relatively infrequent interprocess communication now, but I'm worried that it may not be able to handle the load if my service grows, especially given things like spawining a new thread to deal with every request. Anybody have…
Mohamed Hafez
  • 8,621
  • 7
  • 41
  • 49
0
votes
0 answers

dRuby server crashes when probed on the port its listening on

I have this test code: require 'drb/drb' DRb.start_service(nil, "hello") puts DRb.uri DRb.thread.join() If I then probe the port it grabs using something like nmap, after a few probes, the app crashes. Under JRuby 1.7, I get this…
Chris Kimpton
  • 5,546
  • 6
  • 45
  • 72
0
votes
1 answer

Ruby drb internet connection

I've been doing some testing with Ruby drb. I have the following code (just the example code found on the ruby docs) SERVER: require 'drb/drb' URI="druby://:9000" class TimeServer def get_current_time return Time.now …
KenGey
  • 406
  • 4
  • 15
0
votes
1 answer

Threads or DRb?

I need to have 2 (or maybe 3) continuously running "facets" of a program in Ruby - a communications thread, a render thread and maybe a caching thread. The idea is the rendering thread shows a slide-show (whose definition is read from file) and all…
Bruno Antunes
  • 2,241
  • 4
  • 21
  • 35
1 2
3