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

  • Redash v5 Quick Start Guide
  • Alexander Leibzon Yael Leibzon
  • 219字
  • 2021-08-13 15:12:10

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)
主站蜘蛛池模板: 平江县| 东光县| 屯留县| 丰都县| 南木林县| 丹巴县| 中西区| 江口县| 弥勒县| 凤山县| 宣城市| 云安县| 吉林省| 彭泽县| 海原县| 开江县| 石屏县| 左权县| 涪陵区| 鄂托克前旗| 英德市| 门头沟区| 获嘉县| 綦江县| 青浦区| 博罗县| 三江| 邢台市| 宝山区| 辉南县| 辽宁省| 慈利县| 眉山市| 合山市| 灌云县| 云霄县| 霸州市| 河津市| 富川| 青阳县| 金沙县|