-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importing aws route53 records is painfully slow #401
Comments
Our algorithm is as follows:
That last step might take significant amount of time and might be the cause of your problems. In the meantime, we also send requests to fetch resource schema from the plugin for each detected resource (it takes quite a lot of CPU cycles). That's I think is the only performance improvement that we can make since:
|
@sergeylanzman I think general improvements to terraformer is everything that can be done, without changing the core assumptions on how we interact with Terraform plugins. On my account, I can import ~240 AWS Route 53 resources in around 2 minutes, which makes on average 2 reqs per second. That sounds good enough for me not to initiate request throttling and I think that number might higher close to US East coast (am placed in SE Asia) due to lower latencies. The import time is same as |
Thanks! @meshuga |
this dominates the runtime of our periodic imports -- any reason it takes so long? It seems a cli53 export -> transformation would be orders of magnitude faster.
The text was updated successfully, but these errors were encountered: