jondot / sneakers

A fast background processing framework for Ruby and RabbitMQ
https://github.com/jondot/sneakers
MIT License
2.24k stars 333 forks source link

is Redis Required? #383

Closed alilland closed 5 years ago

alilland commented 5 years ago

This is a really lame question and can be immediately closed when answered, but I am absolutely a newbie and just barely got a hello world functionality working with sidekiq (I have several apps running on a single Ec2 and without paying an arm and a leg i cannot spin up another sidekiq / redis instance and therefore am forced to look at Sneakers + RabbitMQ), so my knowledge of background processing is very small.

If I understand correctly RabbitMQ is a competing product to Redis (i know they tackle two different sets of problems though), Redis is a key-value store with some messaging capabilities. Is sneakers reliant on Redis for its functionality in addition to RabbitMQ? or does it function as a standalone? Maybe the doc examples can explain a little further why Redis is mentioned.

michaelklishin commented 5 years ago

Redis is a development dependency that's used in integration tests (even there it is optional, as in, some tests should be skipped if Redis is not running locally).

Some features of Sneakers can be built on top of Redis messaging, others cannot (that I know of, I obviously know significantly more about RabbitMQ capabilities and protocols than modern Redis).

michaelklishin commented 5 years ago

This wiki page is about 5 years old but explains certain design decisions and rationale behind Sneakers. HTH :)