System design · 12 of 16
Mid
Senior
- Monitoring and alerting for 100 servicesSRE · Platform · DevOps
- Secrets management platformDevOps · Platform · SRE
- Multi-region active-active serviceSRE · Platform
- Distributed job scheduler (cron at scale)SRE · Platform
- Internal developer platform (IDP)Platform
- Multi-tenant Kubernetes platformPlatform · DevOps · SRE
- GitOps for a fleet of 100 clustersPlatform · DevOps
- ML training platform and feature storeMLOps · Platform
- LLM inference platformMLOps · Platform · SRE
SENIOR · 14 MIN · PLATFORM
Internal developer platform (IDP)
A portal, golden-path templates, self-service infrastructure, shared CI/CD and built-in guardrails, run as a product for developers.
- Peak load
- 500 services, 300 devs
- Availability target
- 99.9% (portal)
- RTO: back up within
- 4 hours
- RPO: data you can lose
- 24 hours
← Swipe sideways to see the whole diagram →
The question
"Developers wait days for infrastructure and every team builds pipelines differently. Design an internal developer platform."
Requirements
- A new service goes from idea to running in production in under a day.
- Self-service for common needs: new service, database, queue, preview environment.
- Security, cost and reliability standards are built in, not added later.
- Teams can still do special things when they really need to.
How it works
- Developers start in a developer portal (Backstage): a catalog of every service with its owner, docs, on-call, dashboards and scorecards.
- Golden-path templates create a new repository with code skeleton, Dockerfile, CI pipeline, Helm chart, alerts and catalog entry already set up.
- Shared, versioned CI/CD and GitOps build and deploy every service the same way.
- An infrastructure API (Crossplane compositions or Terraform modules behind a pull request) lets teams request a database or bucket with a few lines of YAML.
- Observability is automatic: logs, metrics, traces and a default dashboard for every new service.
- Guardrails (policy-as-code, secrets from a manager, least-privilege roles) are enforced by the platform, so being on the golden path means being compliant.
Think of it like: a well-run airport. Passengers (developers) follow clear signs and self-service kiosks; security checks are built into the path, not a separate trip.
Key decisions
| Decision | Choice | Why |
|---|---|---|
| Interface | portal + Git (pull requests) + CLI | meet developers where they work |
| Abstraction level | simple choices (size, tier), hide cloud details | fewer mistakes, easy to change later |
| Ownership | platform team as a product team | roadmap, docs, support and feedback |
| Escape hatch | allowed, but visible in scorecards | don't block special cases; learn from them |
Measuring success
- Time from "new service" to first production deploy.
- DORA metrics: deploy frequency, lead time, change failure rate, time to restore.
- Golden-path adoption and developer satisfaction surveys.
- Tickets to the platform team going down.
What breaks and how it heals
- Nobody adopts it: start from the biggest developer pain, ship a thin version early, migrate friendly teams first.
- Platform team becomes a bottleneck: automate the top ticket types, accept contributions from other teams.
- Templates drift after creation: move shared parts into versioned libraries/components and update them with Renovate.
Load and capacity
| Item | Assumption | Result |
|---|---|---|
| Users | 300 developers | portal peaks ~50 requests/s |
| Catalog | 500 services, 2,000 components | small; refreshed from Git every few minutes |
| Goals | time to first production deploy | from ~2 weeks to under 1 day |
| Self-service | a new database through the portal | ready in under 30 minutes instead of a ticket queue |
High availability and disaster recovery
| Target | Number | How it is met |
|---|---|---|
| Portal availability | 99.9% (internal tool) | 2+ replicas, managed Postgres |
| Golden rule | the platform being down must not take apps down | apps run on Kubernetes and cloud services directly; the portal is only the front door |
| Portal lost | RTO 4 hours, RPO 24 hours | the catalog is rebuilt from catalog-info.yaml files in Git; daily database backups for the rest |
| Infra state | never lost | Terraform state in versioned S3; Crossplane objects in Git (GitOps) |
What interviewers listen for
- Product thinking: users, adoption and metrics, not just tools.
- Self-service with guardrails.
- A realistic rollout and migration plan.