Revi
Inbox search at scale
312 ms → 42 ms
- Problem
- Search and list screens slowed to a crawl for high-volume clients. One listener alone held 1.2M events.
- What I did
- I rebuilt the advanced search (content, contacts, dates, channel) with scoped loading and error states, then added partial indexes per company so PostgreSQL used index-only scans.
- Result
- The paginated count went from 312 ms to 42 ms and metrics aggregation from 396 ms to 52 ms.
- React
- PostgreSQL
- NestJS