Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

[RFC] performance improvements #46

Closed
andig opened this issue May 31, 2018 · 2 comments
Closed

[RFC] performance improvements #46

andig opened this issue May 31, 2018 · 2 comments

Comments

@andig
Copy link
Collaborator

andig commented May 31, 2018

On volkszaehler (volkszaehler/vzlogger#272 (comment)) it was mentioned that reading registers one by one is much slower than reading blockwise.

This leads to the following ideas for improving readout performance or lowering load:

  • group device registers into groups that can be read at once
  • refactor the mqtt rate parameter (or add another one) to not limit pushing readings to mqtt but instead defer reading from device if rate is too high (NOTE: this would affect all consumers, not only mqtt)
@andig
Copy link
Collaborator Author

andig commented Jul 25, 2018

This is actually more complex than expected:

  • meter reads are of variable size (i.e. ALE3 reads mostly but not only single registers)
  • some meters only support reading up to a certain number of registers en bloc (at least ALE3)

@andig
Copy link
Collaborator Author

andig commented Oct 11, 2018

#83 provides a basis from implementing this. Closing here.

@andig andig closed this as completed Oct 11, 2018
@andig andig removed the blocked label Oct 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant