evgenyvinnik/llm-driven-system-design

Collection of the system designs driven by LLMs

TypeScript

58

436 commits

updated Sep 20, 2026

See the code

README

LLM-Driven System Design Practice

Vision

Traditional system design interview preparation often relies on passive learning - reading articles, watching YouTube videos, and memorizing architectural patterns. While valuable, this approach lacks the hands-on experience that comes from actually building systems.

This repository represents a different approach: learning system design by actually implementing it.

With the assistance of LLMs like Claude, we can rapidly prototype lightweight versions of classic (and creative) system design interview questions. This hands-on practice helps develop:

  • Architectural thinking - Making real trade-offs, not theoretical ones
  • Implementation experience - Understanding what actually works vs. what looks good on a whiteboard
  • Technology selection - Choosing the right tools for each use case
  • Scalability patterns - Building systems that can grow
  • Problem-solving skills - Debugging and iterating on real implementations

System Design Challenges

Each folder contains an independent implementation of a system design problem.

URL Shortening & Web Services

ProjectDescriptionStatus
Bit.lyURL shortening service✅ Implemented
Web CrawlerDistributed web crawling system✅ Implemented

Storage & File Systems

ProjectDescriptionStatus
DropboxCloud file storage and synchronization✅ Implemented
Distributed CacheHigh-performance caching layer✅ Implemented

Social Media & Content

ProjectDescriptionStatus
FB News FeedPersonalized content feed✅ Implemented
FB Live CommentsReal-time comment system✅ Implemented
FB Post SearchSocial media search engine✅ Implemented
InstagramPhoto sharing platform✅ Implemented
TinderMatching and recommendation system✅ Implemented
r/placeCollaborative real-time pixel canvas✅ Implemented
RedditCommunity forums with voting system✅ Implemented
TwitterMicroblogging and social network✅ Implemented
LinkedInProfessional networking platform✅ Implemented
TikTokShort-form video platform✅ Implemented
Kindle HighlightsSocial reading platform with real-time sync✅ Implemented

Messaging & Communication

ProjectDescriptionStatus
WhatsAppReal-time messaging platform✅ Implemented
DiscordReal-time chat and community platform✅ Implemented
SlackTeam communication and collaboration✅ Implemented
iMessageCross-device messaging with offline sync✅ Implemented
FaceTimeReal-time video calling✅ Implemented

Video & Streaming

ProjectDescriptionStatus
YouTubeVideo hosting and streaming platform✅ Implemented
YouTube Top KReal-time trending video analytics✅ Implemented
TwitchLive streaming platform✅ Implemented
NetflixVideo streaming with adaptive bitrate✅ Implemented
SpotifyMusic streaming and recommendations✅ Implemented
Apple MusicMusic streaming service✅ Implemented
Apple TV+Video streaming service✅ Implemented

E-Commerce & Marketplaces

ProjectDescriptionStatus
YelpLocal business review platform✅ Implemented
Online AuctionBidding and auction system✅ Implemented
Price TrackingE-commerce price monitoring✅ Implemented
AmazonE-commerce platform at scale✅ Implemented
AirbnbVacation rental marketplace✅ Implemented
EtsyHandmade goods marketplace✅ Implemented
DoorDashFood delivery logistics✅ Implemented
ShopifyMulti-tenant e-commerce platform✅ Implemented
App StoreApp discovery, purchases, and rankings✅ Implemented

Transportation & Logistics

ProjectDescriptionStatus
UberRide-hailing platform✅ Implemented
Local DeliveryLast-mile delivery system✅ Implemented
StravaFitness tracking and social platform✅ Implemented
Apple MapsNavigation with real-time traffic✅ Implemented
AirTagItem tracking and Find My network✅ Implemented

Ticketing, Events & Reservations

ProjectDescriptionStatus
TicketmasterEvent ticketing and inventory management✅ Implemented
Hotel BookingHotel reservation and management system✅ Implemented
CalendlyMeeting scheduling and calendar coordination✅ Implemented
Google CalendarCalendar with Month/Week/Day views and conflict detection✅ Implemented

Developer & Productivity Tools

ProjectDescriptionStatus
LeetCodeOnline coding judge and practice platform✅ Implemented
Google DocsCollaborative document editing✅ Implemented
Google SheetsCollaborative spreadsheet with real-time sync✅ Implemented
FigmaCollaborative design and prototyping platform✅ Implemented
GitHubCode hosting and version control✅ Implemented
NotionCollaborative workspace with blocks✅ Implemented
JiraIssue tracking and project management✅ Implemented
Collaborative EditorReal-time document editing✅ Implemented
AI Code AssistantCLI coding assistant like Claude Code/Cursor✅ Implemented
Plugin PlatformVS Code-like extension system with sandboxing✅ Implemented

