Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a look, try out and criticize: Disqontrol, a framework built on disque-php #35

Open
Revisor opened this issue Jan 4, 2017 · 4 comments

Comments

@Revisor
Copy link

Revisor commented Jan 4, 2017

Hello everyone,
in the issue #22, over a year ago, I mentioned that I'd been working on a framework for running background jobs.

However, as Fred Brooks said many years ago, software projects take a lot longer than anticipated, even if you expect them to take a lot longer. If I had known at the beginning how long this would take me, I would probably have run away in fear.

Nevertheless I can now present to you: Disqontrol

Think of it as Resque/Celery, but built in PHP and on Disque. It communicates with Disque with the help of our beloved disque-php which proved an immense help during the development. A big thank you to all developers here, of course especially Mariano!

I would be very grateful if you could take a look, read the documentation and the code, take it out for a ride and criticize, criticize, criticize and pull-request away.

Warning, it is still very much in an alpha state, albeit already working in our development environment. But the base is already there and humming.

Thank you. (And I apologize to Mariano for opening an issue about this, hopefully it's OK. If not, feel free to close it.)

@mariano
Copy link
Owner

mariano commented Jan 4, 2017 via email

@Revisor
Copy link
Author

Revisor commented Jan 4, 2017

Thank you for reminding me of this, I read about the improved signal handlers and thought about incorporating it later, but if someone's already done the job, I'll take a look at it.

Happy travels!

@mariano mariano mentioned this issue Mar 7, 2017
4 tasks
@Revisor
Copy link
Author

Revisor commented Mar 7, 2017

I wrote

Warning, it is still very much in an alpha state, albeit already working in our development environment

I would now correct it to say, "warning, it's still in beta, albeit already working in our production environment." :-)

We've used it for a very light load (tens of jobs a day) since January, and so far so good.

Adding a new job is just a matter of writing one small class. We run Disqontrol under Supervisor and changing the queue configuration or adding new queues requires us to restart the process under Supervisor.

Adding a recurring job requires one row in the queue crontab, it can be done directly by a developer, it can be committed in the repository and deployed directly with the code. Changing the queue crontab doesn't require any restart.

@Revisor
Copy link
Author

Revisor commented Nov 9, 2017

It's been 11 months since we started using Disqontrol in production. Everything works well.

Any other brave people want to take it for a test drive? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants