Slack Jun 29, 2020

Making Slack Faster By Being Lazy

Article Summary

Slack cut load times by 65% for large teams by doing less work, not more. Their secret? Strategic laziness.

Staff Engineer Scott Schiller breaks down how Slack's desktop client went from loading everything at startup to intelligently deferring and predicting what users actually need. The refactor tackled performance bottlenecks that emerged as teams scaled from 100 to thousands of members.

Key Takeaways

Critical Insight

By deferring message loading, batching API calls, and predicting user behavior, Slack made their client responsive for massive teams without waiting for complete data.

The article reveals exactly why they chose 42 messages as the magic pagination number (hint: it's not a Hitchhiker's Guide reference).

Recent from Slack

Related Articles