From: Daniel DeLorme Date: 2007-10-10T23:42:11+09:00 Subject: Re: Inter-Process Messaging Markus Schirp wrote: >> What are the possibilities in ruby for passing information from one >> process to another? Specifically, I'm thinking of messaging between a >> parent process and its forked child. > > shared memory? Is there a ruby lib to handle shared memory? Also, I can see how it can be used for "passing information", but for messaging between processes wouldn't it require constant polling to check if a message is waiting in the shared memory? > I don't expect UNIXSocket to be unstable. I'm running over 2 years > with using ruby's socket library without problems. Dont forget to > remove the created socket if your process ends :) I just vaguely remember reading in some mailing list or blog something along the lines that "unix domain sockets are flaky". I might have misunderstood. Daniel