~/talk

Symfony Messenger: Messages, Queues, Workers and more

Talkat SymfonyLive London 2018 · 2018-09-27..09-28· [php, microservices]
slides:none on file

Symfony Messenger (Symfony 4.1) provides domain message classes with __invoke handlers, middleware chains, serialized transports configured via DSNs (AMQP/RabbitMQ, Doctrine DB, etc.), and a console messenger:consume worker to pull and dispatch messages. An example moves 50 notification sends that take ~1 minute synchronously into a queue, making them asynchronous and fast. It uses envelopes with stamps to carry infrastructure metadata, supports multiple buses, custom transports, and is experimental in 4.1 moving to stable API in 4.2.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:14Core concepts of Messenger
  3. 5:00Simple message example
  4. 12:29Synchronous vs asynchronous
  5. 14:00Transport configuration
  6. 17:35Worker and message consumption
  7. 18:40Developer experience summary
  8. 19:00Multiple message buses
  9. 25:46Middleware explained
  10. 29:19Envelopes and their power
  11. 37:57Custom transports
  12. 39:24Future and call to action
  13. 40:06Q&A session
~/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.