Bumble Dec 11, 2020

How we achieved a 6x reduction of ANRs - Part 2: Fixing ANRs

Article Summary

Bumble's Android team slashed their ANR (Application Not Responding) rate by 6x. Here's how they debugged one of mobile's most frustrating problems.

ANRs happen when Android's main thread blocks for too long, creating a terrible user experience. Bumble's team discovered that 60% of their ANRs occurred during app startup, triggered by push notification broadcasts.

Key Takeaways

Critical Insight

By optimizing app startup, fixing SharedPreferences blocking, and isolating push handling in a separate process, Bumble reduced their ANR rate from 0.80% to 0.28%.

The team discovered a surprising truth about SharedPreferences' apply() method that most Android developers don't know about.

Recent from Bumble

Related Articles