官术网_书友最值得收藏!

Sizing – choosing the right machine to do the job

Sizing is based on the number of concurrent users and the number of concurrent queries that you have. For <10 concurrent users and <100 active queries, a tiny machine that has a dual core, 2 GB memory should be enough.

On the other hand, if you have 50-100 concurrent users and 1,000 active queries, you will need at least 16-32 GB RAM and a quad-core CPU.

In addition to the Redash app, you will also need Postgres, Redis, and Celery.
  • Redis - Memory intensive 
  • Postgres - CPU and memory
  • Celery - CPU and memory (the more workers you have, the more CPU you need. If workers won't keep up and build up a queue, it starts to consume memory)

If you're hosted in the cloud, you can always start with a smaller machine and expand if needed. The same goes for deploying Redash inside a VM in your own data center.

As a good starting point, you can use the following instance types on GCE/AWS:

  • On AWSt2.medium (2 vCPU, 4 GB RAM)
  • On GCEn1-standard-1/ n1-standard-2 (1/2 vCPU and 4/8 GB RAM accordingly) 

For more intensive usage:

  • On AWS: m4.2xlarge/m5.2xlarge (both with 8vCPU, 32 GB RAM)
  • On GCEn1-standard-8 (8vCPU, 32 RAM)
主站蜘蛛池模板: 禄丰县| 汤阴县| 中超| 怀仁县| 黄骅市| 金沙县| 团风县| 东城区| 安陆市| 巍山| 凯里市| 甘南县| 云阳县| 达拉特旗| 德江县| 通道| 陵水| 磴口县| 景德镇市| 大英县| 连州市| 崇州市| 长葛市| 泗洪县| 江达县| 内江市| 滕州市| 阜城县| 库伦旗| 永靖县| 广水市| 密山市| 白河县| 凤山县| 安庆市| 谢通门县| 老河口市| 报价| 永丰县| 安溪县| 水富县|