Working on zmq driver I've noticed that for now zmq.Context is created per socket which is definitely redundant. That was introduced by the change


It makes the correct thing reducing the global context variable, but I think the context is still should have more global scope than per socket.

IMHO It should be created once per Reactor/Client or even per driver instance.

By the way (I didn't check it yet with current implementation of the driver) such approach should break the IPC, because such kind of sockets should be produced from the same context.

Oleksii Zamiatin

OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe

Reply via email to