Skip to content
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

Add info on how Segment handles Klaviyo rate limiting #6463

Merged
merged 3 commits into from
Feb 27, 2025

Conversation

Panandhan22
Copy link
Contributor

If the issue persists even after enabling batching, it will be auto-tuned. We don't have a fixed rate limit for the Klaviyo destination; our system uses an adaptive algorithm to determine the proper rate at which to send events. If there is an increase in Klaviyo destination rate limit, our system will adapt to a rate that is slightly faster than what the downstream service can handle. The occurrence of 429 and other retryable errors actually signals our egress to slow down. The more retryable errors we encounter, the slower we send events; if we achieve more successes, the rate will increase.

Proposed changes

Merge timing

Related issues (optional)

If the issue persists even after enabling batching, it will be auto-tuned. We don't have a fixed rate limit for the Klaviyo destination; our system uses an adaptive algorithm to determine the proper rate at which to send events. If there is an increase in Klaviyo destination rate limit, our system will adapt to a rate that is slightly faster than what the downstream service can handle. The occurrence of 429 and other retryable errors actually signals our egress to slow down. The more retryable errors we encounter, the slower we send events; if we achieve more successes, the rate will increase.
@Panandhan22 Panandhan22 marked this pull request as ready for review August 21, 2024 01:47
@Panandhan22 Panandhan22 requested a review from a team as a code owner August 21, 2024 01:47
@Panandhan22 Panandhan22 requested a review from pwseg August 21, 2024 01:47
@pwseg pwseg changed the title Rate limit Klaviyo Add info on how Segment handles Klaviyo rate limiting Feb 27, 2025
@pwseg pwseg merged commit d6217e0 into develop Feb 27, 2025
4 checks passed
@pwseg pwseg deleted the Panandhan22-patch-5 branch February 27, 2025 17:33
Copy link
Contributor

Thank you for your contribution! Your pull request is merged, but may take a day or two to appear on the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants