Giter VIP home page Giter VIP logo

job's People

Contributors

ragboyjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

job's Issues

Kernel Dispatch

If the dispatch method in the kernel has no arguments, then return the dispatcher.

Synchronous Queue

Implement a Queue that will perform the action right away. This would be useful for development.

Scheduler Stack

We need to add the ability for the main scheduler to delegate responsibility from one main class to smaller defined schedulers so that plugins can be easily made.

Here is a list of the features that need to be handled by plugins

  • Max Retry
  • Max Jobs
  • Max Runtime
  • Sleep Time
  • Multiple Queues being managed from one scheduler
  • CRON Scheduled Jobs

Doctrine Queue

Add a queue that works off the database with the doctrine dbal.

Possible error in docs

When I set up my app with the config from the readme:

$kernel->config([
    'name' => 'jobs',
    'sleep' => 10, 
    ...
]);

I got: Notice: Undefined index: queue in ../vendor/krak/job/src/Kernel.php

After some code diving changed it to:

$kernel->config([
    'queue' => 'jobs',
    'sleep' => 10, 
    ...
]);

And it worked, so probably worth updating the docs. I can do it, just checking if this is indeed and an error in docs.

Delayed Redis

We should make a service similar to the Doctrine/JobRepository which handles the specific redis abstraction for adding queue parameters.

Respawn Option

Add the ability for the job scheduler to Respawn a process that's died.

Logging

Verify all logging severity make sense. Some things should probably be marked as info instead of notice.

Configurable Jobs

Add the ability for a job to configure itself via an additional interface named Configurable or something similar.

Multiple Queues Providers

Make the ability to support multiple queue sources per actual named queue. So one queue might be sqs, one might be db, and the other redis.

Job Restart

Add ability to restart and stop the current running process.

Job Dashboard

Work on the ability to implement a dashboard for the jobs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.