~/talk

WebHooks vs WebSub: which one to stream your events in Real Time?

Talkat Devoxx Belgium 2017 · 2017-11-06..11-10· [web-platform, api-design]
linkedin:audreyneveu
slides:none on file

Compares ad‑hoc WebHooks and the W3C WebSub protocol, shows a working Node/Express webhook receiver exposed with ngrok demo worked and a GitHub webhook that receives ping and watch events. WebHooks require a publicly reachable callback, lack a spec (no specification), force providers to loop, retry and handle duplicates and DDoS, and need manual UI; WebSub uses hubs, discovery links and a hub verification challenge, offloads distribution and saves provider resources but adds an extra GET for the full content. Recommends WebHooks for action triggers (CI, IoT) and WebSub when data payload efficiency matters.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Real Time
  3. 8:45Pros and Cons
  4. 11:36Checklist
  5. 14:31Publishers
  6. 15:18Publishing with WebSub
  7. 16:55Consumer setup
  8. 19:00Unsubscribe
  9. 19:44Demo
~/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.