Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deploy services through multiple instances #6932

Open
wangmiao1002 opened this issue Apr 29, 2024 · 5 comments
Open

How to deploy services through multiple instances #6932

wangmiao1002 opened this issue Apr 29, 2024 · 5 comments

Comments

@wangmiao1002
Copy link

wangmiao1002 commented Apr 29, 2024

Hello ,I used this configuration to run multiple pod's redash services:
scheduled_worker
server
adhoc_worker
scheduler
redash_woker
https://github.com/getredash/setup/blob/master/data/compose.yaml
version:10.1.0

When users download large files, the server pod may experience lag and affect usage, I have a few questions that I would like to ask for advice

1.Can I limit the number of download lines for users through configuration?
2.Can we only deploy multiple server pods to achieve high availability?
3.Will the scheduled queries set in the system run multiple times when multiple instances of pods are deployed as mentioned above?

@AndrewChubatiuk
Copy link
Collaborator

hey @wangmiao1002
compose is not good for HA and High Load setup. you can either use helm chart or if still want to deploy on instances, it's better to run server and workers separately. where do you host your setup?

@wangmiao1002
Copy link
Author

wangmiao1002 commented Apr 29, 2024

hey @wangmiao1002 compose is not good for HA and High Load setup. you can either use helm chart or if still want to deploy on instances, it's better to run server and workers separately. where do you host your setup?

Hello, I am currently using Kubernetes. The components deployed by Pod are similar to Helm Chart, but each pod is a singleton. Can multiple server pods be started to achieve Ui's load? @AndrewChubatiuk

@AndrewChubatiuk
Copy link
Collaborator

what do you mean by singleton? each pod contains scheduler, worker and server?

@wangmiao1002
Copy link
Author

what do you mean by singleton? each pod contains scheduler, worker and server?

Only one service was started in a pod, and each service only started one pod. If a service encounters an exception, it will become unavailable

@dspv
Copy link

dspv commented May 13, 2024

I'm making a HA production-grade Redash deployment on AWS with ECS Fargate. I'll post when done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants