Python zeromq — Multiple Publishers To a Single Subscriber?

后端 未结 3 1388
北荒
北荒 2021-02-15 17:38

I\'d like to write a python script (call it parent) that does the following:

(1) defines a multi-dimensional numpy

3条回答
  •  别那么骄傲
    2021-02-15 18:28

    I think it makes more sense to use PUSH/PULL sockets, as you have a standard Ventilator - Workers - Sink scenario, except that the Ventilator and the Sink are the same process.

    Also, consider using the multiprocessing module instead of ZeroMQ. It will probably be a bit easier.

提交回复
热议问题