Building a High-Performance Chat
summary
Badoo's chat is built on the in-house Chatto framework and supports over a dozen message types and two input fields; the talk covers engineering a high-performance chat by building a pipeline around UICollectionView, handling input fields and the keyboard, and choosing an architecture to support multiple message types. It also gives practical tips for handling text, images, GIFs, video and maps within the chat.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:49Custom chat engine
- 3:35Requirements and Swift
- 5:44UICollectionView choice
- 6:50Chateau internals
- 11:41UICollectionView updates
- 16:16Optimizations needed
- 18:04Background message prep
- 21:16Diff calculation
- 24:33Layout challenges
- 29:09Windowed datasource
- 31:14Text rendering
- 37:17Photo and map optimizations
- 42:18Video and audio optimizations
- 42:38Summary
- 43:42Q&A
