Shared Variable Among Ruby Processes

后端 未结 4 651
臣服心动
臣服心动 2021-02-01 09:28

I have a Ruby program that loads up two very large yaml files, so I can get some speed-up by taking advantage of the multiple cores by forking off some processes. I\'ve tried lo

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-01 09:50

    It is possible to share variables between processes; DRuby is probably the lowest barrier-to-entry way to do it.

提交回复
热议问题