MongoDB — Enterprise Database Design Patterns
Explore production design patterns: Bucket Pattern, Outlier Pattern, Computed Pattern, and Polymorphic Pattern.
1Enterprise Design Patterns Overview
- Bucket Pattern: Combines time-series data points into daily/hourly document buckets to reduce index overhead.
- Outlier Pattern: Prevents rare high-frequency events (e.g., celebrity followers) from overflowing normal document sizes.
- Computed Pattern: Pre-calculates aggregated summaries during writes instead of calculating on every read.