E
E
Evgeny Svirsky2016-11-14 10:41:54
symfony
Evgeny Svirsky, 2016-11-14 10:41:54

Does anyone have examples of using Beanstalkd in Symfony via bundle Pheanstalk?

Hello.
Actually a question in a subject.
Who had experience with beanstalkd in Symfony. I use: https://github.com/armetiz/LeezyPheanstalkBundle.
I can't find a simple howto on the net to use this queue server.
Ideally, I would like to be able to send a job to the queue, in which it will be indicated - the name of the Symfony service, the name of the method and the parameters passed to the method.
Maybe someone will throw off ready-made examples or sketch out the code, as it is done using the bundle tools for beanstalkd.
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-11-19
Protko @Fesor

Use https://github.com/bernardphp/BernardBundle
Some kind of job identifier is better, because somehow it is not logical that the task knows who will deal with it. Well, that is, you get some kind of task with some type, and some kind of router will destroy which service will deal with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question