I am facing this issue in livekit
# server-api
b
I am facing this issue in livekit
t
Did you get past this error, Yethu? If not, could you provide your AgentSession construction code? Are you able to reproduce this easily?
b
Hi @tall-belgium-91876 I've been reviewing the recommended configuration of allocating 8 CPU cores for supporting 25 concurrent users. However, during my deployment on Azure Kubernetes Service (AKS), I encountered latency issues with this setup. Upon increasing the allocation to 24 CPU cores, the latency issues were resolved. Given that the guidance suggests setting the number of workers equal to the CPU count, I'm seeking clarification on the optimal CPU allocation for 25 concurrent users. Could you provide insights into the recommended CPU resources for this scenario? Thank you for your assistance.
t
it varies widely by use case. so it's hard to be able to say definitively what you will need. but, I wouldn't expect you to need 1 CPU per session. Were you seeing large spikes in CPU load when you had 8 CPU?