About the AWS Pricing plugin, the sync command stopped in the middle, even though I set spec.concurrency
to 5:
source plugin process failed with signal: killed
After doing some research, I found this document:
Using the AWS Price List Bulk API
It clearly shows that we need to set limits on the connections to the API call for the AWS Price List Bulk API
.
What’s the best number I should define? Is the setting related to spec.concurrency
? Any other parameters related?
kind: source
spec:
name: "awspricing"
path: "cloudquery/awspricing"
version: "v3.0.10"
tables: ["*"]
destinations:
- "postgresql"
spec:
# Optional parameters
# region_codes: []
# offer_codes: []
concurrency: 10000 # what number do I need to change to, 5?
How can I understand the relationship between spec.concurrency
and the API’s Token bucket size (10)
and Refill rate per second (5)
?