Skip to content

Instantly share code, notes, and snippets.

@brianmed
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianmed/f99e7281a5b721a715ef to your computer and use it in GitHub Desktop.
Save brianmed/f99e7281a5b721a715ef to your computer and use it in GitHub Desktop.
Minion worker management
Handle M tasks per worker
- $? oddness
- tests
Start worker(s) at boot
- N workers for X host and all tasks
- N workers for X host and a set of tasks
Ensure worker(s) are available
- When was last known heartbeat
- Does worker respond to KILL 0
Stop all workers on a box or all connected boxes
- Gracefully shutdown/restart all workers on box X
- Gracefully shutdown/restart all workers on box X and a set of tasks
- Graceful shutdown implies that along running job will not be TERM'd or KILL'd
- Graceful restart means that minion tasks are reloaded by a worker stopping and starting
Web interface to interact with Minion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment