Skip to content

Switch from using a SQS Queue to SNS Web Hooks #5

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

Merged
merged 2 commits into from
Apr 12, 2018

Conversation

dstufft
Copy link
Member

@dstufft dstufft commented Apr 8, 2018

This is blocked on merging pypi/warehouse#3580.

@ewdurbin
Copy link
Member

We should ensure appropriate DeliveryPolicies are set to help increase reliability of SNS -> warehouse.

@dstufft
Copy link
Member Author

dstufft commented Apr 11, 2018

I've added a delivery policy to the SNS topic now, it is:

  1. Immediately retry up to 5 times without a delay.
  2. Retry up to 5 times with a 5 second delay between attempts.
  3. Retry up to 65 times with a exponential backoff scaling from 5 to 30 seconds.
  4. Retry up to 25 additional times with a 30 second delay between attempts.

I have no idea what the right policy is here, and maybe something simpler is better? but that should chew up all 100 retries before the hour is gone.

@dstufft dstufft merged commit 306ae5c into pypi:master Apr 12, 2018
@dstufft dstufft deleted the ses-sns-http branch April 12, 2018 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants