Centralized Notification Logs: Simple Queries for Tracking Delivery Costs
The article argues that a free centralized logging API should be judged by how much event data it must retain, including delivery attempts, retries, and the records each attempt creates. It works through a hypothetical newsletter workload of 100,000 attempts a day, three records per attempt, and 1,000 bytes per record, yielding about 300 MB daily before indexing or replication. It recommends using a single attempt as the accounting unit, shrinking routine records into one summary per attempt, and tagging logs with campaign, send, attempt, and scheduled-run identifiers. The author also cautions that logs cannot prove delivery to an inbox or that a scheduled job ran, and that timeouts reflect uncertainty rather than confirmed failure. Finally, it advises against logging sensitive recipient data such as OTPs, message bodies, or contact details.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in