My issue is as follows:
I have two docker containers in a stack (docker swarm), one is influxdb 1.5, the other contains N python processes. Each python process reads a message from an AMQP queue, then reads data in influxdb with on single query and finally writes data to influxdb with on single query.
Up until N=3 the read query execution time is around 0.02s (measured as the python client execution time). When I go above N=3, so that more client are requesting data from influxdb, the read query can take up to 0.3s. Thus defeating the purpose of running parallel processes.
I can’t figure out if it is an influxdb issue or a docker network issue or something else.
I would be glad to get some help on this