Slack Scott Schiller

How Slack Makes Slack Faster By Being Lazy: Part 2

Original post Making Slack Faster By Being Lazy: Part 2

Article Summary

Scott Schiller from Slack reveals how their desktop client refactor exposed a painful truth: aggressive caching and LocalStorage were making the app slower, not faster.

This is part 2 of Slack's engineering deep-dive into refactoring their desktop client's message fetching architecture. The team shares hard-won lessons about what went wrong when they tried to cache everything, the hidden costs of LocalStorage, and how lazy-loading transformed their approach to client performance.

Key Takeaways

Critical Insight

Slack's team learned that avoiding LocalStorage entirely and lazy-loading data beats aggressive caching every time, even when it requires more upfront engineering work.

Continue reading

The article reveals specific UI bugs that surfaced when message history was no longer guaranteed at load time, including surprising issues with the red 'new messages' divider.

This page summarizes “Making Slack Faster By Being Lazy: Part 2” by Slack, published Jun 29, 2020. All credit for the original work goes to the authors.

Read the original on slack.engineering (opens in new tab)

AI tools for iOS

Browse all AI tools →