Takes 1 second to commit, curl, series helper, and python InfluxDB client


When ever i commit it takes around 1 second, if its 1 record or 10,000.

If I batch 10,000 in serieshelper it will happily process all 10k, the autocomit will then take 1 second.

I see the same performance 1second lag if write a single record via json dict and client, series helper set to 1 and autocommit and using curl on the shell

Is this normal? It feels very slow.

As example from the shell - below using curl takes 1 send to add a single record.

time curl -u rtmtb_admin:rtmtb_password -i -XPOST ‘http://localhost:8086/write?db=crypto’ --data-binary ‘binance_loombtc_1m,symbol=LOOM/BTC open=0.64,high=1,low=0.1,close=1.5,volume=12 1536745620000000000’
HTTP/1.1 204 No Content
Content-Type: application/json
Request-Id: d9f7dbaa-b677-11e8-8699-0050560117ea
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.7.0~n201809110800
X-Request-Id: d9f7dbaa-b677-11e8-8699-0050560117ea
Date: Wed, 12 Sep 2018 10:37:31 GMT

real 0m1.015s
user 0m0.007s
sys 0m0.004s