【问题标题】:Can Resque be used to enqueue jobs to multiple redis databases on different servers?可以使用 Resque 将作业排入不同服务器上的多个 redis 数据库吗?
【发布时间】:2011-08-13 08:34:06
【问题描述】:

例如...从同一个 Rails 应用程序中,我希望能够将电子邮件排队到“localhost:6379”的一个 redis db,并导入到“10.0.0.5:6379”的另一个 redis db。

这似乎设置了 redis 连接应用程序的范围。 Resque.redis = "localhost:6379"

有没有办法通过 Resque 实例化和使用多个 redis 连接?

【问题讨论】:

    标签: redis resque


    【解决方案1】:

    这个项目符合我的要求!

    https://github.com/redsquirrel/resque_redis_composite

    【讨论】:

      猜你喜欢
      • 2020-09-04
      • 2014-09-17
      • 1970-01-01
      • 2013-07-02
      • 2023-03-11
      • 2017-02-28
      • 2011-10-27
      • 2015-05-15
      • 2011-06-05
      相关资源
      最近更新 更多