From: Jamey Cribbs Date: 2006-10-30T22:59:54+09:00 Subject: Re: Drb in depth ? M. Edward (Ed) Borasky wrote: > Mickael Faivre-Macon wrote: > >> Hi, >> >> I can't find any in depth online article on Drb, presenting anything >> else than a simple server and client. I'd like to learn more on the >> idea behind it, when it can be used and for what type of application >> (for a client/server game?), how to manage clients (identifying them, >> disconnecting them), comparison with TCP (if relevent), etc... >> >> Could anyone point me a good article, or maybe just reply to my simple >> subjects given above? >> >> Many thanks, >> Mickael. >> >> >> > I'm not sure anyone uses just drb ... it's more common to use drb via > the Rinda layer on top of drb. Try a search for Rinda ... there was a > talk about Rinda at RubyConf 2006. > For a fairly simple example of how drb can be used to enable client-server/multiuser functionality, take a look at KirbyBase (http://netpromi.com/ruby_kirbybase.html). Drb works great and made implementing a client/server version of the dbms very easy. I had to throw in some mutex code to make sure separate user threads didn't step on each other, but it was fairly straightforward. Jamey Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.