Your phone is constantly talking to the world through invisible infrastructure — cell towers, WiFi routers, servers — a whole system of devices finding each other and passing information across distance. Most of that communication is reactive: you open an app, the app fetches data, you see something. But notifications work the opposite way. The information comes to you, unprompted, before you've asked for anything. That's a fundamentally different trick, and it requires a completely different plumbing system underneath.
Make your call
Before we get into how it works: what do you think actually sends you that notification? Who's doing the pushing?
A
The app on your phone checks the server every few seconds
B
Apple or Google's servers relay it from the app's servers to your phone
C
The app's servers contact your phone directly
Every iPhone has a permanent, always-on connection to Apple's servers — specifically a service called APNs (Apple Push Notification service). Every Android phone has the same with Google's FCM (Firebase Cloud Messaging). These connections are tiny and persistent, like a phone line that never gets hung up. Your phone doesn't need to do anything to maintain them; the operating system keeps them alive in the background, even when you're not using your phone at all.
When someone tags you on Instagram, Instagram's servers don't try to reach your phone directly — they don't even know your phone's current address on the internet. Instead, they send a message to Apple's servers: 'Hey, deliver this to the device registered to this account.' Apple's servers already have a live connection to your phone. They pass the notification down that open line. Your phone receives it, wakes up the relevant app just enough to display the alert, and buzzes.
The app's servers never contact your phone. Apple or Google's servers do — because your phone is already connected to them. The notification travels: Instagram → Apple → you.
This architecture solves a problem that sounds simple but isn't: your phone's internet address changes constantly. Every time you switch from WiFi to cellular, or move between towers, or your router reassigns addresses, your phone gets a new IP. Instagram has no reliable way to find you. Apple does, because your phone registered itself with Apple when it first connected — and keeps that registration current automatically.
There's also a battery reason. If every app on your phone maintained its own always-on connection to its own servers, you'd have dozens of open lines draining power simultaneously. By routing everything through one persistent Apple or Google connection, your phone does the work once and every app piggybacks on it. One pipe instead of fifty.
The speed feels like magic but it's just queuing. The moment Instagram's servers process the tag, they fire a message to APNs. APNs delivers it in milliseconds over the connection your phone already has open. There's no delay from your phone waking up and going looking for news — the news was already on its way before you thought to check. That's the whole point of push versus pull. Pull is you opening the fridge to see what's there. Push is someone putting a sandwich in your hand.