From: Marcin Raczkowski Date: 2007-04-11T18:04:36+09:00 Subject: Re: DRb and persisten connections On Wednesday 04 April 2007 23:18, ara.t.howard@noaa.gov wrote: > On Thu, 5 Apr 2007, Joel VanderWerf wrote: > > Marcin Raczkowski wrote: > >> Hello, i noticed that for every RPC call distributed ruby opens separate > >> connection, this can create huge bottleneck - especially when using with > >> SSL, anyone have any idea how to make persistent connections - of course > >> i can read sources for whole library, but mayby someone already solved > >> this problem, mayby there's some "keep-alive" for x secs options. > > > > Dunno about ssl, but you could always open an ssh tunnel with the -S > > option, which lets several sessions share on connection. > > i think every call must open a connection - in case of 'yield'. all drb > objects are servants. > > -a you probably didn't understand me :) RPC calls are made over TCP/IP connections, but there's no reason why each RPC should have one connection - they probably should have some id, and should be all sent over one connection - i've been to busy to investigate this, but since it looks like noone knows anything about it, I'll check if it's possible to make it happen.