Connect resque to another DB database than redis?

I just read a little about resque here and how you use redis as an "extended keystore" for tasks.

As you know, you can use resque on several machines to process jobs:

Workers can be provided with multiple queues (a "queue list") and run on multiple machines. In fact, they can be run anywhere with network access to a Redis server.

Now my question is ... Is resque able to connect to any other key database, such as SimpleDB or CouchDB? And if so, does that even make sense?

+3
source share
1 answer

No, it is not capable, since it mainly uses the Redis functions specially written for handlin queues, such as brpopand blpush. The ultimate consistency of CouchDB / SimpleDB does not allow them to be the ideal candidate for queues; an AMQP implementation such as RabbitMQ is suitable, but cannot be used with Resque.

+2
source

Source: https://habr.com/ru/post/1747622/


All Articles