Home / Companies / Apollo / Blog / Post Details
Content Deep Dive

Federated Subscriptions with Router’s HTTP Callback Protocol

Blog post from Apollo

Post Details
Company
Date Published
Author
Liz Hennessy
Word Count
1,874
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

The article explains how Apollo Router supports federated subscriptions using the HTTP callback protocol. This allows subgraphs to communicate updates to the router without maintaining long-lived, resource-intensive connections common with WebSocket approaches. The process involves three primary roles: the router, the subgraph, and the emitter. The router receives a subscription operation, sends it to the responsible subgraph, and attaches instructions for how the subgraph can "call back." The subgraph then acts as both the subgraph and the emitter, sending regular "check" messages to the router at predefined intervals, providing updates via a "next" message when something changes, and closing a subscription connection with the router. This enables subscriptions across multiple subgraphs without the weight of multiple long-term WebSocket connections, allowing clients to receive data from multiple sources in a single operation.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 2,334 631 194 -8%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.