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...
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...