是否可以在没有redis的情况下使用resque/Sidekiq /rails-jobs(使用MySql)
Is it possible to use resque/Sidekiq /rails-jobs without redis (using MySql)
我的服务器非常有限,需要后台工作人员的 RoR 项目。速度不是那么重要,我猜这是使用 Redis 的主要原因,但最主要的是,服务器不能有 Redis 数据库,所以有可能吗(even monkey-patch will do),它允许使用任何 Rails 后台作业方法 运行 使用 MySql,无论是 Resque(首选)、Sidekiq 还是 Rails 内置一个?
Delayed::Job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background.
...
Active Job is a framework for declaring jobs and making them run on a variety of queuing backends
...
Active Job has built-in adapters for multiple queuing backends (Sidekiq, Resque, Delayed Job, and others). To get an up-to-date list of the adapters see the API Documentation for ActiveJob::QueueAdapters.
...
Delayed Job uses your SQL database for storage and processes jobs in a single-threaded process. It's simple to set up but the performance and scalability aren't great. (c) Sidekiq FAQ
P.S。我更喜欢为Redis找地方。
我的服务器非常有限,需要后台工作人员的 RoR 项目。速度不是那么重要,我猜这是使用 Redis 的主要原因,但最主要的是,服务器不能有 Redis 数据库,所以有可能吗(even monkey-patch will do),它允许使用任何 Rails 后台作业方法 运行 使用 MySql,无论是 Resque(首选)、Sidekiq 还是 Rails 内置一个?
Delayed::Job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background.
...
Active Job is a framework for declaring jobs and making them run on a variety of queuing backends
...
Active Job has built-in adapters for multiple queuing backends (Sidekiq, Resque, Delayed Job, and others). To get an up-to-date list of the adapters see the API Documentation for ActiveJob::QueueAdapters.
...
Delayed Job uses your SQL database for storage and processes jobs in a single-threaded process. It's simple to set up but the performance and scalability aren't great. (c) Sidekiq FAQ
P.S。我更喜欢为Redis找地方。