<aside>
🔥 This document outlines my discoveries, references, learning and notes whilst trying to understand how messaging has been implemented on other platforms.
</aside>
Goals
Before we start, lets Identify some performance goals we want to hit.
Performance Metrics & Goals
Current Performance
- Messages load time: 3-5 seconds per subgroup
- Messages per page: 20 (limited by performance)
- Server calls per message: 3+ (basic info, reactions, decryption, other)
- Client-side processing time: 1-2 seconds for message transformation
Target Metrics
- Message (single) render time: < 80 milliseconds per subgroup
- Messages per page: 42 (matching Slack's optimal number)
- Server calls per message: 1 (consolidated data structure)
- Client-side processing time: < 200ms
Industry Benchmarks
- Slack: 42 messages loaded within 1 second
- Discord: Seamless scrolling with minimal latency
- Industry standard: < 2 second load time for content visibility