In this edition of the Building with Patterns series, the focus is on the Bucket Pattern, an effective method for handling IoT, Real-Time Analytics, or Time-Series data using MongoDB. The Bucket Pattern involves grouping data into documents by time spans, which not only optimizes storage but also improves the ability to analyze historical trends and forecast future data. By consolidating measurements into "buckets," it reduces the number of documents in a collection, enhances index performance, and facilitates simplified data access through pre-aggregation. This approach allows for efficient querying, such as determining average values over a defined period, and benefits from archiving older data to manage storage effectively. Real-world applications include IoT implementations by companies like Bosch and financial transaction groupings by major banks. Additionally, there is an announcement regarding a leadership transition at MongoDB, with Dev Ittycheria stepping down as CEO and Chirantan “CJ” Desai appointed as his successor, effective November 2025. This change is portrayed as a strategic move to bring in fresh leadership and guide MongoDB through its next phase of growth, leveraging Desai’s extensive experience in scaling technology companies.