Financial Services & Payments

ProjectDescriptionStatus
RobinhoodStock trading platform✅ Implemented
Payment SystemTransaction processing system✅ Implemented
StripePayment processing and APIs✅ Implemented
VenmoP2P payment platform✅ Implemented
SplitwiseShared-expense tracking with debt simplification✅ Implemented
Apple PaySecure mobile payments✅ Implemented

Business Services

ProjectDescriptionStatus
DocuSignElectronic signature platform✅ Implemented

Search & Discovery

ProjectDescriptionStatus
Google SearchWeb search engine✅ Implemented
TypeaheadAutocomplete and suggestions✅ Implemented
SpotlightDevice and cloud search✅ Implemented

ML/AI & Data Platforms

ProjectDescriptionStatus
Scale AIData labeling with crowdsourced drawing collection✅ Implemented
Health Data PipelineMulti-device health data aggregation✅ Implemented

Infrastructure & System Components

ProjectDescriptionStatus
Rate LimiterAPI rate limiting service✅ Implemented
Job SchedulerDistributed task scheduling✅ Implemented
Ad Click AggregatorReal-time analytics aggregation✅ Implemented
News AggregatorContent aggregation and curation✅ Implemented
DashboardingMetrics monitoring and visualization✅ Implemented
Notification SystemHigh-traffic push notifications✅ Implemented
APNsApple Push Notification Service✅ Implemented
iCloud SyncFile and photo synchronization✅ Implemented
Scalable APIAPI serving millions of users✅ Implemented

UI Components & Patterns

ProjectDescriptionStatus
GalleryImage gallery with Slideshow, Masonry, and Tiles views✅ Implemented

Personal Projects & Experiments

External projects demonstrating system design concepts (with local architecture documentation):

ProjectDescriptionStatus
MD ReaderProgressive Web App for Markdown editing (source)📝 Design Only
MCPlatorRetro calculator with LLM-powered AI assistant (source)📝 Design Only
20 Forms, 40 DesignsForm library comparison across 41 React design systems (source)📝 Design Only

Project Structure

Each project folder contains:

FilePurpose
README.mdImplementation guide, setup instructions, and testing details
architecture.mdSystem design documentation, architectural decisions, and trade-offs
system-design-answer-{frontend,backend,fullstack}.mdInterview-style answers tailored by role (45-minute format)
claude.mdLLM collaboration notes and iteration history
Source codeActual implementation (varies by project)

Getting Started

  1. Choose a system design challenge that interests you
  2. Read the architecture.md to understand the design decisions
  3. Follow the README.md for setup and implementation details
  4. Review claude.md to see how the system evolved through LLM collaboration

LLM-Assisted Development

This repository leverages Claude and other LLMs to:

  • Rapidly prototype architectural ideas
  • Generate boilerplate code and infrastructure
  • Explore different implementation approaches
  • Debug and optimize systems
  • Document design decisions

See CLAUDE.md for guidelines on collaborating with AI on system design projects.

Scripts

Utility scripts for repository management:

# Count SLOC for entire repository
node scripts/sloc.mjs

# Count SLOC for specific project
node scripts/sloc.mjs scale-ai

# Output as JSON
node scripts/sloc.mjs scale-ai --json

# Output summary for README embedding
node scripts/sloc.mjs scale-ai --summary

Learning Approach

  1. Understand the requirements - What problem are we solving?
  2. Design the architecture - What components do we need?
  3. Identify key challenges - What are the hard parts?
  4. Implement incrementally - Start simple, add complexity
  5. Test and iterate - Does it work? Can it scale?
  6. Reflect and document - What did we learn?

Skills Developed

  • Distributed systems design
  • Database schema design and optimization
  • API design and versioning
  • Caching strategies
  • Load balancing and horizontal scaling
  • Real-time data processing
  • Message queues and event-driven architecture
  • Security and authentication
  • Monitoring and observability

Contributing

This is a personal learning repository, but feel free to fork it and create your own implementations! Different approaches to the same problem are valuable learning opportunities.

License

MIT License - Feel free to use this for your own learning and interview preparation.


Remember: The goal isn't to build production-ready systems, but to gain hands-on experience with system design concepts. Start simple, iterate, and learn by doing!

Contributors

evgenyvinnik

415 commits

Copilot

12 commits

claude

9 commits

evgenyvinnik/llm-driven-system-design

