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

Long term investigation: stream data to an existing database #71

Open
traversaro opened this issue Feb 8, 2021 · 1 comment
Open

Long term investigation: stream data to an existing database #71

traversaro opened this issue Feb 8, 2021 · 1 comment

Comments

@traversaro
Copy link
Member

At the moment (2021/02) the yarp-telemetry library provides support for saving data in memory and then periodically (or when the user desires) the data is saved in .mat file. While this is the nice property of permit to easily save file in a completely standalone way, without depending on any infrastructure to be set up, in practice for long running tests that will save a lot of data, this will probably be not feasible both for the memory usage, and for the fact that it is not feasible to deal with a log of sparse .mat files.

For this reason, in the future it could make sense to have, instead of a periodic save to file thread, a periodic thread that send these files to a database, from which users then can extract the data for visualization or processing, eventually even saving the query in .mat format.

Interesting pointers:

@drdanz
Copy link
Member

drdanz commented Feb 8, 2021

We should also consider the hypothesis to stream the data immediately, without the periodic thread, so that we can avoid all copies of the data, and periodic delays when the data is sent (i.e. test whether it is more convenient having a constant small delay, vs having big periodical delay).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants