sidekiq
Version, currently 0.5.01 version
- 0.5.0latestJul 11, 2016
github.com/kemalyst/sidekiq-cli.cr
Simple, efficient job processing for Crystal
Installation
# Add this to your shard.yml
dependencies:
sidekiq:
github: kemalyst/sidekiq-cli.cr
version: ~> 0.5.0Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- LGPL-3.0
- Author
- Mike Perham
Dependencies
Runtime Dependencies
README
Sidekiq.cr
Sidekiq is a well-regarded background job framework for Ruby. Now we're bringing the awesomeness to Crystal, a Ruby-like language. Why? To give you options. Ruby is friendly and flexible but not terribly fast. Crystal is statically-typed, compiled and very fast but retains a similar syntax to Ruby.
Rough, initial benchmarks on OSX 10.11.5:
| Runtime | RSS | Time | Throughput |
|---|---|---|---|
| MRI 2.3.0 | 50MB | 21.3 | 4,600 jobs/sec |
| MRI/hiredis | 55MB | 19.2 | 5,200 jobs/sec |
| Crystal 0.18.4 | 12MB | 5.9 | 16,900 jobs/sec |
If you have jobs which are CPU-intensive or require very high throughput, Crystal is an excellent alternative to native Ruby extensions. It compiles to a single executable so deployment is much easier than Ruby.
Getting Started
Please see the wiki for in-depth documentation and how to get started using Sidekiq.cr in your own app.
Upgrade?
If you use and like this project, please let me know. If demand warrants, I may port Sidekiq Pro and Enterprise functionality to Crystal for sale.
Help wanted
See the issues for chores and other ideas to help.
Things that do not exist and probably won't ever:
- Support for daemonization, pidfiles, log rotation - use Upstart/Systemd
- Delayed extensions - too dynamic for Crystal
The Ruby and Crystal versions of Sidekiq must remain data compatible in Redis. Both versions should be able to create and process jobs from each other. Their APIs are not and should not be identical but rather idiomatic to their respective languages.
Author
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.5.0- Tagged
- Jul 11, 2016
- Commit
6f692808d782- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/kemalyst/sidekiq-cli.cr
Metadata
- Created
- Aug 16, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 16, 2026
- Versions
- 1