Capped collections
Capped collections are a special type of MongoDB collection that have a fixed size and support high-throughput operations. They automatically remove the oldest documents to make space for new ones when they reach their maximum size. Capped collections are ideal for use-cases like logging, caching, and real-time analytics where you need a FIFO (First-In, First-Out) data structure.