~/talk

Building async public APIs using HTTP/2+ and the Mercure protocol

Talkat AsyncAPI Online Conference 2020 · on Wednesday, 2020-04-22· [web-platform, web-performance]
slides:none on file

Mercure is an HTTP/2+ async protocol that uses a Go hub to broadcast messages: a publisher sends one POST and connected browsers use Server-Sent Events to receive updates with reconnection, missed-event refetch and history. It uses JWT for per-user targets, supports URI-templated topics and patterns, falls back to HTTP/1, and claims ~95% HTTP/2 coverage. Deploy options include a Helm chart, automatic Let’s Encrypt TLS, a managed service and language libraries; reference hub is fast and production-ready.

AI-written summary · about

  1. 0:00Mercure protocol intro
  2. 2:13Async APIs for browsers
  3. 3:57Polling vs WebSocket limits
  4. 6:29Server-Sent Events better
  5. 7:33WebSocket vs SSE comparison
  6. 9:39HTTP/2 replaces WebSocket
  7. 12:08Introducing Mercure
  8. 14:41Mercure features
  9. 15:43How Mercure hub works
  10. 16:32HTTP/2 improves Mercure
  11. 19:24Publishing with Mercure
  12. 20:51Browser subscribing to updates
  13. 21:35Mercure topic patterns
  14. 23:44Mercure JWT auth
  15. 25:49Deploying Mercure Hub
  16. 27:17Mercure in tools
  17. 28:22Async APIs with API Platform
  18. 29:23Mercure in AsyncAPI
~/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.