Skip to content

When you want to split your Resque queues across multiple instances of Redis

Notifications You must be signed in to change notification settings

redsquirrel/resque_redis_composite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

config = {
  "default" => "localhost:6379",
  "a_queue_of_write_heavy_stuff" => "otherbox:6379"
}

Resque.redis = Resque::RedisComposite.new(config)
Resque.push("email_sending", "to" => "[email protected]") # to localhost:6379
Resque.push("a_queue_of_write_heavy_stuff", 23239430449) # to otherbox:6379

# Get it?

About

When you want to split your Resque queues across multiple instances of Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages