radius-project / radius

Radius is a cloud-native, portable application platform that makes app development easier for teams building cloud-native apps.
https://radapp.io
Apache License 2.0
1.48k stars 94 forks source link

Call to CreateOrUpdateAWS takes ~10 seconds with new Multi-Identifier work #4288

Open jkotalik opened 1 year ago

jkotalik commented 1 year ago

Looking at Deployment Engine logs:

      Received HTTP response headers after 8562.3885ms - 201

Each call to start creating an AWS resource takes ~10 seconds. This probably has started to add things like CloudFormation calls to get resource info.

We should try to reduce this as much as possible.

AB#4501

rynowak commented 1 year ago

We will probably need to cache this information (in memory) if we're making multiple calls into CF from inside the AWS proxy. AWS throttles API requests, and it's probably the case that schema lookups are slow.