GithubHelp home page GithubHelp logo

influx-ht's Introduction

High Throughput Data Aggregation

Modified: 2022-04

Python Influx client for storing Near Real-Time data.

Quickstart

You will need docker engine and docker-compose installed on your system. Installing docker is system dependant see here for installation instructions. You can install docker compose through pip:

python3 -m pip install docker-compose
docker-compose up

Once the services spin up head to http://localhost:8086 on your local browser to login to the influx client. The username and password for this instance is defined here feel free to change any of the default influx config I have set.

I have supplied an influx dashboard for viewing the datastream here. Simply select the import dashboard option on the client web interface and load in the supplied json. Unfortunately influx does not allow us to mount the dashboard directly so this step will remain a manual one.

Once the dashboard is loaded you should see a batch read of data: dashboard

I have written a simple python module which simulates an incoming high bandwidth data stream. I have packaged the module into a docker service named influxclient which networks with the active influx database instance. It performs a batch write to the database as soon as the buffer is filled.

To teardown the services and resources:

docker-compose down --rmi all

Hints

Purging the influx bucket

influx delete --org demo --token random-token --bucket telemetry \
  --start '1970-01-01T00:00:00Z' \
  --stop $(date +"%Y-%m-%dT%H:%M:%SZ")

License

This project is licensed under the terms of the MIT License

influx-ht's People

Contributors

ztnel avatar

Watchers

 avatar

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.