Notification batching
One person doing one thing can generate a dozen notifications: a comment, a mention, an assignment, an edit. Batching collapses the burst into a single message, and the design question is how long to wait before deciding the burst is over.
Method
- Batch by the entity the user cares about. Everything that happened to one document or one thread, since that is how people think about it, not by event type.
- Use a short debounce window. Waiting a few minutes after the last event catches the burst without making the notification stale (see batching-and-debouncing).
- Cap the wait. A continuously active thread must still notify eventually, or a busy discussion produces silence.
- Summarise the batch meaningfully. Three people commented on your document beats three separate messages and beats a list of three identical lines.
- Let urgency bypass batching. A direct mention or an assignment may deserve immediate delivery while ambient activity batches (see notification-strategy).
- Collapse repeats of the same event. Someone editing five times in a minute is one edit from the reader's perspective.
- Keep batching rules explainable. Users who cannot predict when they will be told something lose trust in the channel entirely.
Boundaries
Batching trades immediacy for volume, which is wrong for anything time-critical. Per-user batching state costs storage and complexity at scale. Cross-channel batching is harder, since a push already sent cannot be un-sent when the digest goes out later.