Hi, everyone
Would it be possible for someone to give me some pointers about how to correctly configure Drone CI for better log ingestion speed? I have tried the basic set up using docker-compose and it works but I am getting very slow log ingestion when running pipelines.
The log ingestion is so slow that it takes longer than the time it takes to run the pipeline. One particular step takes 7 minutes to complete when the logs output is muted but 30 minutes when the logs are piped to stdout. Imgur
I am using Caddy as a reverse proxy and TLS terminator inside a EC2 instance at AWS, using docker-compose.
Drone version: 1.9 from docker hub
Caddy version: v2.2.1
Ubuntu 20.04 x86_64 x86_64
Docker version 19.03.8, build afacb8b7f0
docker-compose version 1.25.0
systemd 245 (245.4-4ubuntu3.3)
I have tried running drone directly exposed to the Internet without using a reverse proxy, I have also tried running drone using sqlite and postgres but the behavior was the same.
In order to receive support with configuration, can you please provide your full docker-compose file so we can see more details about how you have installed Drone? For example, it is not clear which runner you are using and which version.
drone/agent was deprecated in favor of drone/drone-runner-docker. The drone/agent had some issues with large log streams that were fixed in drone/drone-runner-docker. For installation instructions see docs.drone.io/runner/docker/overview.