Skip to content
D1353LPublic

About

A lightweight background job processing library with tag-based concurrency control.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Jobkiq

CI

Jobkiq is a lightweight background job processing library with tag-based concurrency control.

Key features

  • Parallel processing: Multiple workers can process jobs concurrently.
  • Ordered execution: Jobs are executed in order based on their creation timestamp.
  • Tag-based concurrency: Each specified tag is processed by only one worker at a time.
  • Efficient idle behavior: Workers consume no CPU when there are no jobs to process.

Usage

CLI

Run worker:

exe/jobkiq worker --q optional_queue

Enqueue job:

exe/jobkiq perform_async TestJob tag1 tag2 --q optional_queue

Docker Compose

Run workers:

docker compose up --scale worker=5

Enqueue job:

docker compose exec worker ruby exe/jobkiq perform_async TestJob tag1 tag2

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.

About

A lightweight background job processing library with tag-based concurrency control.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages