Replies: 1 comment
-
Hi @ZuSe — Welcome, interesting — I'm going to move this to a discussion — that's more appropriate than an issue. Don't have immediate answers 😬 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
the official docs do provide an good example how to deploy daphne to a BM or VPS, using the combination of supervisor + nginx. However, I personally would consider this to be too heavy for a typical kubernetes deployment, especially considering the fact that many clusters ship with very convenient LB / Ingress support.
For that reason I would like to start a more general discussion on how a smart setup for k8s could look like and what experience people made so far. Eventually it should result in a example / best practice guide to be added to the docs.
So open questions from my side would be.
Just to share our experience.
For now we are spawning one single daphne process per pod, serving up to 250 rq/s without any major performance issues.
However I am not sure if for larger scale scenarios multiple processes would be beneficial. According to OVH most k8s-nodes are quad-core or higher, i think it's similar on other providers.
Happy to discuss
Best
Patrick
Beta Was this translation helpful? Give feedback.
All reactions