Nos articles taggués « messenger »
Forcer le redémarrage d’un worker Symfony
Il arrive de temps en temps que notre worker n’arrive pas à se relever. Aussi fort que vous vous battez, l’erreur a mis PHP ou votre application dans un état instable et il n’y a rien à faire à part l’achever ! Pour pallier ça, vous avez deux options ! Si vous avez la main sur l’exception…
Lire la suite de l’article Forcer le redémarrage d’un worker Symfony
State replication with Symfony Workflow, Messenger, and RabbitMQ
In this article, we’ll see how we can replicate some data between two different applications that live in two different locations. But the special thing is that the network is not reliable! Yeah, network is never reliable, but here, it’s really not 😁 The project has two applications:…
Lire la suite de l’article State replication with Symfony Workflow, Messenger, and RabbitMQ
About Symfony Messenger and Interoperability
The Messenger component has been merged into Symfony 4.1, released in May 2018. It adds an abstraction layer between a data producer (or publisher) and its data consumer. Symfony is thus able to send messages (the data) in a bus, usually asynchronous. In concrete terms: our controller…
Lire la suite de l’article About Symfony Messenger and Interoperability
Symfony Messenger 💛 systemd
In this article we will explore how to use systemd properly to run Symfony Messenger workers. What are Symfony Messenger and systemd? Symfony documentation says: The Messenger component helps applications send and receive messages to / from other applications or via message queues.…
Batching Symfony Messenger messages
Sometimes we want to make messages in Symfony Messenger that are consumed as a batch and not one by one. Recently we came across a situation where we send updated translations for our entities through Messenger and then send them to our translation provider. But since there is a…
Lire la suite de l’article Batching Symfony Messenger messages
Dites-nous tout !
Un de nos articles vous a aidé dans votre travail et vous voulez nous remercier ?
Vous avez trouvé une typo ou une erreur ?
N’hésitez pas à nous le faire savoir
en nous envoyant un message