Replies: 1 comment 2 replies
-
Taskiq doesn't have any preferences in how you run it. So, it's up to you to decide. However, deploying multiple pods, using replicaset might be a better solution, because it allows you to build HPAs that scale workers, depending on the number of messages in queue or based on some other related metric. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As example, in case of FastAPI it is recommended to quit from using gunicorn to run multiple processes in image and use just uvicorn with one processes, but using replicaset.
What is preferable for taskiq?
a) deploy one worker image with XX child processes
b) deploy XX workers images using replicaset with just one child processes in each.
Beta Was this translation helpful? Give feedback.
All reactions