~/talk

Asynchronous Request Processing

Talkat SymfonyLive London 2017 · 2017-09-21..09-22· [developer-experience]
links:none on file
slides:none on file

Argues that heavy disk or DB work should be offloaded and compares Gearman, PHP Resque and RabbitMQ with concrete tradeoffs: RabbitMQ exchanges and routing enable complex routing and message-state backchannel, RabbitMQ supports soft memory limits and prefetching, while PHP Resque is simpler to start with. Advises using use JSON payloads (not PHP serialize), add message headers + versioning and unique IDs, and run consumers under supervisord restarts to avoid long-running PHP memory leaks and stale DB connections; discusses graceful shutdown and requeue behavior.

AI-written summary · about

  1. 0:00Introduction to async requests
  2. 1:06Conventional vs asynchronous handling
  3. 3:34Overview of queuing systems
  4. 5:43PHP Resque explained
  5. 7:54RabbitMQ basics
  6. 10:08Lessons learned from implementations
  7. 13:01Memory and prefetching tips
  8. 15:26Message order dependencies
  9. 17:37Message format best practices
  10. 20:10Deployment challenges
  11. 22:18Other challenges and advice
  12. 24:08Summary and Q&A
~/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.