I’ve recently installed InfluxDB on a local server (Ubuntu 24.04, Core i5 8500, 16GB RAM) to collect robot telemetry and create a dashboard from it, and it feels like I’m running into a speed ceiling. I’m writing ~450 data points (3 integer fields per point) per second, and even though the dashboard is refreshing once per second, the new data does not seem to be showing up at all. The graph just ends, despite the fact that my Python is continuously writing new data. I also have a gauge for battery %, and the number on it is significantly outdated.
Looking at load on the server in btop, CPU usage seems near zero, disk I/O is at 2-4MB/s, network I/O is similarly near idle. So what is going on here? Why does InfluxDB seem to discard most of my data?
@Yonatan This doesn’t seem like a super heavy write workload. How are you writing the data? Just through a Python script? Telegraf? Is there anything in the logs to suggest that writes are being rejected?
@scott I wrote a burst of data at a high speed for around a minute, when starting to write, 4 seconds of data showed up, and since then nothing more. It has been ~20 minutes and no new data has arrived.
Interesting. And nothing in the logs around the time that writes stop landing?
I’m curious, is it bucket-specific? If you write to a different bucket, do the writes work? What about just a straight API call rather than using the Python client. For example, if you create a new bucket and try to write data with a cURL request:
I tried running your command on a test bucket 6 times while running the robot, looks like all 6 went through while the data the robot sent was showing the same behavior.
I’m not seeing anything in the Python output. Note that I’m using write_options=ASYNCHRONOUS, could async writes drop silently if there are too many for the client to handle?