Resque with Redis To Go
blog.redistogo.com
Resque with Redis To Go
1–10 of 20 posts
Re: Resque with Redis To Go
#2Re: Resque with Redis To Go
#3I'm not seeing an obvious benefit for people self-hosting though.
Re: Resque with Redis To Go
#4Re: Resque with Redis To Go
#5Use the best tool for the job. For queueing, that's probably 0mq or ActiveMQ or RabbitMQ, depending on your needs.
Re: Resque with Redis To Go
#62 questions:
1. Do jobs (in app/jobs/whatever.rb) have full access to your Rails models (so you can pass it an ID and it can do whatever)?
2. How does the rake task/worker best work in a production environment (other than Heroku)? Use monit to keep the worker(s) up?
Thanks
Re: Resque with Redis To Go
#7Also, for the extremely anal, uri-redis is aware of the database number:
require 'uri-redis'
conf = URI.parse 'redis://localhost:6379/1'
conf.host # => localhost
conf.port # => 6379
conf.db # => 1Re: Resque with Redis To Go
#8Looks pretty awesome. I'd love to use it on an upcoming project. 2 questions: 1. Do jobs (in app/jobs/whatever.rb) have full access to your Rails models (so you can pass it an ID and it can do whatever)? 2. How does the rake task/worker best work in a production environment (other than Heroku)? Use monit to keep the worker(s) up? Thanks
2. Just use the "rake resque:work" task and I recommend using something like upstart that works awesome, but I have also done it with monit and both work great
Re: Resque with Redis To Go
#9Use the best tool for the job. For queueing, that's probably 0mq or ActiveMQ or RabbitMQ, depending on your needs.
These are primarily messaging systems. I've considered using them before. Nothing, however, has come close to letting me do introspection like Resque does, and the best part is that I don't need to do any work to get it.
Re: Resque with Redis To Go
#10Earlier quoted context omitted.
These are primarily messaging systems. I've considered using them before. Nothing, however, has come close to letting me do introspection like Resque does, and the best part is that I don't need to do any work to get it.
They are message queues. What makes introspection a critical requirement?