Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some docs fixes #395

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,14 @@ the `--env-file` flag.
The most important variables to set are:

* CONFIG_QUEUES_MASTER_NAME: Set this to the [`redis://` URL](http://www.iana.org/assignments/uri-schemes/prov/redis)
of where the Redis Storage has been installed
* CONFIG_REDIS_PROXY: Set this to the [`redis://` URL](http://www.iana.org/assignments/uri-schemes/prov/redis)
of where the Redis Resque has been installed
* CONFIG_REDIS_PROXY: Set this to the [`redis://` URL](http://www.iana.org/assignments/uri-schemes/prov/redis)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe these ones were swapped... CONFIG_REDIS_PROXY is for storage, and CONFIG_QUEUES_MASTER_NAME is for Resque

of where the Redis Storage has been installed
* CONFIG_INTERNAL_API_USER: Set this to an arbitrary username <username>
that will be the one used to be able to use the Apisonator internal api
that will be the one used to be able to use the Apisonator internal API
* CONFIG_INTERNAL_API_PASSWORD: Set this to an arbitrary
password <password> that will be the one used to be able to use the
Apisonator internal api
Apisonator internal API
* RACK_ENV: Set this to 'production'

A complete list of configuration variables that can be set can be
Expand Down
11 changes: 6 additions & 5 deletions docs/openshift_horizontal_scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ doc](./async.md).
### Redis databases

The standard 3scale deployment uses a single Redis pod and sets both the resque
DB and the data DB in the same Redis process under different DB indexes. This is
not supported by the async redis library, so we need to either place both DBs in
the same Redis process or use two separate ones. To configure this, change the
`CONFIG_REDIS_PROXY` and `REDIS_QUEUES_URL` envs in the listener and worker
deployment configs.
DB and the data DB in the same Redis process under different DB indexes. If an
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was mainly to fix the statement that DB indexes are not supported in async redis library. This feature was added here: #390

external Redis is used the URLs set in `CONFIG_REDIS_PROXY` and
`CONFIG_QUEUES_MASTER_NAME` can be configured to either two separate Redis instances
(e.g. `redis://backend-queues.example.com:6379` and `redis://backend-storage.example.com:6379`),
or a single Redis instance with separate databases (e.g. `redis://backend.example.com:6379/0`
and `redis://backend.example.com:6379/1`).

### Enable async

Expand Down