Design a Priority Venue Invitation Platform
Let businesses schedule venue events, invite users at high volume, highlight important events, and suppress stale-date notifications.
Problem statement
For this exercise, assume businesses create events at their venues, explicitly select recipient user IDs, and may change an event date after invitation work begins. Important events such as celebrity visits or weddings receive reserved notification capacity and appear highlighted on the business page.
Use immutable event versions; a date change supersedes earlier unsent work. Deliver notifications asynchronously with at-least-once transport and deduplicate by event version, user, and channel.
Assume 100,000 active businesses, 10 million users, bursts of 2 million invitations per hour, and 50,000 business-page reads per second. Show event updates on the business page within one minute and begin 99 percent of accepted important-event deliveries within five minutes.
Preserve this invariant: an invitation references one event version, and no notification may present an older date as current. Keep user recommendation, advertising, ticket sales, and venue capacity management outside the first version.
What to build
- Let an authorized business create an event and publish immutable date or priority versions.
- Accept explicit recipient sets and durably create deduplicated invitation intent.
- Deliver important and standard invitations asynchronously with visible status.
- Show the current important events on each business page with bounded freshness.
At scale
- For this exercise, assume 100,000 active businesses, 10 million users, bursts of 2 million invitations per hour, and 50,000 business-page reads per second.
- For this exercise, show event updates on the business page within one minute and begin 99 percent of accepted important-event deliveries within five minutes.
- For this exercise, reserve delivery capacity for important events without starving standard work, and retain invitation and delivery evidence for 90 days.