Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Dealing with spinning up/down workers #6

@rquast

Description

@rquast

Great project, thank you!

I've taken a brief look through the project, and it looks pretty similar to a scheduler that I've used in the past (Quartz Scheduler), which I was going to use until I found out about your project.

Most things look pretty straight forward, but I am a bit concerned about jobs (commands) being stopped in the middle of their process. As far as I can tell, the only way to deal with this at the moment is to implement some kind of signal handler for the command? It would be better if that was handled by BusQue.

I was thinking that it would be easier, in the long term, to implement some things similar to Quartz. The first is a standardised way to interrupt a command (http://stackoverflow.com/questions/7159080/how-to-interrupt-or-stop-currently-running-quartz-job). The second is a single process that spins up/down worker threads. Currently, if you have 20 workers, you have to manually up/down them. Would it be easier to have a single process that deals with this? It would make things a lot easier from a configuration perspective.

Also, has anyone used this in production yet? Anyone had any issues with serialization between different servers, etc?

Thanks once again for the great code! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions