In most systems the client asks and the server answers. In a messenger it is the other way round: a message comes to the recipient although they asked for nothing. So the server needs a way to write to a device at any moment, and that way shapes half the architecture. Let's go through the options, what each costs and how the servers that hold 30 million connections work.
In this lesson
- Four options
- Connection gateways
- A connection that died silently
- Session registry
- Common mistake
- Key points