Is there a way to do queuing in php without installing anything on the server?

Is there a way to do queuing in php without installing anything on the server?

I’m currently on a shared server so I can’t install anything on the server like Gearman or MQRabbit.
I would like to get started with queuing instead of refreshing a cron job 6 times to process 600 users.

And can someone give me a tutorial?

You could simply create a queue - a simple text file, a CSV or a database - but you would still need a cron job to check the queue and process entries.

Yes, you can and it is easier then you might though. Install the enqueue/fs transport. The great thing about it is that you can easily migrate to RabbitMQ in the future. Thanks to JMS like transport interface.

The consumers could be run by cron (I dont recommend it but if you do not have another choice) or use supervisord to manage processes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.