~/talk

Scaling Real-Time: Building Federated Subscriptions in Rust

Talkat GraphQLConf 2026 · on Tuesday, 2026-05-19· at 14:45· Grand Ballroom II - IV· [graphql, rust]
slides:none on file

Hive Router implements federated GraphQL subscriptions in Rust, supporting WebSockets, SSE, multipart HTTP and HTTP callbacks end-to-end; it uses synthetic HTTP requests to treat websocket operations as normal requests and a central broadcaster to deduplicate and fan out events so thousands of clients can share one upstream subscription. At scale the callback mode flips the model to avoid 120,000+ open streams (10k subs × 3 subgraphs × 4 routers). Rust yields predictable memory, cheap shared ownership, and the refactor to shared pointers makes long‑lived streams practical.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:24Federated subscriptions explained
  3. 2:28Why federated subscriptions are hard
  4. 3:52Subscription protocol fragmentation
  5. 5:15Protocol translation in routers
  6. 6:41Keeping connections alive
  7. 7:01Entity resolution in subscriptions
  8. 8:25Subscription state management
  9. 8:47WebSocket handling challenges
  10. 9:52Synthetic HTTP request trick
  11. 11:19Header handling over WebSocket
  12. 12:43Token rotation benefits
  13. 13:06WebSocket for all operations
  14. 13:27HTTP callback protocol
  15. 14:52Callback protocol benefits
  16. 15:56Central broadcaster design
  17. 17:43Back pressure handling
  18. 18:47Rust benefits for subscriptions
  19. 20:12Key takeaways summary
  20. 21:19Q&A on horizontal scaling
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.