~/talk

From Polling to Pushing: Going Realtime with Go, gRPC, and Redis

Talkat GopherCon India 2024 · 2024-11-11..11-13· [web-platform, go]
links:none on file
slides:none on file

Propeller replaces frontend polling with a push model using bidirectional gRPC over persistent TCP connections, implemented in Go with goroutines and Redis (optional NATS) for Pub/Sub or Streams. It routes events via a broker to the container that holds a client connection, drops front-end P95 latency from 5s to 250ms P95, handles tens of thousands of concurrent users and about 300k goroutines on 3–4 containers (~3 GB), costs ≈ $200/month and is open source.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:55Polling use cases
  3. 4:32Challenges of polling
  4. 5:49Introducing Propeller
  5. 7:38Technical design and gRPC
  6. 9:26Connection affinity and architecture
  7. 11:53High concurrency with Go
  8. 13:28Impact and open source announcement
  9. 14:39Q&A session
~/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.