From: Andy Stone Date: 2004-10-26T10:42:15+09:00 Subject: Re: Server Programming Joel, Thanks for the thread and DRb info. Performance is a main concern with this application, so it doesn't sound like the right course for me to take, but I will look into it before ruling it out. -andy On Tue, 26 Oct 2004 10:17:40 +0900, Joel VanderWerf wrote: > Andy Stone wrote: > > Hello Francis, > > > > Thanks for the reply. > > > > This isn't a web server, just a JAVA client/server application that > > starts a few threads that have their own individual responsibilities. > > The server app is merely a container for these threads to allow the > > basic functions like startup,shutdown,and status to be handled > > cleanly. > > Note that ruby threads are in-process threads, so if you're using > threads to take advantage of multiple cpus, you may want to have several > ruby processes on the server side, and distribute tasks among them. > > Also, take a loook at DRb--distributed ruby. It's a remote method call > protocol for ruby objects and a very elegant way of developing servers, > though it doesn't come without some performance costs. A good starting > place is the pickaxe book (get it online at > http://www.rubycentral.com/book/index.html or buy the new edition). > > DRb even has a Linda/tuplespace implementation, called Rinda. All > included with ruby in the standard lib. > >