howto use reactphp + php-amqplib like python celery

66 views
Skip to first unread message

Jorge Senin

unread,
Dec 2, 2014, 7:33:03 AM12/2/14
to php-amqp...@googlegroups.com
Hi !

I'm working in a little proyect that consume data from two apis out my box. This process is very simple, I send data query to the api then I store returned data  in a database.
I need to do this process as fast as I could, so I'm thinking to maximize the performance using rabbitmq to dispatch tasks.
Well, I can do this tasks very well using php-amqplib , but I need to start every worker by hand, so I need a auto-scale process who can start or stop listener proccesses.

Reading docs , I found celery for python to manage rabbitmq messages ( Celery only support workers wrotten in python. ). As far as I read celery could auto-scale process in order to run as much process as posible.

Well reactphp + php-amqplib seems to be a way to implement some autoscaling rabbit queue, someone had develop some like this ?
Could someone put me in a rigth way to do this ?


thanks


Reply all
Reply to author
Forward
0 new messages