node js job manager with websockets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Mihai D fb5a29af19 rework job queue, use an init event on the websocket 1 year ago
static rework job queue, use an init event on the websocket 1 year ago
.gitignore gitignore config 1 year ago
README.md initial commit 1 year ago
TODO initial commit 1 year ago
config.js.example gitignore config 1 year ago
daemon.js rework job queue, use an init event on the websocket 1 year ago
job.js initial commit 1 year ago
jobmanager.js rework job queue, use an init event on the websocket 1 year ago
jobqueue.js rework job queue, use an init event on the websocket 1 year ago
package.json initial commit 1 year ago

README.md

async job manager

  • http endpoints to:

    • create job
    • get job status
    • get job output (?)
    • kill job
    • list jobs
  • http websocket for subscribing to events

  • http static pages for simple admin

  • events:

    • job started
    • job ended (+ error code)
  • queue of jobs Queue class - add job - list jobs + filtering + paging

  • job

    • unique opaqueID
    • status: ready, running, finished
    • pid
    • input
    • output
    • tags
  • max number of jobs per daemon

  • max number of jobs per tag

  • testing: php scripts: - echo - sleep + echo - warning - fatal error - syntax error - uncaught exception

  • config.js