-
Notifications
You must be signed in to change notification settings - Fork 22
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
Multiple property updates in a single message #109
Comments
My first question would be whether the overhead of a WebSocket message is big enough to mean that sending a message per update is not practical? |
We should try some experiments to measure the impact. These could look at batching vs individual events, and the effects of compresssion algorithms. We should cover examples where each update includes data from multiple sensors, as is common for telemetry use cases. |
This is actually being done already in our webthing-arduino library. |
@mrstegeman wrote:
Is that updating multiple properties in a single message (which the specification already describes), or sending multiple updates of the same property in a single message (which is what I think this issue is about)? |
It's sending multiple property statuses in a single |
As a developer I would like to stream property updates with multiple updates batched per message so I don't have to send a separate message for every change
Suggested by @draggett, particularly for industrial use cases.
The text was updated successfully, but these errors were encountered: