real time 50 hz data

Asked by guillem

Technical question about the boundaries of Graphite.

Is it possible to display in real time 50 hz - 100 hz data? Assuming that we will have a great connection and not too much users (i.e, 100-1000 users at a time).

My aim is to display ECG signal data using graphite. What do you think about it?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
chrismd
Solved:
Last query:
Last reply:
Revision history for this message
Best chrismd (chrismd) said :
#1

Hi guillem, I'm sorry to say Graphite is not a good fit for your situation. Your data is "real time" in the sense that it is reflecting what is happening right this instant, whereas the "real time" nature of Graphite is that it makes any datapoints it receives immediately available through its APIs. The subtle distinction there is that Graphite does not allow for arbitrarily fine precision, and in fact is currently limited to one-second precision for each metric. Graphite is designed for handling lots of metrics at generally lower precision instead of a small set of very high-precision metrics. In the future sub-second precision may be supported but it will still not fit your situation from an architectural standpoint because Graphite renders graphs as PNG images served over HTTP, a process that can take over a hundred milliseconds depending on the graphing parameters. What you need is GUI application that renders the data locally and is connected to a shareable datastream, perhaps a message queueing system like AMQP.

Revision history for this message
guillem (serra-guillem) said :
#2

Hi Chris, First of all, thanks for your clear answer. Nevertheless I will keep watching your work because it is indeed interesting.
I will check AMQP whether it is suitable for my need or not.

Merry christmas.