Case Study

Netflix Microservices with Node.js

Illustrative reference design for the node, Express, kafka stack: component roles, highlights and trade-offs. No production metrics claimed.

  • node
  • Express
  • kafka
  • cassandra

Illustrative walkthrough. This page is a reference design built around the stack listed above. It is not an audit of the named project’s production system, and it makes no measured performance claims. The referenced repository (https://github.com/netflix/netflix.github.com) is the source of truth for the real implementation.

Component roles

  • node — Application code with one shared type surface between client and server.
  • Express — HTTP routing and middleware; middleware order is part of the contract.
  • kafka — Durable event log; consumer lag is the health signal that pages someone.
  • cassandra — Wide-column store for write-heavy access patterns; model tables around queries.

Design highlights

  • Event-driven architecture with Kafka
  • Auto-scaling with Kubernetes
  • Circuit breaker pattern

Trade-offs to check before adopting

  • Asynchronous pipelines decouple producers from consumers but make end-to-end failure handling harder to reason about.
  • Schema changes ship with the code, so every migration needs a rollback path.

Where to look next


Repository

View on GitHub ↗