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

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)
主站蜘蛛池模板: 北辰区| 当阳市| 敦煌市| 民丰县| 大余县| 当阳市| 枣强县| 杨浦区| 开化县| 吴桥县| 福贡县| 随州市| 乌海市| 江口县| 万州区| 东海县| 新晃| 吴川市| 阿尔山市| 谢通门县| 夏河县| 安化县| 余姚市| 彰化市| 浙江省| 南郑县| 聊城市| 唐海县| 卫辉市| 延安市| 兴隆县| 镇赉县| 郸城县| 永善县| 晋江市| 明光市| 桐柏县| 宣恩县| 韶山市| 伊春市| 桐庐县|