The Message Window Independent explainer

01 · How Messaging Works

Where a Message Waits

The gap between "sent" and "delivered" is not empty — it is a waiting room with several distinct chambers.

Where a Message Waits
Server queues, push wake-ups and the stop people picture least clearly.

In this piece

  1. 01The Queue You Never See
  2. 02What "Offline" Actually Means
  3. 03The Stop People Picture Least Clearly
  4. 04When the Queue Drains

01The Queue You Never See

When you tap send, the first thing that happens is almost the last thing you imagine: your message sits down and waits. It does not streak instantly to the recipient's screen. It travels to a server — your provider's infrastructure — and joins a queue. If the recipient's device is online and responsive, that wait is measured in milliseconds. If it is not, the wait can stretch to hours, and understanding why tells you a great deal about how messaging actually works.

Every major messaging system — Signal, WhatsApp, iMessage, Telegram, Slack, Matrix-based apps — follows some version of the same pattern. The sender's client hands the message to a server. The server holds it. The server then attempts delivery to the recipient's device. "Delivery" here means getting the data off the server and onto the hardware in someone's pocket. What happens after that — whether a notification fires, whether the screen lights up, whether anyone actually reads it — is a separate set of problems.

lit fibre optic ends against black, abstract

The server's queue is not a single unified inbox. Think of it as a staging area: messages arrive, are checked against routing rules (which device or devices belong to this account?), and are dispatched. If the recipient uses more than one device — a phone and a laptop, say — the server may need to send separate copies to each. The queue empties per-destination, not per-message.

02What "Offline" Actually Means

The word "offline" covers a spectrum. A device might be fully powered off. It might be in airplane mode. It might have connectivity but be in a deep-sleep state to conserve battery. It might be in a tunnel with intermittent signal. Each of these presents the server with the same surface problem — the destination is not currently reachable — but the recovery time differs significantly.

Modern operating systems do not let every installed app maintain a permanent open connection to the internet. That would drain a battery within hours. Instead, iOS and Android use centralized push notification services — Apple Push Notification service (APNs) and Firebase Cloud Messaging (FCM) respectively — to act as a single always-on channel. When your messaging app's server wants to wake your phone, it does not knock directly. It sends a small signal to Apple's or Google's infrastructure, which maintains a persistent low-power connection to the device. That signal says, in effect: "wake this app, it has something to collect." The app stirs, opens its own connection, and fetches the waiting message.

This is why your phone can receive a message notification even from an app you have not opened in weeks. The app itself was not running. The operating system was listening on its behalf through that push gateway. The actual message content, in most systems, is not carried inside the push notification itself — the notification is just the tap on the shoulder. The message body stays on the server until the app wakes up and retrieves it properly.

03The Stop People Picture Least Clearly

What happens between send and delivered can be mapped as a series of discrete stops, but the one that surprises people most is this middle chamber: the server queue during recipient unavailability. Most users imagine a near-instantaneous pipe. The mental model is a telephone call — two ends connected simultaneously. But almost all modern messaging is store-and-forward: the server stores until it can forward. The pipe metaphor is wrong. A postal sorting office is closer, except that the sorting office might dispatch your letter in forty milliseconds.

How long will a server hold a message? This varies by provider and is not always documented transparently. Common designs set a maximum retention window — often measured in days — after which an undelivered message may be dropped or the sender may receive a failure notice. Some systems extend this window indefinitely for certain account types. Others, particularly those built around ephemeral messaging, shorten it deliberately. Whatever the window, the message is sitting on a server, not in transit, for that entire period.

For end-to-end encrypted systems, this raises a specific wrinkle. The server holds ciphertext — data it cannot read — but it holds it nonetheless. The metadata of the wait (who sent, to whom, at what time, for how long it sat) may remain visible to the server even when the content is not. The envelope is sealed. The postmark is not.

04When the Queue Drains

Eventually the stars align: the recipient's device wakes, the push tap is received, the app opens its connection, the server dispatches the queued message, and the client acknowledges receipt. That acknowledgement is what flips a single-tick delivery indicator to a double tick, or changes "sent" to "delivered." The queue for that message, on that device, empties.

Then — and only then — does the message exist on the recipient's hardware. Before that moment, it existed on a server and nowhere else. After it, responsibility has transferred: the server may delete its copy or retain it according to its own policy, while the device holds the plaintext. That handoff, brief and invisible, is the actual moment of delivery. The timestamp on your receipt marks when it happened — not when you sent, and not when it was read.

--- An independent explainer on instant messaging. Not affiliated with, endorsed by, or connected to Trillian, Cerulean Studios, or any messaging service.

Before that moment, it existed on a server and nowhere else.