It depends on the size of the incoming JSON objects. For simple plots like
the one I linked to above it can be a very small amount of data.
For example a stringified utf8 json object {x:1, y:3} results in a buffer
around ~18 bytes. I accept data packets every 50ms which would be 360 bytes
every second which is minimal. We are limiting to something closer to 22
kb/s, which means passing in JSON strings with fairly large arrays in them,
~50 in length. This is useful for controlling things like bar charts or
manipulating many bubble chart bubbles with each packet.
See for example: http://plot.ly/~streaming-demos/44/
If you want to verify the real-timeyness just open up two browser windows.
You'll see the exact same random data moving through at the same time. It
originates from a single source and is broadcast out.
On Thursday, 27 March 2014 09:16:20 UTC-4, Ket wrote:
>
> If this is real time data streaming, it is pretty fast. Impressive. Never
> see something working smoothly like this before.
>
> How much data in bytes do you send each time.
>
> On Tuesday, March 25, 2014 11:28:26 PM UTC+7, Postlethwaite wrote:
>>
>> We at Plotly have just released our Streaming API (our infrastructure is
>> 100% Nodejs) and are looking for feedback. Check out this
>> example<https://plot.ly/~streaming-demos/6/>to see what our realtime data
>> streaming looks like. As part of the release
>> we have released an early candidate module to consume it,
>> https://github.com/plotly/plotly-nodejs. You can do things like:
>>
>> myDataStream.pipe(Plotly)
>>
>>
>> which is how it should be.
>>
>> All of Plotlys graph types are supported through streaming. This means
>> you get live histograms, realtime 2D heatmaps, streaming to multiple
>> subplots for a DYI dashboard experience among much else. It's free and will
>> remain so. You can easily embed real-time streaming plots in any website by
>> burrowing the streaming URL in an iframe.
>>
>> Checkout out the module I linked to above to get up and going and feel
>> free to fire me any questions you might have. This is early days and
>> feedback and helpful criticism is greatly appreciated.
>>
>> Stream on!
>>
>> ben at plot.ly
>>
>>
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.