kpn / py-timeexecution

Time Execution: record application metrics
https://pypi.org/project/timeexecution/
Apache License 2.0
12 stars 19 forks source link

ElasticSearch backend performance #17

Closed sergray closed 8 years ago

sergray commented 8 years ago

ElasticSearch backend uses TCP connection compared to UDP in InfluxDB backend.

It should be measured:

  1. how much overhead TCP incurs over UDP
  2. how long it takes ES client to determine there's no connectivity
sergray commented 8 years ago
Test-Case Service Writes Number Total Time, s Write Time, ms
Service Started Influx 1000 0.041 0.041
Service Stopped Influx 1000 0.05 0.05
Network Delay (100ms) Influx 1000 0.046 0.046
Service Started ElasticSearch 100 0.386 3.86
Service Stopped ElasticSearch 100 0.132 1.32
Network Delay (100ms) ElasticSearch 100 16.602 166.02