>
> Any ideas on what existing frameworks I could look at? I was
> wondering about using MagLev, especially to take advantage of storing
> data in shared memory between processes in an easy way. (i.e. each work
> process would be a MagLev instance).
>
> Any comments or suggestions would be welcome.
>

i think it's already written for you:

gem install slave

https://github.com/ahoward/slave/