codefarm
HomeRoadmapsGuidesQuizzesMentorshipWhiteboardEbooksCodeSmash
Learn
RoadmapsQuizzesBlogsVideosGuides
Simulators
Why API GatewayWhy Load BalancerWhy Circuit BreakerKafka Message FlowKafka Consumer LagKafka RebalanceRate LimitersUptime SLALatency SimulatorCachingConsistent Hashing
Tools
UUID GeneratorDate & Time ToolsJWT DecoderText FormatterMind MapFun PuzzlesKids Learning
Profile
Back to Low-Level Design
🗂️
Phase 5

Schema & API Design

The bridge between object design and system design. Master database schema design, REST/gRPC contract design, and the interface contracts that connect your well-designed components to the outside world.

1

ER Diagrams & Schema Design for LLD

Translate an object model into a database schema: entity-relationship diagrams, normalization trade-offs, indexing strategy, soft deletes, audit columns, and zero-downtime migrations.

lldschema-designER-diagram
2

REST API Contract Design

Design clean, consistent, versioned REST APIs: resource naming, idempotency, pagination strategies, error response shape, versioning, and OpenAPI contract-first design.

lldapi-designREST
3

gRPC & Protobuf Contract Design

Design service contracts with Protocol Buffers: .proto file design, the four RPC types, field-numbering backward compatibility, versioning, and gRPC vs REST trade-offs.

lldgRPCprotobuf
4

UML Diagrams for LLD Interviews

The reference guide for reading and drawing the UML diagrams that matter in LLD interviews: class, sequence, state, and activity diagrams, and when each one earns its place.

lldUMLclass-diagram
codefarm

Learn backend engineering with clear roadmaps, practical tools, and interactive quizzes. From zero to production-ready.

Learn

  • Roadmaps
  • Guides
  • Blogs
  • Videos
  • Ebooks

Labs

  • Simulators
  • Quizzes
  • Whiteboard
  • JWT Decoder
  • UUID Generator
  • Toolbox

Simulators

  • Uptime SLA
  • Rate Limiters
  • Kafka Message Flow
  • Kafka Consumer Lag
  • Kafka Rebalance

Community

  • Cohorts
  • Testimonials
  • About
  • Contact

Legal

  • Terms & Conditions
  • Privacy Policy
  • Refund & Cancellation