From: ale@... Date: 2001-08-12T21:39:57+09:00 Subject: [ruby-talk:19596] Re: shared mem On Sun, 12 Aug 2001, Mathieu Bouchard wrote: > > On Sun, 5 Aug 2001, markus liedl wrote: > > what are people thinking about "shared memory for ruby"? > > with a binding for mm, multiple ruby-server-processes could have a > > common cache for database/html-generation, and one could make drb speak > > via shared memory. > > any interest? > > Good idea. I'd recommend starting with a byte-buffer. If you have good > insights on how to turn it into an object space (which seems to be > difficult), then i'd like to hear them. Anyway I'm interested so contact > me off-list. Just to note there's this thing already in RAA http://rubymine.org/raa/raa-history-Library_Utility.html#sysvipc and the portion of docs touching shared memory issues http://deisui.bug.org/~ueno/ruby/sysvipc_doc.html#label:11 And here, I guess, is the quite portable shared memory library Markus was discussing about http://www.engelschall.com/sw/mm/ I believe some portion of it has been used as a basis when building Apache. I'm quite sure there're many uses for mm extension. What it comes to DRb I'm sure there are other ways too, while shared memory is without doubt one quite strong contender. - Aleksi