-
Couldn't load subscription status.
- Fork 4.9k
fix(source-linkedin-ads): increase concurrency by 3x and add an initial HTTPAPIBudget #68626
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
base: master
Are you sure you want to change the base?
Conversation
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. Helpful Resources
PR Slash CommandsAirbyte Maintainers (that's you!) can execute the following slash commands on your PR:
|
|
|
Deploy preview for airbyte-docs ready! ✅ Preview Built with commit 95c9450. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine trying this budget but it feels like if we don't see a lot of 429 today on /adAnalytics, we could allow for more requests
| rates: | ||
| # As mentioned, there are no published rate limits, setting an initial max of 5 req per 10 seconds. | ||
| # We can adjust this as needed. | ||
| - limit: 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would assume with a budget like that that we're seeing 429 in the logs in prod right now, right? My reasoning is that we might have two threads running analytics streams which would mean that the HTTP request + the processing of records would need to that 4 seconds for each HTTP request to avoid being rate limited.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we do see some 429 errors predominantly on the /adAnalytics endpoint in the developer portal metrics, so it is a definite possibility that we'll hit more of these. i'll increase it a little more, but erring on the side of caution since we already hit sync affecting limits the last time we increased
LinkedIn's API is very annoying in that there are basically no documented rate limits, I can do some experimentation, but for now, I feel like we are leaving performance on the table.
Some historical notes:
/adAnalyticsendpoint is 15,000,000 req/day.After the release I'll monitor the changes and if we see an increase in 429s affecting syncs we will revert and tune this further