Skip to content

reoring/influxdb_benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfluxDB test

Setup

Start influxdb container

docker run -p 8086:8086 \
      -v /tmp/influxdb:/var/lib/influxdb \
      influxdb

Create database

curl -XPOST 'http://localhost:8086/query' --data-urlencode "q=CREATE DATABASE testing"

Insert data

cargo build
./target/debug/influxdb_test "http://localhost:8086/write?db=testing"

Count data

curl -G "http://localhost:8086/query?pretty=true" --data-urlencode "db=testing" \
--data-urlencode "q=SELECT count(amount) FROM pay"

About

benchmark for an insert performance of the Influxdb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages