Tagged articles
13 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Jan 3, 2024 · Backend Development

Designing a Scalable 1B‑User Group Chat System: Architecture & High‑Concurrency

This article walks through the design of a billion‑user group chat platform, covering functional and non‑functional requirements, core components, database schema, face‑to‑face group creation, message flow, storage strategies, and performance‑optimizing techniques such as clustering, message queues, multithreading, and Redis caching.

Backend ArchitectureSystem DesignWebSocket
0 likes · 14 min read
Designing a Scalable 1B‑User Group Chat System: Architecture & High‑Concurrency
Open Source Tech Hub
Open Source Tech Hub
Dec 9, 2023 · Backend Development

Build Real‑Time Group & Private Chat with WebSocket and PHP Validation

This guide explains how to design group and private chat messages, define a unified JSON protocol, validate payloads with a custom validator, and implement WebSocket callbacks (onWorkerStart, onWebSocketConnect, onMessage, onClose) using PHP and JavaScript client examples for both one‑to‑one and group conversations.

BackendPHPReal-time Chat
0 likes · 11 min read
Build Real‑Time Group & Private Chat with WebSocket and PHP Validation
Su San Talks Tech
Su San Talks Tech
Nov 2, 2023 · Backend Development

How WeChat Powers Group Chats and Red Packets: Inside the Backend Architecture

This article dissects the design of WeChat's group chat system, covering functional and non‑functional requirements, high‑level component architecture, database schemas, face‑to‑face group creation, real‑time messaging, red‑packet algorithms, and Go code implementation, revealing how massive concurrency, performance, and storage challenges are solved.

Backend ArchitectureGoSystem Design
0 likes · 22 min read
How WeChat Powers Group Chats and Red Packets: Inside the Backend Architecture
Top Architect
Top Architect
May 18, 2022 · Backend Development

Designing Efficient Read/Unread Tracking for Group Chat Messages Using Bitmaps

The article analyzes the memory inefficiency of storing per‑user read/unread lists for group chat messages, proposes a bitmap‑based solution with user‑to‑map ID mapping, discusses handling of member exits, and evaluates the storage savings and scalability of the new design.

BitmapData StructureScalability
0 likes · 7 min read
Designing Efficient Read/Unread Tracking for Group Chat Messages Using Bitmaps
Architect
Architect
Jan 2, 2022 · Backend Development

Efficient Read/Unread Tracking for Group Chat Messages Using Bitmaps

The article examines how to efficiently store read/unread status for group chat messages by replacing per‑user lists with compact bitmap structures, discusses handling member exits, presents C++‑style struct definitions, and quantifies storage savings compared to the naïve 8‑byte per‑user approach.

Bitmapdata storagegroup chat
0 likes · 7 min read
Efficient Read/Unread Tracking for Group Chat Messages Using Bitmaps
Programmer DD
Programmer DD
Dec 22, 2021 · Backend Development

Designing a Space‑Efficient Read/Unread Store for Large Group Chats

This article examines how to model read/unread status for group chat messages using bitmap techniques, evaluates memory costs of naive approaches, and presents a compact storage schema that handles member joins, exits, and scalability while drastically reducing per‑message overhead.

BitmapStorage Optimizationbackend design
0 likes · 7 min read
Designing a Space‑Efficient Read/Unread Store for Large Group Chats
Architecture Digest
Architecture Digest
Jun 21, 2019 · Backend Development

Design and Implementation of a High‑Availability Scalable IM Group‑Chat Messaging System

This article presents a comprehensive design and implementation of a high‑availability, horizontally scalable instant‑messaging group‑chat system, detailing its architecture, component interactions, scaling strategies, reliability mechanisms, and extensions for offline and single‑chat messaging.

IMgroup chathigh availability
0 likes · 48 min read
Design and Implementation of a High‑Availability Scalable IM Group‑Chat Messaging System
58 Tech
58 Tech
Apr 9, 2019 · Backend Development

Optimizing Group Chat Performance in an Instant Messaging Backend

This article analyzes the challenges of scaling group chat in an instant messaging system and presents architectural optimizations—including shared message storage, periodic conversation list updates, offline count handling, and version‑based incremental sync—to reduce write and read amplification while improving overall performance.

Message QueueWrite Amplificationbackend optimization
0 likes · 12 min read
Optimizing Group Chat Performance in an Instant Messaging Backend
ITPUB
ITPUB
May 25, 2018 · Backend Development

Designing Scalable Group Chat Read Receipts: Push vs Pull and Optimization Strategies

This article examines how to design a reliable group messaging system with read‑receipt support, comparing push and pull delivery, detailing data structures, acknowledgment flows, and optimization techniques to reduce traffic and storage while maintaining real‑time user experience.

BackendScalabilitygroup chat
0 likes · 9 min read
Designing Scalable Group Chat Read Receipts: Push vs Pull and Optimization Strategies