Messenger Inside Out, or How to Build a Messenger in an iOS Mobile App Today
summary
A presentation about building Avito’s in-app messenger for iOS, describing the evolution from a simple HTTP API to WebSockets and comparing the trade-offs, pitfalls, and benefits of each approach. It covers designing the client-server API with Swift, ensuring message delivery, online/user and message statuses, and how to design a scalable architecture that lets the team add new messenger features quickly.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 3:49Talk outline
- 4:10Messenger API design
- 10:34Network transport evolution
- 18:06WebSocket nuances
- 22:21Choosing network transport
- 22:42Request implementation
- 24:04Response mapper flexibility
- 27:34Messenger client facade
- 29:01API layer module
- 29:43Service layer microservices
- 33:12UI and business logic
- 36:43Service scalability
- 37:06Reactivity optimization
- 41:04Efficient UI updates
- 42:47Diff algorithms for collections
- 44:34Summary
- 45:38Q&A
related talks
37mZero to Mobile iOS Developer in 40 Minutes
43mSecond degree asyncronousity - learnings from developing iOS + IoT apps
07mTwilio Programmable Chat API
31mGetting Started with Stream Chat
46miOS Infrastructure
38mConvenient and Extensible Routing in an iOS App
50mHow to Tame Widgets in a Super App?
42mHow to embed Messaging and Video in your apps
