Sidekiq.cr

为 Crystal 提供简单、高效的工作处理。「Simple, efficient job processing for Crystal」

  • 所有者: hugopl/sidekiq.cr
  • 平台: BSD, Linux, Mac, Windows Subsystem for Linux (WSL)
  • 许可证: GNU Lesser General Public License v3.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Sidekiq.cr

Build Status

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 macOS 10.14.5, ruby 2.7.2:

Runtime RSS Time Throughput
Sidekiq 6.2.0 55MB 16.4 6,100 jobs/sec
Sidekiq 6.2.0/hiredis 49MB 13.0 7,900 jobs/sec
Crystal 0.35.1 15MB 3.8 26,000 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.

Support

Sidekiq.cr is community-supported and not commercially supported by @mperham and Contributed Systems.
General maintenance and bug fixes are always welcomed.

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

Mike Perham, http://www.mikeperham.com, @getajobmike / @sidekiq

概览

名称与所有者hugopl/sidekiq.cr
主编程语言Crystal
编程语言Crystal (语言数: 6)
平台BSD, Linux, Mac, Windows Subsystem for Linux (WSL)
许可证GNU Lesser General Public License v3.0
发布数6
最新版本名称v0.7.2 (发布于 )
第一版名称v0.5.0 (发布于 )
创建于2016-05-16 05:00:34
推送于2023-04-19 20:10:26
最后一次提交2023-04-19 16:16:05
星数764
关注者数25
派生数73
提交数229
已启用问题?
问题数58
打开的问题数2
拉请求数50
打开的拉请求数0
关闭的拉请求数11
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部