Skip to content
Skills Library
DevOps & cloud · Planning

system-design-interview-high-level-architecture

/system-design-interview-high-level-architecture

Use this skill when architecting scalable distributed systems with load balancers, microservices, caches, and database partitions.

Licence
MIT
Last repository change
28.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use this skill when architecting scalable distributed systems with load balancers, microservices, caches, and database partitions.

Original author description

Use this skill when architecting scalable distributed systems with load balancers, microservices, caches, and database partitions.

How it works

  1. When to use
  2. Core principles
  3. Step-by-step workflow
  4. Specifics & examples
  5. Common mistakes & pitfalls
  6. Verification checklist
  7. Related skills
Original SKILL.md headings · 42 lines, 375 words
SKILL.md preview
---
name: system-design-interview-high-level-architecture
description: Use this skill when architecting scalable distributed systems with load balancers, microservices, caches, and database partitions.
---
# System Design: High-Level Architecture & Component Design

## When to use
Use this skill in the core 20 minutes of a system design interview to map client requests through load balancers, application servers, caches, message queues, and databases.

## Core principles
- **End-to-End Request Flow**: Draw connections tracing a single read and write request from DNS/CDN to reverse proxy, application service, and persistent storage.
- **Separation of Concerns**: Decouple high-throughput write paths from heavy read paths (CQRS / Fan-out services).
- **Eliminating Single Points of Failure (SPOF)**: Every critical component (load balancer, database, message queue) must have multi-AZ redundancy and automatic failover.
- **Data Store Specialization**: Use relational databases (Postgres) for ACID consistency, NoSQL (Cassandra/DynamoDB) for horizontal key-value write scaling, and Redis for volatile high-speed caching.

## Step-by-step workflow
1. Draw Clients (Web/Mobile) reaching CDN (static assets) and DNS / Anycast IP.
2. Place redundant Load Balancers (HAProxy / ALB) terminating SSL.
3. Add stateless API Application Gateway routing traffic to microservices.
4. Introduce distributed Cache (Redis cluster) in front of read-heavy databases.
5. Design database tier: select SQL vs NoSQL, master-replica replication, and sharding keys.
6. Add asynchronous Message Queues (Kafka / RabbitMQ) for background write processing.
7. Deep dive into 1–2 bottleneck components (e.g., timeline fan-out on write vs fan-out on read).

## Specifics & examples
- **Fan-Out Architecture Decision Trade-off**:
  - *Fan-out on write (Push)*: When user posts, push tweet ID to all follower Redis timelines immediately. Fast reads (O(1)), but costly for celebrities with 50M followers.
  - *Fan-out on read (Pull)*: Generate timeline dynamically when user requests it. Low write latency, but slow and expensive reads.
  - *Hybrid Approach*: Use push model for normal users (<10k followers); dynamically merge celebrity posts on read.

## Common mistakes & pitfalls
- Creating stateful application servers that prevent horizontal auto-scaling.
- Failing to explain how cache invalidation works (Cache-Aside, Write-Through).
- Drawing 15 different obscure cloud services without understanding how data flows between them.

## Verification checklist
- [ ] High-level diagram shows complete path from client to database.
- [ ] Explains database sharding strategy and chosen partition key.
- [ ] Explicitly addresses failure modes and redundancy for every tier.

## Related skills
- system-design-interview-clarifying-requirements
- system-design-interview-capacity-estimation-qps
- coding-interview-communication-thinking-out-loud
- dsa-time-space-complexity-big-o-analysis

Versions

The database has no other skills named system-design-interview-high-level-architecture.

Database snapshot: 13.11.2026 · package version c98cda3ee9f8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100system-design
    Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues. Use when the user mentions "system design", "scale this", "high availability", "rate limiter", "design a URL shortener", "design Twitter", "design…
  • 100design-expert
    Expert-level system design, architecture patterns, scalability, and distributed systems. Use when the user mentions system design, architecture, scalability, distributed systems, or patterns, or when the task involves Architecture Patterns or Design Principles.
  • 100cloud-design-patterns
    Cloud design patterns for distributed systems architecture covering 42 industry-standard patterns across reliability, performance, messaging, security, and deployment categories. Use when designing, reviewing, or implementing distributed system architectures.
  • 100microservices-distributed-system-failure-isolation
    Use this skill when isolate cascading failures across distributed microservices using correlation IDs and tracing.
  • 95high-availability-distributed-systems
    Design resilient high-availability distributed systems, active-active multi-region replication, leader election, consensus protocols (Raft), dynamic load balancing, and zero-downtime failover mechanics. Trigger when architecting HA infrastructure, multi-region database…
  • 100microservices-expert
    Expert-level microservices architecture, patterns, service mesh, and distributed systems. Use when the user mentions distributed systems, service mesh, or architecture, or when the task involves Microservices Principles, Architecture Patterns, Communication, or Data Management.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.