← Stack
LEARNING·Since 2026

Fastify

High-performance Node.js web framework, NestJS HTTP adapter

About

A fast, low-overhead web framework for Node.js focused on performance and developer experience. Built-in schema validation with JSON Schema, plugin architecture, and minimal boilerplate — can serve as the HTTP layer for NestJS.

Why

NestJS can swap its HTTP adapter from Express to Fastify for better performance. Made sense to understand it.

Notes

schema-based validation built in, cleaner plugin architecture than Express, faster for high-throughput scenarios. The design is more deliberate than Express.

Mostly relevant as the NestJS HTTP adapter for now. Haven't used it standalone yet.