Discord Ruby Feinstein Mar 5, 2025

Supercharging Discord Mobile: Our Journey to a Faster App

Article Summary

Discord just cut startup times in half and eliminated those frustrating blank screens on budget Android devices. Here's how they did it.

Discord's mobile team tackled performance head-on in 2024, focusing on power users who push the app to its limits. Built on React Native, they optimized everything from server lists to emoji pickers, with special attention to low-end Android devices.

Key Takeaways

Critical Insight

Discord eliminated blanking across core flows and dramatically improved performance on budget devices through strategic native rewrites and custom virtualization.

The team is now migrating core logic to Rust and enabling React Native's New Architecture, with even bigger performance gains on the horizon.

About This Article

Problem

Discord's iOS media picker was lagging badly. Users had to wait up to 4.5 seconds for photo previews to load after switching from the system camera back to the app.

Solution

Ruby Feinstein's team switched to PHImageRequestOptionsDeliveryModeOpportunistic to load low-quality thumbnails faster. They also found that requesting 256x256 resolution hits a PhotoKit cache magic number, which returns previews almost instantly. The old approach used 370x370 resolution and was much slower.

Impact

The optimization got rid of the 4.5-second delay entirely. Users can now access recently captured photos in Discord's media picker without the wait.