What's the fastest Perl IPC/message queue for a single machine?

前端 未结 1 654
自闭症患者
自闭症患者 2021-02-10 08:20

I\'m working on a (primarily) Perl project and want to use a message queue to isolate processes from each other. I have a work flow like this:

Input -> Receiver -> Proce

1条回答
  •  广开言路
    2021-02-10 08:43

    I don't know about IPC::Dirqueue or beanstalkd, but I've had good success with spread (with either the Spread or Spread::Message modules). It's easy to do multi-process (with another daemon running) and also multi-machine. The nice thing is that since it's group based you can easily attach another listener if you want to do things like logging, statistics or debugging without having to alter (or slow down) your processors.

    0 讨论(0)
提交回复
热议问题