Company
Date Published
Author
Philip O'Toole
Word count
873
Language
English
Hacker News points
None

Summary

We test InfluxDB's storage engines using various tools and techniques to ensure they work reliably and efficiently. We use CircleCI for unit-level testing, and more sophisticated testing as we approach the 1.0 release. Our test infrastructure includes collectd, Telegraf, and another InfluxDB system to store metric data. We record metrics such as disk IO, memory usage, CPU load, and resident set size during tests. A recent test ran for 8 hours on the new tsm1 engine, which showed steady write and CPU loads, with disk usage reaching a steady-state. The software does not suffer from detectable memory leaks. We run tests on various systems, including AWS EC2 instances, Digital Ocean droplets, and physical machines. Our testing strategies include stress testing and "burn-in" testing to ensure the software can handle long-term loads without issues. Future plans include more extensive testing for features like clustering and query performance.