I'm looking for a good framework to run PHP back-end business logic in combination with a queue service. the framework needs to be able to maintain large number of php processes up and running waiting for queue events.
1 Answer
As for the framework you can use any of the good frameworks out there and I'm not going into the framework debate, so let's just see what would be practical in terms of queue handling:
- Zend Framework has Zend_Queue which gives you adapters for Apache ActiveMQ, Database, Memcache, Zend Server and array (for testing). That's a pretty good out of the box feature set and you can extend it to wrap any other queue management tool.
- This blog post talks about implementing beanstalkd with the Symfony2 framework
- Wrapping a linux tool is another option
So there are tons of options, the only concrete advice I would give is not to make the mistake of implementing the queue system with a relational database.
If this doesn't answer your question I guess you have to give us more details about your requirements.