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

https://github.com/lmangani/hashflux

Hashring InfluxDB Proxy
https://github.com/lmangani/hashflux

experimental hashring influxdb proxy

Last synced: 9 months ago
JSON representation

Hashring InfluxDB Proxy

Awesome Lists containing this project

README

          

# hashflux

Hashring InfluxDB Proxy based on metrics name useful to achieve 1.21 GigaWatts of power

###### WARNING: This project is highly experimental and is not suitable for production (yet)

### Usage
HashFlux acts as a proxy between an InfluxDB client *(ie: Cronograf, Kapacitor)* and multiple InfluxDB server instances, dispatching individual or global queries based on metric consistent metric name hashing, and aggregating results transparently.

![hashflux](https://user-images.githubusercontent.com/1423657/38781013-e0550dca-40d6-11e8-953d-83f6a1417c9f.gif)

#### Configuration
Hashflux is initialized and configured as follows:
```
const hashFlux = require('hashflux');

var options = { servers: [ '127.0.0.1:8086', '127.0.0.2:8086' ], port: 3000 };
var server = new hashFlux(options);
```

#### Todo
* [x] Sharded Writes
* [x] Sharded Queries
* [x] Gloabl Commands
* [ ] Documentation
* [ ] Test Coverage
* [ ] Performance Tests