wlanslovenija / django-datastream Goto Github PK
View Code? Open in Web Editor NEWDjango HTTP interface to time-series Datastream API.
Home Page: http://django-datastream.readthedocs.org/
License: Other
Django HTTP interface to time-series Datastream API.
Home Page: http://django-datastream.readthedocs.org/
License: Other
Currently we transmit all tags again and again as the user is moving the view around. This is probably unnecessary.
Or use some other way of dependency management.
Use stream metadata information about last value for HTTP caching headers.
When the stream only has one datapoint, the graph is not displayed at all. Some kind of warning or notice overlay should probably be displayed instead.
When all datapoints have the same value (for example 1.0), the displayed graph is missing (no datapoints are displayed and the axes are not visible).
I was thinking that the best way to implement waiting for new data would be to add new HTTP command, for example FETCH. So when you do a GET request with start time interval parameter, you get all data from that interval to current time. If there is no data it returns you an empty list. But by doing FETCH to same URL, django-datastream would wait until data is available and then return you the data. And after it returns the data, you could open another connection with updated start time interval parameter.
Of course, it is not smart to block Django process while both client and server are waiting for data, so another approach should be used. I see two options:
The tricky thing here is scalability, when you have multiple instances of this asynchronous server, you want that when data comes, that it is pushed to all clients listening on all instances of an asynchronous server (I am not sure if this is handled correctly in django-pushserver even).
Improve content of exported and printed image. We should decide if we want to make 1:1 copy (with all controls) or without controls. Currently some controls are missing, but on the other hand scrollbar is there. Additionally, size of the image does not match displayed and some datapoints are drawn outside the image.
For now, it can be really something so simple as a link to REST API URL for given displayed datapoints.
Enable users to include the graph in other webpages by preparing an embedding code snippet. Useful for sharing graphs on screens for monitoring and other webpages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.