How it works
A scheduled campaign stores a due time and recipient selection plan. A scheduler releases due intents into channel queues in bounded batches, taking account of time zones, quiet hours, and newly changed preferences. For a large audience, avoid loading every recipient into one process or firing the whole campaign in one second.
Apply limits at several levels: a frequency cap stops an individual user receiving too many promotional messages; each provider account has a throughput or cost budget, such as the maximum send rate Amazon SES sets per account; urgent transactional work may need reserved capacity. These limits solve different problems. A global provider quota does not prevent one user from being overwhelmed, and a per-user cap does not protect a provider during a huge burst.
As an example, an announcement goes to 1.2 million people on an account limited to 2,000 sends per second, with 200 reserved for receipts. The campaign gets 1,800 per second, perhaps 900 every half second, so it takes about 11 minutes (1.2 million ÷ 1,800). That spread is fine for marketing and unacceptable for a login code. A list that fits well within the quota may need no scheduler at all.
Batching reduces provider calls when the channel supports it, but batches should remain small enough for retries and per-recipient status. Queue age, not only queue length, reveals whether a campaign is making people wait beyond its promised window. Drop stale promotional items only under a documented expiry policy; do not silently drop transactional alerts.
A campaign for five million users is due at 9 a.m. local time, while receipts must still arrive quickly. How should the scheduler release work?
Partition by local time and recipient, release bounded batches under provider quotas, enforce consent and per-user frequency caps near send time, and keep reserved queue capacity for receipts. Watch oldest-item age to catch delays.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Schedule and pace large fanouts rather than releasing all recipients at once.
- Use separate user-frequency and provider-capacity limits.