~/talk

Server-Sent Events on Android: Real-Time Streams That Surv…

Talkat DroidKaigi 2026 · 2026-09-01..09-03· [android]
links:none on file
slides:none on file

Industrial Android dashboards use Server-Sent Events with a clear, production pattern: four pull requests fix three connection leaks in the Rage Ruby SSE server (all merged), OKHttp5 SSE is only a parser while Ktor provides reconnection, and the read timeout 10s trap breaks long streams. The client implements a state machine with watchdog timer, jittered exponential backoff, offline ring-buffer replay and last-event-id resume so one-way monitoring survives shift-long Wi‑Fi outages.

AI-written summary · about

  1. 0:00Introduction
  2. 2:45Why SSE matters in Android
  3. 4:33Seven SSE topics on Android
  4. 8:45Android’s SSE reconnection gap
  5. 10:52Silence in streams and heartbeat
  6. 13:23Ruby’s SSE lessons
  7. 17:36Android SSE survival kit
  8. 22:35Offline handling in real-time
  9. 25:44Backpressure and state machine
  10. 26:50SSE vs WebSocket for monitoring
  11. 29:05Q&A
~/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.