Conclusion: 9.7% of points were lost during parallel execution (!)
Total amount of rows in CSVs: 5022863
Total amount of points in parallel run: 4535141
Total amount of points in sequential run: 5022860 (Exactly matches the amount of rows in CSVs minus 3 headers)
4535141 / 5022860 = 90% meaning that 10% were lost.
I took 3 csv and I executed them in two matters (obviously not at the same time):
In parallels /root/csv-to-influxdb -s http://localhost:8086 -d test -m weekend2 -ts timeStamp -b 1 DB_Monitor_Memory.csv & /root/csv-to-influxdb -s http://localhost:8086 -d test -m weekend3 -ts timeStamp -b 1 DB_Monitor_CPU.csv &
One by one (the same as above, just without the &)
I connected to DB and checked the amount of rows written in every run.
Conclusion: 9.7% of points were lost during parallel execution (!) Total amount of rows in CSVs: 5022863 Total amount of points in parallel run: 4535141 Total amount of points in sequential run: 5022860 (Exactly matches the amount of rows in CSVs minus 3 headers) 4535141 / 5022860 = 90% meaning that 10% were lost.