Not sure what your platform is, but check
http://rubyforge.org/projects/sysvipc/ (when it's back up)
I've used this to accept messages generated by a C++ process. Works like
a charm and is very fast.
From: James Mills [mailto:firstname.lastname@example.org]
Sent: woensdag 17 januari 2007 23:31
To: ruby-talk ML
Subject: local interprocess communication ideas.
So, with all of that info, what does the community recommend
for a lightening fast interprocess communication method?