Skip to content

Commit

Permalink
Update Deployment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov authored May 5, 2020
1 parent e798842 commit 0e99a0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/Cube.js-Backend/Deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ If `REDIS_URL` is provided Cube.js will create Redis pool with 2 min and 1000 ma
No pool behavior with each connection created on demand can be achieved with `CUBEJS_REDIS_POOL_MAX=0` setting.

If your `CUBEJS_REDIS_POOL_MAX` too low you may see `TimeoutError: ResourceRequest timed out` errors.
As rule of a thumb you need to have `Queue Size * Number of Cube.js server instances * Number of tenants` concurrent connections to ensure best performance possible.
As a rule of a thumb you need to have `Queue Size * Number of tenants` concurrent connections to ensure best performance possible.
If you use clustered deployments please make sure you have enough connections for all Cube.js server instances.
Lower number of connections still can work however Redis becomes performance bottleneck in this case.

### Running without Redis
Expand Down

0 comments on commit 0e99a0d

Please sign in to comment.