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
- Host: GitHub
- URL: https://github.com/lmangani/hashflux
- Owner: lmangani
- License: mit
- Created: 2018-04-11T03:34:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T09:03:12.000Z (over 5 years ago)
- Last Synced: 2024-10-05T13:22:09.141Z (over 1 year ago)
- Topics: experimental, hashring, influxdb, proxy
- Language: JavaScript
- Size: 39.1 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.

#### 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