~/talk

Server-Sent Events

TalkinItalianat phpday PUG Edition 2022 · on Monday, 2022-04-11· [web-platform, php]
slides:none on file

A proof-of-concept implements Server-Sent Events using a PHP 8 backend (Symfony 5.4) and a React frontend with Symfony Mercure as the hub. It publishes Update objects through HubInterface, supports public and per-user topics, integrates with the command/listener action engine, includes tests that mock the hub for ~80% backend coverage, and demonstrated handling of about 50–100 concurrent clients in load checks while noting limits on binary data and per-tab connections.

AI-written summary · about

  1. 0:00Start
  2. 3:50Constraints
  3. 7:26Cognitive Bias
  4. 10:57Server-Sent Events
  5. 11:23Websocket Advantages
  6. 12:50SSE Advantages
  7. 14:44Browser Support
  8. 17:46Installation via composer
  9. 18:43Configuration
  10. 24:53Observing the network
  11. 28:04Async dispatching
  12. 30:09How to catch mercure connection problems?
  13. 35:55Summary
~/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.