AWS

Large scale messenger service architecture in AWS - Slack case study

CK CK 3788 
Created at
Updated at  
11,674 0 0

Designing a large-scale messenger service requires considering several key factors: scalability to handle millions of users and messages, reliability to ensure consistent service availability, security to protect user privacy and data, performance to provide fast message delivery, and efficient resource utilization to manage infrastructure costs. Additionally, the service should offer rich features such as group chats, file sharing, voice and video calls, and integration with other platforms, while prioritizing user experience and a seamless interface. 

 

Below slack architecture shows how to compose large scale messenger service based in AWS.

  • Slack has two different communication channels: one for web and API channels and the other one is web sockets for real-time messaging.

  • Slack uses multi availability zones for fault-tolerant service.

  • Content storage has user message including media files, and that is directly delivered to Apache solr and Message server. 

 

Large scale messenger service architecture in AWS - Slack case study

 

From the above architecture, Apache Solr, hosted on AWS EC2, offers significant benefits for search and data analysis. Its high-performance, scalable architecture allows for efficient indexing and retrieval of vast datasets, making it ideal for e-commerce, content management, and other applications that rely on fast and accurate search. EC2's flexibility enables scaling resources on demand, providing cost-effective solutions for varying workload needs. Additionally, leveraging AWS services like S3 for storage and CloudWatch for monitoring enhances reliability and simplifies management. 

Active-Active database with RDS MySQL on AWS offers high availability and performance benefits by enabling two or more instances to handle read and write operations simultaneously. This eliminates single points of failure, provides failover with zero downtime, and distributes the workload across multiple instances, resulting in faster response times and improved scalability. Active-Active also allows for greater flexibility by enabling independent updates and maintenance on each instance without impacting the overall system availability. 
 

Tags AWS Architecture Large Scale Service Messenger Service Slack Architecture Facebook X
Comments 0
Similar posts
  1. Live streaming / Static Content & Media Service based on AWS
    10,651
  2. Large scale computing based on huge data sets in AWS
    10,607
  3. Secure and Scalable LAMP Service Architecture in AWS
    10,658
  4. Image Moderation Chatbot - a serverless chatbot on AWS that monitors chat channels and removes images suggestive or explicit image
    10,423
  5. Synchronous online gaming architecutre in AWS - Highly Available, Scalable & Elastic to support Millions of Players
    10,414
  6. Financial services grid computing in AWS
    10,354
  7. Time series processing architecture in AWS
    10,557
  8. File synchronization service architecture in AWS
    10,375
  9. Web Application Hosting provides the reliable, scalable, secure, and high-performance infrastructure
    10,614
  10. Web front-end architecture in AWS for e-commerce website
    364
  11. Fault Tolerance & High Availability based on multi Availability zones in AWS
    10,800
  12. Disaster recovery solution in AWS for local applications
    11,176
  13. Content Distribution for VOD streaming services in AWS
    10,354
  14. Checkout service architecture in AWS for e-commerce website
    11,007
  15. Batch processing composed of job manager, job store and worker based on AWS
    10,446
  16. AWS Architecture for collecting Click-Through Events on Advertisement serving
    10,372
  17. Teraform from the scratch
    1,352
  18. Product Marketing & Recommendation Architecture in AWS for e-commerce website
    10,733
  19. Predictable Ad Spend: Architecting Pacing at Hyperscale
    419
  20. Measuring Ad Viewability: AWS Architectures for Programmatic Accountability
    474
  21. Ad Tech Multi-Tenancy: A Spectrum of Isolation Architectures on AWS
    328
  22. Enterprise Data Lake Architecture based on AWS
    10,403
  23. Media sharing service architecture in AWS
    10,364
  24. AWS System Design Example - Instagram Architecture
    1,916
  25. Amagi CLOUDPORT Architecture based on AWS for FAST for channel playout on AWS
    1,315
  1. Recommended Vector DB Structure for Amazon Bedrock Integration
    388
  2. Product Marketing & Recommendation Architecture in AWS for e-commerce website
    10,733
  3. What cause a 502 bad gateway error in AWS environment?
    443
  4. Building an AWS SAM(Serverless Application Model) Project
    897
  5. Teraform from the scratch
    1,352
  6. Check incomplete multipart uploads if AWS S3 storage size is abnormally big huge compared to the origin storage
    11,597
  7. Importing a wild card domain SSL certificate into AWS Certificate Manager
    10,348
  8. AWS Lambda Example based on Teraform
    899
  9. Simple AWS ECS example based on Teraform
    986
  10. Web front-end architecture in AWS for e-commerce website
    364
  11. Web Application Hosting provides the reliable, scalable, secure, and high-performance infrastructure
    10,614
  12. Time series processing architecture in AWS
    10,557
  13. Synchronous online gaming architecutre in AWS - Highly Available, Scalable & Elastic to support Millions of Players
    10,414
  14. Secure and Scalable LAMP Service Architecture in AWS
    10,658
  15. Live streaming / Static Content & Media Service based on AWS
    10,651
  16. Large scale computing based on huge data sets in AWS
    10,607
  17. Image Moderation Chatbot - a serverless chatbot on AWS that monitors chat channels and removes images suggestive or explicit image
    10,423
  18. Financial services grid computing in AWS
    10,354
  19. File synchronization service architecture in AWS
    10,375
  20. Fault Tolerance & High Availability based on multi Availability zones in AWS
    10,800
  21. Disaster recovery solution in AWS for local applications
    11,176
  22. Content Distribution for VOD streaming services in AWS
    10,354
  23. Checkout service architecture in AWS for e-commerce website
    11,007
  24. Batch processing composed of job manager, job store and worker based on AWS
    10,446
  25. AWS Architecture for collecting Click-Through Events on Advertisement serving
    10,372
  26. Where to get AWS Access Key ?
    11,260