Collection of the system designs driven by LLMs

TypeScript

58

436 commits

updated Sep 20, 2026

See the code

README

LLM-Driven System Design Practice

Vision

Traditional system design interview preparation often relies on passive learning - reading articles, watching YouTube videos, and memorizing architectural patterns. While valuable, this approach lacks the hands-on experience that comes from actually building systems.

This repository represents a different approach: learning system design by actually implementing it.

With the assistance of LLMs like Claude, we can rapidly prototype lightweight versions of classic (and creative) system design interview questions. This hands-on practice helps develop:

  • Architectural thinking - Making real trade-offs, not theoretical ones
  • Implementation experience - Understanding what actually works vs. what looks good on a whiteboard
  • Technology selection - Choosing the right tools for each use case
  • Scalability patterns - Building systems that can grow
  • Problem-solving skills - Debugging and iterating on real implementations

System Design Challenges

Each folder contains an independent implementation of a system design problem.

URL Shortening & Web Services

ProjectDescriptionStatus
Bit.lyURL shortening service✅ Implemented
Web CrawlerDistributed web crawling system✅ Implemented

Storage & File Systems

ProjectDescriptionStatus
DropboxCloud file storage and synchronization✅ Implemented
Distributed CacheHigh-performance caching layer✅ Implemented

Social Media & Content

ProjectDescriptionStatus
FB News FeedPersonalized content feed✅ Implemented
FB Live CommentsReal-time comment system✅ Implemented
FB Post SearchSocial media search engine✅ Implemented
InstagramPhoto sharing platform✅ Implemented
TinderMatching and recommendation system✅ Implemented
r/placeCollaborative real-time pixel canvas✅ Implemented
RedditCommunity forums with voting system✅ Implemented
TwitterMicroblogging and social network✅ Implemented
LinkedInProfessional networking platform✅ Implemented
TikTokShort-form video platform✅ Implemented
Kindle HighlightsSocial reading platform with real-time sync✅ Implemented

Messaging & Communication

ProjectDescriptionStatus
WhatsAppReal-time messaging platform✅ Implemented
DiscordReal-time chat and community platform✅ Implemented
SlackTeam communication and collaboration✅ Implemented
iMessageCross-device messaging with offline sync✅ Implemented
FaceTimeReal-time video calling✅ Implemented

Video & Streaming

ProjectDescriptionStatus
YouTubeVideo hosting and streaming platform✅ Implemented
YouTube Top KReal-time trending video analytics✅ Implemented
TwitchLive streaming platform✅ Implemented
NetflixVideo streaming with adaptive bitrate✅ Implemented
SpotifyMusic streaming and recommendations✅ Implemented
Apple MusicMusic streaming service✅ Implemented
Apple TV+Video streaming service✅ Implemented

E-Commerce & Marketplaces

ProjectDescriptionStatus
YelpLocal business review platform✅ Implemented
Online AuctionBidding and auction system✅ Implemented
Price TrackingE-commerce price monitoring✅ Implemented
AmazonE-commerce platform at scale✅ Implemented
AirbnbVacation rental marketplace✅ Implemented
EtsyHandmade goods marketplace✅ Implemented
DoorDashFood delivery logistics✅ Implemented
ShopifyMulti-tenant e-commerce platform✅ Implemented
App StoreApp discovery, purchases, and rankings✅ Implemented

Transportation & Logistics

ProjectDescriptionStatus
UberRide-hailing platform✅ Implemented
Local DeliveryLast-mile delivery system✅ Implemented
StravaFitness tracking and social platform✅ Implemented
Apple MapsNavigation with real-time traffic✅ Implemented
AirTagItem tracking and Find My network✅ Implemented

Ticketing, Events & Reservations

ProjectDescriptionStatus
TicketmasterEvent ticketing and inventory management✅ Implemented
Hotel BookingHotel reservation and management system✅ Implemented
CalendlyMeeting scheduling and calendar coordination✅ Implemented
Google CalendarCalendar with Month/Week/Day views and conflict detection✅ Implemented

Developer & Productivity Tools

ProjectDescriptionStatus
LeetCodeOnline coding judge and practice platform✅ Implemented
Google DocsCollaborative document editing✅ Implemented
Google SheetsCollaborative spreadsheet with real-time sync✅ Implemented
FigmaCollaborative design and prototyping platform✅ Implemented
GitHubCode hosting and version control✅ Implemented
NotionCollaborative workspace with blocks✅ Implemented
JiraIssue tracking and project management✅ Implemented
Collaborative EditorReal-time document editing✅ Implemented
AI Code AssistantCLI coding assistant like Claude Code/Cursor✅ Implemented
Plugin PlatformVS Code-like extension system with sandboxing✅ Implemented

