go-workers
go-workers copied to clipboard
Configuring multiple REDIS servers
Hi,
is it possible to use go-workers with multiple REDIS servers? In Rails it is possible (see http://stackoverflow.com/questions/22626607/use-multiple-redis-servers-in-sidekiq ).
But I could not figure out if this is also possible within go-workers
Hey Pieterjan,
A single go-workers process is currently tied to one redis server as the configuration is global.
In go-workers, queues are completely independent, so I'd be open to a configuration option to specify the redis host for a given queue, if you're interested in submitting a PR!
Thanks, John
Hi John,
thanks for replying so quickly. I would like to create a pull request but I'm originally a Rails developer. Only started with go a few days back so I won't be able to do it soon.
Currently I'm hosting a simple go app on heroku. Would it be possible to easily have multiple go-workers on one dyno? And if so, could you show me a snippet of how to do that? Would be great!
i have a similar requirement. From a single app/service i want to queue up jobs to two different clusters of redis.