Working with MongoDB Capped Collections from Java
Introduction In MongoDB, there’s normally no limit on the size of a collection. The more documents you index, the larger the collection grows. However, for log storage or high-throughput applications, an unlimited-size collection isn’t always an ideal structure. In these cases, it’s often preferable to use a different type of collection called a capped collection. … Continued