Giter Club home page Giter Club logo

cityxr-data-engine's People

Contributors

crertel avatar mmontgomery95 avatar

Watchers

 avatar  avatar

Forkers

mmontgomery95

cityxr-data-engine's Issues

Server -- Need a maintenance page for reviewing data.

We need a page to view the different run status and data values. This can live in the ingest server, which already has a lot of this.

This needs to:

  • show what data sources are available
  • show what data schema the data sources have
  • show what their run status is and history is
  • visualize the data

Server -- Need to have a way of forwarding ingest notifcations to subscribed clients

The data server needs to be able to send updates to clients that are subscribed to a data source over websockets.

Subscribers are notified once a run completes. Historical data must be fetched using the API.

Process of subscription for websockets is:

  1. Server maintains a list of active data sources and their subscribers
  2. Client subscribes to a data source
  3. On update from the database (NOTIFY perhaps? see example gist somebody used here), notify subscribers through websockets that new data is available.

Clients subscribe using this method:

{
  "ds": "<datasource id>",
  "a": "sub"
}

To unsubscribe:

{
  "ds": "<datasource id>",
  "a": "unsub"
}

Once subscribed, a client should expect messages of the form:

{
  "t": "<RFC3339 timestamp of sending time",
  "rid"
  "ds": "<datasource id>",
  "d" : [
   <data frames as objects whose keys are the column names and whose values are the data points> 
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.