Spotify is actively managing and optimizing application size across its mobile platforms. This involves implementing pre-merge checks using tools like Emerge to analyze the impact of code changes on download and install sizes, with a 50KB threshold for additional review. Post-merge, a dedicated Slack channel tracks significant size changes. To address gradual, 'under the radar' growth, Spotify is evaluating compilation unit and resource file sizes, attributing them to owning teams via Emerge's C. This post details a significant modernization of the client-side architecture to improve the listening experience on all devices, particularly addressing performance issues on older phones and slower networks by optimizing how Liked Songs metadata is loaded and stored locally. This involved a substantial refactoring of the client codebase, replacing in-memory sorting with pre-computed tables stored on disk, and implementing batched downloads.
All Spotify trails