Skip to content

lmangani/hashflux

Repository files navigation

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

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

  • Sharded Writes
  • Sharded Queries
  • Gloabl Commands
  • Documentation
  • Test Coverage
  • Performance Tests

Releases

No releases published

Sponsor this project

 

Packages

No packages published