Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Sources

Slack Engineering

2026

Slack Engineering

Slack AI: The Path to Multi-Cloud

Case study 14 min +140 XP

Slack AI's LLM serving evolved over three years through four phases: self-managed AWS SageMaker endpoints in an escrow VPC, Amazon Bedrock Provisioned Throughput, a hybrid of Provisioned Throughput and On-Demand with spillover routing, and finally a multi-cloud setup adding GCP Vertex AI.

2025

Slack Engineering

Android VPAT journey

Case study 9 min +90 XP

After a third-party VPAT audit following its IA4 redesign, Slack's Android team triaged recurring accessibility issues and fixed most of them: TalkBack now announces errors from OutlinedTextField and SKBanner, list headings are marked, and a custom SKListAccessibilityDelegate overrides CollectionInfo so decorative dividers aren't counted as list items.

Slack Engineering

Advancing Our Chef Infrastructure: Safety Without Disruption

Case study 13 min +130 XP

Slack split its single production Chef environment into six AZ-mapped environments (prod-1 to prod-6) so newly provisioned nodes no longer pull a possibly bad config from one shared source during scale-outs. prod-1 acts as an hourly canary taking the latest cookbook artifact, while prod-2 through prod-6 advance on a release train where a new version starts only after the previous one reaches prod-6.

Slack Engineering

Optimizing Our E2E Pipeline

Case study 5 min +50 XP

Slack cut redundant frontend builds in its monorepo E2E pipeline by using `git diff` three-dot notation against `main` to detect whether a PR touches frontend code, and when it doesn't, serving a recent production frontend build from S3 through an internal CDN instead of rebuilding.

2024

Slack Engineering

Astra Dynamic Chunks: How We Saved by Redesigning a Key Part of Astra

Case study 6 min +60 XP

Slack's Astra log search engine replaced fixed-size chunk slots on cache nodes with dynamically sized chunks, because undersized chunks wasted allocated disk space and oversized chunks from recovery tasks could overflow their slots.

Slack Engineering

Unified Grid: How We Re-Architected Slack for Our Largest Customers

Case study 10 min +100 XP

Slack re-architected its backend and clients to replace the workspace-centric model, where session tokens carried a workspace ID used for shard routing and access control, with an org-wide Unified Grid view for Enterprise Grid customers.

2023

Slack Engineering

Service Delivery Index: A Driver for Reliability

Case study 8 min +80 XP

Slack's Service Delivery Index – Reliability (SDI-R) is a company-wide composite metric that multiplies status-site uptime (minutes key user workflows like sending messages fall below a threshold) by API availability (successful/total requests), expressed in 9s and tracked hourly and daily against quarterly targets.

Slack Engineering

Real-time Messaging

Case study 6 min +60 XP

Slack's real-time messaging runs on four Java services: stateful in-memory Channel Servers sharded by consistent hashing, regionally deployed Gateway Servers holding websocket subscriptions, stateless Admin Servers bridging the Webapp backend, and Presence Servers tracking online users.

Slack Engineering

It’s a non-transitive R class world

Case study 5 min +50 XP

Slack migrated its 400+ module Android codebase to non-transitive R classes, where each module's R class contains only its own resources, yielding ~14% faster incremental builds after resource or layout changes and an ~8.5% (about 5.5MB) APK/DEX size reduction.

2022

Slack Engineering

Mobile Developer Experience at Slack

Case study 14 min +140 XP

A dedicated mobile Developer Experience team grew from 3 to 8 engineers and cut CI feedback time and failure rates by targeting the pain points that surveys, NPS and metrics like time to merge showed hurt developers most. iOS test time fell from about 50 minutes to an average of 9 by moving from Xcodebuild to Bazel with disk caching and bazel-diff, so only affected targets are tested.

The quest for software engineering knowledge.

Look:
Layout: