~/talk

Asynchronous PHP with ReactPHP

Talkat PHP Conference Japan 2024 · on Sunday, 2024-12-22· [php, nodejs]
slides:none on file

Shows an actual async PHP consumer built with ReactPHP + Bunny that reads JSON‑LD orders from RabbitMQ, sends per‑line‑item HTTP POSTs with Promise\all, and only acknowledges messages after all requests resolve. Uses composer, react/http, and the async Bunny client; demo processes 3 million queued messages in ~20 seconds (~100k msgs/s) on one core. Code works as a proof of concept but lacks production error handling for rejected promises and edge cases.

AI-written summary · about

  1. 0:00Introduction to async PHP
  2. 10:04E-commerce checkout delays
  3. 16:24Why PHP for async tasks
  4. 21:43ReactPHP library overview
  5. 29:16Demo setup and RabbitMQ
  6. 37:53Building the async worker
  7. 42:14Performance benchmark demo
  8. 45:22Resources and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.