can someone give me a baby example of using drb with udp? i’m wondering if
udp may be the way out of the ssh tunnel hell i’m in now…
-a
···
–
EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
URL :: Solar-Terrestrial Physics Data | NCEI
TRY :: for l in ruby perl;do $l -e “print "\x3a\x2d\x29\x0a"”;done
===============================================================================
It should be as simple as require ‘drb/udp’ with DRb-2.0.4 (builtin does
not have drb/udp.rb), and using drbudp:// URIs.
Unfortunately my simple example is having problems.
···
Ara.T.Howard (Ara.T.Howard@noaa.gov) wrote:
can someone give me a baby example of using drb with udp? i’m wondering if
udp may be the way out of the ssh tunnel hell i’m in now…
–
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04
Warning: udp is not reliable. You may be aware of this, but for
something like drb, it can be a disaster if a reliable negotiation
protocol is not built into the way drb uses udp. Even on local
networks, udp packets can go bye-bye.
On the plus side, udp is really fast, fixed length- a real datagram
instead of a stream.
Missed your ssh tunnel hell. Done a lot of that, but with relative
success.
Dan
···
On Apr 30, 2004, at 18:34, Eric Hodel wrote:
Ara.T.Howard (Ara.T.Howard@noaa.gov) wrote:
can someone give me a baby example of using drb with udp? i’m
wondering if
udp may be the way out of the ssh tunnel hell i’m in now…
It should be as simple as require ‘drb/udp’ with DRb-2.0.4 (builtin
does
not have drb/udp.rb), and using drbudp:// URIs.
Unfortunately my simple example is having problems.
–
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04