The System Design Newsletter

The System Design Newsletter

Share this post

The System Design Newsletter
The System Design Newsletter
Slack Architecture
Copy link
Facebook
Email
Notes
More
User's avatar
Discover more from The System Design Newsletter
Weekly newsletter to help busy engineers become good at system design
Over 150,000 subscribers
Already have an account? Sign in

Slack Architecture

Feed: Slack System Design

Neo Kim's avatar
Neo Kim
May 28, 2023
10

Share this post

The System Design Newsletter
The System Design Newsletter
Slack Architecture
Copy link
Facebook
Email
Notes
More
1
Share

Thanks for reading systemdesign.one newsletter. If you're not yet subscribed, let me help you with that:

High-Level Design

Upon launching the Slack client and initiating a chat message, the following operations take place:

  1. The Slack client initiates a user authorization process by executing an HTTP POST request to the web API

  2. In response, the server provides a snapshot of the workspace and the WebSocket URL, enabling the establishment of a WebSocket channel

  3. Utilizing HTTP, the client publishes the chat message to the chat service

  4. The chat service persists the chat message in the chat database and forwards it to the subscribed gateway servers via HTTP

  5. Subsequently, the gateway server utilizes WebSocket to broadcast the chat message to the subscribed users

Read the detailed article


Thank you for reading System Design Newsletter. This post is public so feel free to share it.

Share

Ibrahim Elsawaf's avatar
Han's avatar
Sertaç's avatar
Marko's avatar
ROY's avatar
10 Likes∙
1 Restack
10

Share this post

The System Design Newsletter
The System Design Newsletter
Slack Architecture
Copy link
Facebook
Email
Notes
More
1
Share

Discussion about this post

User's avatar
8 Reasons Why WhatsApp Was Able to Support 50 Billion Messages a Day With Only 32 Engineers
#1: Learn More - Awesome WhatsApp Engineering (6 minutes)
Aug 27, 2023 â€¢ 
Neo Kim
737

Share this post

The System Design Newsletter
The System Design Newsletter
8 Reasons Why WhatsApp Was Able to Support 50 Billion Messages a Day With Only 32 Engineers
Copy link
Facebook
Email
Notes
More
24
How PayPal Was Able to Support a Billion Transactions per Day With Only 8 Virtual Machines
#30: Learn More - Awesome PayPal Engineering (4 minutes)
Dec 26, 2023 â€¢ 
Neo Kim
248

Share this post

The System Design Newsletter
The System Design Newsletter
How PayPal Was Able to Support a Billion Transactions per Day With Only 8 Virtual Machines
Copy link
Facebook
Email
Notes
More
14
How Stripe Prevents Double Payment Using Idempotent API
#45: A Simple Introduction to Idempotent API (4 minutes)
May 9, 2024 â€¢ 
Neo Kim
380

Share this post

The System Design Newsletter
The System Design Newsletter
How Stripe Prevents Double Payment Using Idempotent API
Copy link
Facebook
Email
Notes
More
29

Ready for more?

© 2025 Neo Kim
Publisher Privacy
Substack
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More

Create your profile

User's avatar

Only paid subscribers can comment on this post

Already a paid subscriber? Sign in

Check your email

For your security, we need to re-authenticate you.

Click the link we sent to , or click here to sign in.