CDK Synth is really slow in our environment - ho to analyze? #27332
Unanswered
markussiebert
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Hello!
We see that our CDK Synth GitlabCI Pipelines needs several Minutes to synth an application that contains several stacks and a lot constructs.
The Problem is, it's really slow inside our corporate network - on my local machine that has normal internet access it's fast!
On my local machine:
npx cdk synth --verbose 5,04s user 0,68s system 114% cpu 4,988 total
Without direct internet access
the output is stuck for several minutes at this point:
I think it has something to do with networking - maybe some IPs resolved via DNS are not reachable and the api calls timeout until the next IP is tried (we saw similar things with other API requests). Do you have any ideas how I can dive further into this problem?
Beta Was this translation helpful? Give feedback.
All reactions