Content Deep Dive
Write Millions of Points From CSV to InfluxDB with the 2.0 Python Client
Blog post from InfluxData
Post Details
Company
Date Published
Author
Anais Dotis-Georgiou
Word Count
1,127
Language
English
Hacker News Points
-
Source URL
Summary
The new 2.0 Python Client for InfluxDB has been benchmarked, showcasing its ability to write millions of points in seconds, outperforming HTTP POST by approximately 3 orders of magnitude. The script accompanying the benchmark demonstrates how to use the client, highlighting key configurations such as batch size and flush interval. The experiment was conducted on a local machine with Python 3.7, utilizing multiprocessing capabilities to achieve high performance. Monitoring system and database performance metrics is essential for identifying bottlenecks and facilitating tuning. The results highlight the potential of the new InfluxDB Python Client for efficient time series data ingestion.