-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refactor delivery receipts #1465
Comments
14 tasks
terrazoon
moved this from ⬇ Up-Next
to 🏗 In progress (WIP: ≤ 3 per person)
in Notify.gov product board
Dec 11, 2024
PR to add message_id to notifications table: #1474 |
When we get the delivery receipts, make them into a batch statement and do a batch update of the notifications table. The reason for doing two passes is to improve the accuracy of the mass download, where there are sometimes edge cases. If we need further accuracy, add a 13 minute run etc. |
terrazoon
moved this from 🏗 In progress (WIP: ≤ 3 per person)
to ⏱ Blocked/Waiting
in Notify.gov product board
Dec 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now we get a message_id for a notification and then we use FilterLogEvents to search the AWS logs using that message_id to obtain the delivery status. This results in many many calls to CloudWatch and we are getting throttled.
We could refactor as follows:
Updated approach
After more experimentation, research, and guidance, we've determined that using the CloudWatch Log Insights would work even better for this:
The text was updated successfully, but these errors were encountered: