Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge data protocol into control protocol? #70

Open
BenediktBurger opened this issue Oct 16, 2024 · 0 comments
Open

Merge data protocol into control protocol? #70

BenediktBurger opened this issue Oct 16, 2024 · 0 comments
Labels
discussion-needed A solution still needs to be determined distributed_ops Aspects of a distributed operation, networked or on a node

Comments

@BenediktBurger
Copy link
Member

Original place: pymeasure/pyleco#89

Maybe we should scap the idea of the (PUB-SUB based) data protocol, and implement it via the control protocol.
That what make the whole setup more simple.

Reasoning

The data protocol infrastructure is not as flexible, as messages can flow only in one direction (from server to server).
Due to the different architectures of the data and control protocol networks, you might want to subscribe to a publishing actor, which you cannot reach via the data protocol.

We can, however use the control protocol to subscribe and to publish messages. (managing the subscribers manually)

This reflects the experience from #2 (comment) that it is quite simple to use the control protocol only. PUB-SUB does not save on bandwidth anyway.

@BenediktBurger BenediktBurger added distributed_ops Aspects of a distributed operation, networked or on a node discussion-needed A solution still needs to be determined labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion-needed A solution still needs to be determined distributed_ops Aspects of a distributed operation, networked or on a node
Projects
None yet
Development

No branches or pull requests

1 participant