Design Scheduled Post Publishing for Company Pages
Last updated: November 29, 2026
Quick Overview
Company Page admins on LinkedIn can schedule posts to publish at a future time. Design the service that stores scheduled posts and publishes each one on time exactly once.
0
0
0 solved
Company Page admins on LinkedIn can schedule posts to publish at a future time. Design the service that stores scheduled posts and publishes each one on time exactly once.
Scheduling is used heavily by marketing teams managing LinkedIn Pages, and it is a good entry-level design question about durable timers. Interviewers check for a reliable scheduler, exactly-once publishing semantics, and handling of edits and cancellations.
What the Interviewer Expects
- Defines functional needs including edit, cancel, and time zones
- Stores scheduled posts durably with status
- Designs a scheduler that scans by due time with leases
- Makes publishing idempotent
- Handles failures and late publishing
- Notifies admins of success or failure
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you handle 50,000 posts scheduled for exactly 9:00 AM?
- What if the post's media is still processing at publish time?
- How would you support recurring posts?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: admins create, edit, or cancel a scheduled post up to the publish time; posts publish within one minute of the scheduled time; time zones handled by storing UTC; admins get notified of...
High-Level Design
- Schedule API writes to a
scheduled_poststable: id, page id, author id, content ref,publish_at(UTC), status (scheduled, publishing, published, failed, canceled), version. - **Scheduler wor...