~/talk

Streaming Events vs Live Queries, a deeper look at Subscription Patterns

Talkat GraphQL Scale 2022 · 2022-11-15..11-16· [graphql, web-platform]
slides:none on file

Compares two GraphQL subscription patterns implemented in Hasura: live queries for current state and streaming events for event archives, with a demo chat app that streams batched updates. Claims the system groups listeners, uses predicate pushdown and per-client batch size to reduce DB load, and has scaled to 1 million rows updated per second. Requires a single-column monotonic cursor and has no server-side backpressure; runs on Docker or Hasura Cloud (free tier) and exposes authZ at the query level.

AI-written summary · about

  1. 0:00Start
  2. 4:31What are Subscriptions?
  3. 6:20Event Driven Architecture!
  4. 11:34Subscriptions: Streams
  5. 17:52Differences
~/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.