From: Joe Van Dyk Date: 2005-04-30T09:43:30+09:00 Subject: Re: drb question On 4/29/05, Joe Van Dyk wrote: > class Player > def initialize > @player_attributes = { :some_key => "some value", :another_key => > "another_value" } > @player_id = 2 > end > end > > Say there's 100 Player objects running. They're stored in an array. > > DRb clients need access to the data stored in each Player. The Player > objects get updated every second with new data. > > What's the best way of doing so? @player_attributes contains about > 20-30 keys and values, if it matters. > > Thanks, > Joe > Oh, and the DRb clients (there's probably only one or two of them at a time) have to use all the values in each Player's attribute list every second or so.