Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pstadler/rethinkdb-udp-charts

Real-time charts using RethinkDB changefeeds.
https://github.com/pstadler/rethinkdb-udp-charts

Last synced: 17 days ago
JSON representation

Real-time charts using RethinkDB changefeeds.

Awesome Lists containing this project

README

        

# Real-time charts using RethinkDB changefeeds

This is an experiment using RethinkDB changefeeds to push data via websockets to browser clients. The endpoint for gathering data is a simple UDP listener.

## Setup

```bash
$ npm install

# Start RethinkDB
$ rethinkdb
```

## Usage

```bash
$ npm start
# Open http://localhost:8080 in a browser

# Push metrics to the UDP endpoint, e.g.
$ echo "some_metric=12.34" | nc -u -w0 127.0.0.1 8888
```