tjguk / networkzero

Making it easy for teachers to use simple networking in Python
MIT License
47 stars 14 forks source link

Add discovery group #22

Closed tjguk closed 8 years ago

tjguk commented 8 years ago

Add a simple (and optional) namespacing mechanism for discovery: any advertised name can be of the form / where informally represents related services.

The idea is that, eg, in a classroom setting where individuals or teams are doing the same set of work, you're likely to get confusion as they'll all be using the same names: "robot", "controler" etc. In this way, teachers can tell them to use TeamA/robot or Fred/robot.

Another use is where a federation of services wants to be discovered, eg, when farming out work to one or all of a number of workers or subscribers.

Support for this could be offered in two ways:

tjguk commented 8 years ago

Implemented via 0caa4aa20a6d4ab667d178a58056aba4ad892295