Re:Show HN: Sneakers – Fast background processing for Ruby
by MoOmer on Tuesday January 07, 2014 @02:35PM
(#7019330)
I've got to say that the more I hear "Redis can never be reliable" the more I cringe. It just seems like one of those things that's been said and repeated without people stopping to fact-check along the way.
Redis Clustering tutorial: http://redis.io/topics/cluster-tutorial
Redis persistence (using AOF or RDB or both): http://redis.io/topics/persistence
Re:Show HN: Sneakers – Fast background processing for Ruby
by jondot on Tuesday January 07, 2014 @03:07PM
(#7019550)
Right now Redis cannot be clustered production-ready. I wish. As I stated in the Wiki, you'll have to pry Redis from my dead body, I am very happy with it, and for me its a true swiss army knife and I've used it as such.
Even though it doesn't have clustering - it's rock solid in production and I haven't experienced a drop in one of my Redis servers in around 3 years.
That being said, if you are building a system where reliability is an explicit requirement you can't take those risks.
Re:Show HN: Sneakers – Fast background processing for Ruby
by druiid on Tuesday January 07, 2014 @02:43PM
(#7019381)
Still in beta/alpha as far as I last checked (we've been waiting for it). Additionally as far as clustering is concerned there still seem to be a lot of 'unknowns' for me with clustering Redis. Using a cluster in RabbitMQ is dead simple and it just works.
Re:Show HN: Sneakers – Fast background processing for Ruby
by milkshakes on Tuesday January 07, 2014 @03:56PM
(#7019853)
you might want to do some fact checking yourself before you cringe.
i would start here: http://aphyr.com/tags/Redis
Discussing reliability - this is something that sadly Sidekiq will never give you, by virtue of the fact that it uses Redis. RabbitMQ can be clustered in active-active mode, which means you have won over reliability here by just using a cluster.
When comparing queue systems, comparing Sidekiq+Redis to RabbitMQ is a bit unfair - because RabbitMQ was born to do this. And that's why if you're doing proper background jobs and messaging it's better to pick the right tool.
That being said, I do keep using Sidekiq for small Rails apps for the typical background emailers, denormalizers, etc. But I keep an eye open for when I realize that I'm doing proper messaging - in which case I'll switch over to something like Sneakers.