Tagged articles
4 articles
Page 1 of 1
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