Financial Services & Payments

ProjectDescriptionStatus
RobinhoodStock trading platform✅ Implemented
Payment SystemTransaction processing system✅ Implemented
StripePayment processing and APIs✅ Implemented
VenmoP2P payment platform✅ Implemented
SplitwiseShared-expense tracking with debt simplification✅ Implemented
Apple PaySecure mobile payments✅ Implemented

Business Services

ProjectDescriptionStatus
DocuSignElectronic signature platform✅ Implemented

Search & Discovery

ProjectDescriptionStatus
Google SearchWeb search engine✅ Implemented
TypeaheadAutocomplete and suggestions✅ Implemented
SpotlightDevice and cloud search✅ Implemented

ML/AI & Data Platforms

ProjectDescriptionStatus
Scale AIData labeling with crowdsourced drawing collection✅ Implemented
Health Data PipelineMulti-device health data aggregation✅ Implemented

Infrastructure & System Components

ProjectDescriptionStatus
Rate LimiterAPI rate limiting service✅ Implemented
Job SchedulerDistributed task scheduling✅ Implemented
Ad Click AggregatorReal-time analytics aggregation✅ Implemented
News AggregatorContent aggregation and curation✅ Implemented
DashboardingMetrics monitoring and visualization✅ Implemented
Notification SystemHigh-traffic push notifications✅ Implemented
APNsApple Push Notification Service✅ Implemented
iCloud SyncFile and photo synchronization✅ Implemented
Scalable APIAPI serving millions of users✅ Implemented

UI Components & Patterns

ProjectDescriptionStatus
GalleryImage gallery with Slideshow, Masonry, and Tiles views✅ Implemented

Personal Projects & Experiments

External projects demonstrating system design concepts (with local architecture documentation):

ProjectDescriptionStatus
MD ReaderProgressive Web App for Markdown editing (source)📝 Design Only
MCPlatorRetro calculator with LLM-powered AI assistant (source)📝 Design Only
20 Forms, 40 DesignsForm library comparison across 41 React design systems (source)📝 Design Only

Project Structure

Each project folder contains:

FilePurpose
README.mdImplementation guide, setup instructions, and testing details
architecture.mdSystem design documentation, architectural decisions, and trade-offs
system-design-answer-{frontend,backend,fullstack}.mdInterview-style answers tailored by role (45-minute format)
claude.mdLLM collaboration notes and iteration history
Source codeActual implementation (varies by project)

Getting Started

  1. Choose a system design challenge that interests you
  2. Read the architecture.md to understand the design decisions
  3. Follow the README.md for setup and implementation details
  4. Review claude.md to see how the system evolved through LLM collaboration

LLM-Assisted Development

This repository leverages Claude and other LLMs to:

  • Rapidly prototype architectural ideas
  • Generate boilerplate code and infrastructure
  • Explore different implementation approaches
  • Debug and optimize systems
  • Document design decisions

See CLAUDE.md for guidelines on collaborating with AI on system design projects.

Scripts

Utility scripts for repository management:

# Count SLOC for entire repository
node scripts/sloc.mjs

# Count SLOC for specific project
node scripts/sloc.mjs scale-ai

# Output as JSON
node scripts/sloc.mjs scale-ai --json

# Output summary for README embedding
node scripts/sloc.mjs scale-ai --summary

Learning Approach

  1. Understand the requirements - What problem are we solving?
  2. Design the architecture - What components do we need?
  3. Identify key challenges - What are the hard parts?
  4. Implement incrementally - Start simple, add complexity
  5. Test and iterate - Does it work? Can it scale?
  6. Reflect and document - What did we learn?

Skills Developed

  • Distributed systems design
  • Database schema design and optimization
  • API design and versioning
  • Caching strategies
  • Load balancing and horizontal scaling
  • Real-time data processing
  • Message queues and event-driven architecture
  • Security and authentication
  • Monitoring and observability

Contributing

This is a personal learning repository, but feel free to fork it and create your own implementations! Different approaches to the same problem are valuable learning opportunities.

License

MIT License - Feel free to use this for your own learning and interview preparation.


Remember: The goal isn't to build production-ready systems, but to gain hands-on experience with system design concepts. Start simple, iterate, and learn by doing!

Contributors

evgenyvinnik

415 commits

Copilot

12 commits

claude

9 commits

Languages

TypeScript

94.8%

JavaScript

1.7%

PLpgSQL

1.6%