pyros-dev / pyzmp

ZeroMQ based multiprocessing framework for python
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

discover nodes first, services second #30

Open asmodehn opened 7 years ago

asmodehn commented 7 years ago

Currently only services are discoverable. We should move to store nodes id, and be able to discover them.

To discover services, it probably better to directly ask all nodes (with a basic local_discover service), as it will also give information about the availability of the node, and be more accurate.

a service could have the option "cacheable" that will store it as part of that node (distributed) information.

The goal is to minimize the need for a distributed data storage, while ensuring deterministic behavior, even when node, and network, can go up and down...