This is a simple rails app made to show Sidekiq's capabilities.
This app only requires Redis. Ensure you have a Redis instance running on localhost, or edit the sidekiq configuration in config/initializers/sidekiq.rb
.
- https://github.com/mperham/sidekiq/wiki/The-Basics
redis-cli -u 'redis://127.0.0.1:6379/8'
# Get all keys
> keys '*'
# Get the next two entries in the queue
> LRANGE queue:default 0 2
ShortJob
- A job meant to simulate a quick processing jobMailerJob
- A job simulating a processing job in another queueLongJob
- A job simulating a long running processErrorJob
- A job simulating a job that encounters an error
- The Sidekiqs gem interaction with Redis
- How to enqueue jobs
- A single job
- A bunch of jobs
- How the jobs are being processed
- The Job class
- Class options