Config for High CPU tasks #8633
Unanswered
amarflybot
asked this question in
Help
Replies: 1 comment
-
Hi @amarflybot, I'm not sure exactly what you're asking. Linkerd does not have configuration to limit request concurrency. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Wonderful folks, Did someone ran linkerd for single threaded CPU intensive tasks?
Use Case:
Machine learning inference serving (FastAPI based Python Web Server, using uvicorn with 1 worker).
Config: Request: 2CPU/4GB RAM, Limit: 4CPU/8GB RAM.
No. of Pods: 20
No. of Concurrent User: 20.
Note: on my local machine (mac M1), this takes 400ms,
Observation:
Response Time: 4 secs.
If I use the default kube-proxy the load balancing would not happen, hence I switched to linkerd.
Now the load distribution happens.
How can I reduce the response time?
Is there any config in linkerd-proxy to allow only 1 request at a time?
Beta Was this translation helpful? Give feedback.
All reactions