BlogsDropboxMagic Pocket Storage Efficiency

Magic Pocket Storage Efficiency

Magic Pocket Storage Efficiency

2
posts
2026

Dropbox's Magic Pocket, an immutable blob store, faced increased storage overhead due to fragmentation caused by a new service that led to severely under-filled volumes. The existing L1 compaction strategy was insufficient to reclaim space efficiently from these sparse volumes. To address this, Dropbox developed a multi-strategy approach, including improvements to steady-state compaction and new methods for cleaning up the sparsest volumes, aiming to reduce overhead below previous baselines. This post details how Dropbox reduced its monorepo size from 87GB to 20GB by identifying and addressing an issue with Git's delta compression heuristic, which was inefficiently packing internationalization files due to their directory structure. By working with GitHub to implement a more aggressive repack strategy with tuned parameters, they significantly improved clone times and reduced operational risk.

2026

Improving storage efficiency in Magic Pocket, our immutable blob store

4/2/2026

This post details the incident that led to increased storage overhead in Magic Pocket due to under-filled volumes. It explains the limitations of the existing L1 compaction strategy in handling this scenario and introduces new strategies for reclaiming space from sparse volumes, including a multi-strategy approach to drive overhead down.

Reducing our monorepo size to improve developer velocity

3/25/2026

This post details how Dropbox reduced its monorepo size from 87GB to 20GB by identifying and addressing an issue with Git's delta compression heuristic, which was inefficiently packing internationalization files due to their directory structure. By working with GitHub to implement a more aggressive repack strategy with tuned parameters, they significantly improved clone times and reduced operational risk.