Sidekiq
==============
[![Build Status](https://secure.travis-ci.org/mperham/sidekiq.png)](http://travis-ci.org/mperham/sidekiq)
[![Dependency Status](https://gemnasium.com/mperham/sidekiq.png)](https://gemnasium.com/mperham/sidekiq)
Simple, efficient message processing for Ruby.
Sidekiq uses threads to handle many messages at the same time in the
same process. It does not require Rails but will integrate tightly with
Rails 3 to make background message processing dead simple.
Sidekiq is compatible with Resque. It uses the exact same
message format as Resque so it can integrate into an existing Resque processing farm.
You can have Sidekiq and Resque run side-by-side at the same time and
use the Resque client to enqueue messages in Redis to be processed by Sidekiq.
At the same time, Sidekiq uses multithreading so it is much more memory efficient than
Resque (which forks a new process for every job). You'll find that you might need
50 200MB resque processes to peg your CPU whereas one 300MB Sidekiq process will peg
the same CPU and perform the same amount of work. Please see [my blog post on Resque's memory
efficiency](http://blog.carbonfive.com/2011/09/16/improving-resques-memory-efficiency/)
and how I was able to shrink a Carbon Five client's resque processing farm
from 9 machines to 1 machine.
Requirements
-----------------
I test on Ruby 1.9.3 and JRuby 1.6.x in 1.9 mode. Other versions/VMs are
untested but I will do my best to support them. Ruby 1.8 is not supported.
Redis 2.0 or greater is required.
Installation
-----------------
gem install sidekiq
Getting Started
-----------------
See the [sidekiq home page](http://mperham.github.com/sidekiq) for the simple 4-step process.
You can watch [Railscast #366](http://railscasts.com/episodes/366-sidekiq) to see Sidekiq in action.
More Information
-----------------
Please see the [sidekiq wiki](https://github.com/mperham/sidekiq/wiki) for more information.
[#sidekiq on irc.freenode.net](irc://irc.freenode.net/#sidekiq) is dedicated to this project,
but bug reports or feature requests suggestions should still go through [issues on Github](https://github.com/mperham/sidekiq/issues).
There's also a mailing list via [Librelist](http://librelist.org) that you can subscribe to by sending
and email to <sidekiq@librelist.org> with a greeting in the body. To unsubscribe, send an email to <sidekiq-unsubscribe@librelist.org> and that's it!
Once archiving begins, you'll be able to visit [the archives](http://librelist.com/browser/sidekiq/) to see past threads.
Problems?
-----------------
**Please do not directly email any Sidekiq committers with questions or problems.** A community is best served when discussions are held in public.
If you have a problem, please review the [FAQ](/mperham/sidekiq/wiki/FAQ) and [Troubleshooting](/mperham/sidekiq/wiki/Problems-and-Troubleshooting) wiki pages. Searching the issues for your problem is also a good idea. If that doesn't help, feel free to email the Sidekiq mailing list or open a new issue.
The mailing list is the preferred place to ask questions on usage. If you are encountering what you think is a bug, please open an issue.
License
-----------------
Please see LICENSE for licensing details.
<a href='http://www.pledgie.com/campaigns/16623'><img alt='Click here to lend your support to Open Source and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/16623.png?skin_name=chrome' border='0' /></a>
Author
-----------------
Mike Perham, [@mperham](https://twitter.com/mperham), [http://mikeperham.com](http://mikeperham.com)
没有合适的资源?快使用搜索试试~ 我知道了~
基于Java的实例开发源码-Rails3消息队列系统 Sidekiq.zip
共133个文件
rb:74个
slim:11个
erb:6个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 9 浏览量
2023-06-17
16:01:54
上传
评论
收藏 275KB ZIP 举报
温馨提示
基于Java的实例开发源码-Rails3消息队列系统 Sidekiq.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于Java的实例开发源码-Rails3消息队列系统 Sidekiq.zip (133个子文件)
Capfile 269B
client 126B
COMM-LICENSE 14KB
monitrc.conf 368B
bootstrap.css 112KB
bootstrap-responsive.css 20KB
layout.css 286B
application.css 107B
sidekiq.erb 5KB
monitrc.conf.erb 564B
sidekiq.yml.erb 422B
application.html.erb 232B
greetings.html.erb 66B
index.html.erb 26B
Gemfile 295B
Gemfile 181B
sidekiq.gemspec 1KB
.gitignore 430B
.gitignore 48B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
jquery.js 242KB
bootstrap.js 55KB
jquery.timeago.js 4KB
application.js 2KB
LICENSE 864B
Changes.md 10KB
README.md 4KB
web-ui.png 57KB
glyphicons-halflings.png 12KB
glyphicons-halflings-white.png 9KB
rails 295B
Rakefile 270B
Rakefile 187B
web.rb 6KB
test_cli.rb 6KB
cli.rb 6KB
test_web.rb 5KB
manager.rb 4KB
client.rb 4KB
test_client.rb 4KB
test_retry.rb 4KB
test_exception_handler.rb 3KB
test_stats.rb 3KB
processor.rb 3KB
test_testing.rb 3KB
retry_jobs.rb 3KB
application.rb 3KB
production.rb 2KB
sidekiq.rb 2KB
fetch.rb 2KB
scheduled.rb 2KB
chain.rb 2KB
worker.rb 2KB
test_testing_inline.rb 2KB
test_extensions.rb 2KB
capistrano.rb 2KB
test_processor.rb 2KB
test_middleware.rb 2KB
test.rb 1KB
development.rb 1KB
default.rb 1KB
testing.rb 1KB
core_ext.rb 1KB
sinkiq.rb 1KB
logging.rb 977B
stats.rb 944B
active_record.rb 912B
inline.rb 906B
util.rb 894B
exception_handler.rb 891B
action_mailer.rb 886B
clockwork.rb 878B
por.rb 831B
work_controller.rb 820B
redis_connection.rb 815B
test_scheduling.rb 791B
paginator.rb 788B
scheduling.rb 765B
generic_proxy.rb 761B
class_methods.rb 740B
logging.rb 687B
yaml_patch.rb 633B
inflections.rb 533B
rails.rb 520B
secret_token.rb 496B
test_fetch.rb 493B
wrap_parameters.rb 465B
helper.rb 419B
session_store.rb 407B
backtrace_silencers.rb 404B
deploy.rb 380B
timeout.rb 364B
seeds.rb 343B
routes.rb 269B
active_record.rb 258B
user_mailer.rb 220B
共 133 条
- 1
- 2
资源评论
毕业_设计
- 粉丝: 1925
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- docker&docker-compose离线安装包(centos)
- 滑动窗口是一种流量控制技术,用于在数据传输过程中进行拥塞控制和流量调节4.txt
- Nacos如何支持服务发现和注册-基于词频统计的分析.txt
- :基于java打造的深度学习框架,帮助你快速搭建神经网络,实现模型推理与训练,引擎支持自动求导,多线程与GPU运算
- 第九次作业(XY图,XY图显示,三维曲面,数字波形图)
- 微信小程序实战案例:打造高效便捷的在线书店.zip
- 1.0.5win(1)(1).exe
- ESP8266 WiFi模块入门教程:从连接到配置.zip
- 词频统计:从基础到实践的应用指南.zip
- 滑动窗口:深入理解与应用.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功