Recently updated
  1. Why 100% SEO Guarantees Better User Engagement and How to Achieve It in Your Service
    27
  2. Why SPF and DKIM Are Essential for Linux Email Servers?
    24
  3. How do I create animated background for Google Meet?
    19,730
  4. MaxMind GeoLite2 vs. DB-IP Lite vs. ip-api.com: Choosing the Right Free IP Geolocation Solution
    217
  5. Meet Valkey: Why Redis Changed Its License, Why Valkey is Better, and How to Use It as a Drop-in Replacement
    86
  6. How Rogue Web Scrapers Are Stealing My Content and Destroying My Server
    153
  7. Array of arguments passed to script in PHP
    85
  8. Invalid Auction Storms in Ad Tech
    93
  9. Building MRC-Compliant Instrumentation in Ad Tech: Implementation Steps and Key Challenges
    198
  10. The Two Clocks of Ad Server Architecture
    63
  11. Frequency Cap Architecture Overview
    509
  12. Collecting Proof-of-Play from 100,000 Screens
    141
  13. Vector Search in Relational Databases (RDBs): Trends & Usage Environments
    280
  14. What is RedisVL?
    105
  15. Designing a Skill Registry Architecture: Minimize Token Usage and Maximize AI Performance
    224
  16. TPU & GPU Cluster Management Tools
    234
  17. The Concept of Scaffolding in AI Agents
    222
  18. Beyond Static Pipelines: Architecting LLM Multi-Agent Systems for Autonomous Workflow Orchestration
    576
  19. AI-DLC vs. AI-SDLC: Model-Centric vs. System-Centric AI Development
    253
  20. Fine-Tuning Open-Weight LLMs: Training, Licensing, and Deploying Custom Models with Ollama
    328
  21. Inside the Next-Generation Streaming Architecture: Ultra-Low Latency, SGAI, and AI Codecs
    197
  22. Machine Learning: Training vs. Ranking
    213
  23. The Continuous Learning Machine: Designing a Loop That Actually Turns
    217
  24. The Next-Gen Low-Latency Standards: LL-HLS & MoQ
    189
  25. Designing a Data Curation System Around a Vector Database
    215
  26. Extracting Context from Live Video: The Architecture Got Simpler When We Stopped Building Features
    229
  27. The New Ad Stack Behind Live Sports Streaming: Inside SGAI, EABN, and the Standards Race to Fix Live Monetization
    649
  28. Designing MLOps Architectures to Handle Seasonal Data Drift in EV Fleet Models
    185
  29. From 15 to 40+ FPS: Accelerating PyTorch Object Detection on Automotive ECUs
    207
  30. Understanding Data Lineage
    252