Can multiple rails application use one redis for resque jobs? -
There are way too many tracks to use for a redis (for background jobs) applications.
Edit:
If I use the same reads for all applications, then in a different design there are several lines of rows from different applications, raising the issue that an app's rushes May be the process of wrong work.
You can use the name space to connect to Redis such as Resize Setting in the document As:
Resque.configure do | Config | #Redis connection set: 'Hostname: port [: db] [/ name space]' - # string # redis - a redis connection will be namespaced - # string a redis url string: any takes (for example, Port redis: // host '): resque # redis :: namespace - as a namespaced redis connection will be used # redis :: distributed - a redis connection hash (eg {- used a distributed redis connection Will be # hash as: Host = & gt; 'Local Host' ,: Port = & Gt; 6379 ,: db = & gt; 0}) config.redis = 'localhost: 6379: Alpha / high end'
Comments
Post a Comment