-
Notifications
You must be signed in to change notification settings - Fork 230
Ent Remote Redis
Faktory Enterprise can use a remote Redis instance.
To use a remote instance, pass in a REDIS_URL
environment variable to Faktory.
REDIS_URL=redis://redis.example.com /usr/bin/faktory
Alternatively if your Redis SaaS exposes FOO_REDIS_URL
to your app, you can set REDIS_PROVIDER
:
REDIS_PROVIDER=FOO_REDIS_URL /usr/bin/faktory
That's it. The /debug page will show the Redis location being used and report the RTT to the Redis instance for performance monitoring and tuning purposes.
You can use Faktory Enterprise with an Elasticache Redis instance, just make sure that cluster mode is disabled. Faktory does not support cluster mode; Redis Clustering is designed for caching workloads, not transactional workloads like Faktory.
- RTT is very important and should be kept below 1000 µs for good performance.
- Redis should be configured with the
noeviction
maxmemory-policy or else it can throw away random Faktory data when overloaded, which will cause mysterious errors. - Faktory cannot share a Redis database with other instances of Faktory, Sidekiq or any other app.
Home | Installation | Getting Started Ruby | Job Errors | FAQ | Related Projects
This wiki is tracked by git and publicly editable. You are welcome to fix errors and typos. Any defacing or vandalism of content will result in your changes being reverted and you being blocked.