Tag

read-unread

0 views collected around this technical thread.

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 StructureGroup Chat
0 likes · 7 min read
Designing Efficient Read/Unread Tracking for Group Chat Messages Using Bitmaps
Java Architect Essentials
Java Architect Essentials
Feb 27, 2022 · Backend Development

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

The article analyzes the memory overhead of naïvely storing per‑user read/unread lists for group chat messages and proposes a bitmap‑based scheme with user‑to‑map ID mapping, quit flags, and compact storage that can reduce per‑message space by over 95 percent.

BackendBitmapGroup Chat
0 likes · 6 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.

BackendBitmapGroup Chat
0 likes · 7 min read
Efficient Read/Unread Tracking for Group Chat Messages Using Bitmaps
Selected Java Interview Questions
Selected Java Interview Questions
Oct 7, 2021 · Backend Development

Designing Efficient Read/Unread Tracking for Enterprise Group Chats

The article analyzes the memory inefficiency of storing per‑message read/unread user lists in large group chats and proposes a bitmap‑based solution that maps users to sequential IDs, uses compact bitmaps for read status and handles member exits, achieving over 95% storage reduction.

BackendBitmapData Structure
0 likes · 6 min read
Designing Efficient Read/Unread Tracking for Enterprise Group Chats