Production
Configuration, deployment, reliability, observability, security, caching, scaling, and performance tuning.
Everything you need to take a NextRush application from localhost to a running production
service — grounded in real package APIs, not aspirational features.
Configuration
Environment-based config, secrets, and the @Config decorator.
Reliability
Graceful shutdown, health checks, and timeouts — built from real primitives.
Deployment
Node.js, Bun, Deno, Edge, and a real, build-tested Dockerfile.
Observability
Structured logging, request IDs, correlation, and response timing.
Security
A production-readiness checklist — headers, CORS, CSRF, rate limiting.
Caching
Cache-Control headers and cache-layer patterns (not a built-in feature).
Scaling
Statelessness, clustering, and load-balancer health-check integration.
Performance tuning
Runtime flags, hot-path guidance, and the router's real complexity.
Benchmarking
The benchmark suite's methodology — pointer to the canonical Performance section.
NextRush is honest about what it doesn't ship
Graceful shutdown, health checks, caching, and metrics/tracing are documented here as
patterns built from real primitives (app.close(), OnShutdown, middleware composition)
— NextRush does not ship a built-in gracefulShutdown() helper, health-check endpoint, or
caching layer. Each page is explicit about what's a real export versus a recommended pattern.
See also the Benchmarks page for current performance characteristics and methodology, and the Deployment guide for a task-oriented walkthrough.