How to improve redash’s concurrency

Issue Summary

A summary of the issue and the browser/OS environment in which it occurs.

Technical details:

I found that when new users first logged into redash, it took a long time to load。

When multiple users use redash concurrently, some users get stuck and take a long time to respond, and at this point, redash will be unable to process the login request.

I believe that redash itself has excellent concurrent processing power. Maybe I didn’t set it up properly.
The following is my configuration in the docker-compose.yml file
REDASH_CELERY_WORKER_PREFETCH_MULTIPLIER: 50
REDASH_WEB_WORKERS: 10
WORKERS_COUNT: 10

I am eager for the guidance , and any advice would be greatly appreciated

  • Redash Version: v8.0.2
  • Browser/OS:chrome / Centos7
  • How did you install Redash:Docker

Do your server logs show what’s causing the slowness? There isn’t enough information here for us to know what the problem is.

Thanks Jesse!@Jesse

I was looking at the Redash source code, browsing our forums and Github today, I realized that I made a stupid mistake by deploying the development environment in production.

1 Like