Hello,
I am trying to debug some slowness with respect to our deployed instance of a dagger engine. It seems that when we are using modules within modules (..within modules), there is quite a substantial overhead impacting the overall build speeds. Even when everything is cached (simply replaying the build without making any changes to source code).
In the attached example, we are building a react app using some submodules related to getting git information, standard naming conventions module, aws cli module and email sending module. Then a root module BuildAndDeployReactApp, which leverages the submodules.
Based on what I can see, is it possible that the telemetry sdk is impacting performance of the dagger operations? Is it possible to disable completely just so I can verify?
Some more info:
Dagger CLI: v0.15.2 (provisioned on a 8vCPU and 16GB ECS Fargate Task)
Engine version: v0.15.2 (Provisioned on 10 vCPU and 30 GB Memory EC2 Task with docker volume mount to /var/lib/dagger, startup command --addr 0.0.0.0:50051)
Modules: All modules are written with the python SDK
The dagger cli task connects to the engine via a Network Load Balancer connecting to the engine port on 50051
Let me know if I can provide anything else!
Thanks,