Skip to main content

Best Practices

Work in Progress

This section is under active development. Content is being consolidated from across the documentation.

Best practices for building robust, maintainable systems with NATS. Each guide covers a specific area in depth.

Topics

Quick Reference

ProblemSolution
Messages lost before subscribers connectUse JetStream for persistence
Too many unique subjectsUse wildcards and hierarchical naming
Slow subscriber backs upProcess messages asynchronously or use queue groups