To help you deploy LiveKit for supporting 30 concurrent users, each in a room with an AI agent, here are some friendly recommendations for the specifications:
•
Memory and CPU: It’s best to have 4 cores and 8GB RAM per worker. Each worker can manage between 10-25 concurrent jobs depending on the components you use. Specifically for voice AI agents, 4 cores can comfortably handle up to 25 voice agents.
•
Storage: Since workers are stateless, they don’t require persistent storage. The Docker image is quite minimal, around 1GB, and having about 10GB of ephemeral storage is a good idea for the Docker image and temporary files.
•
Additional Considerations: Workers communicate through WebSocket and don’t need to be exposed to the public internet. Also, it’s important to allow a grace period of 10+ minutes for voice agents so conversations can finish smoothly.
With all this in mind, you’ll likely want at least two workers to comfortably support 30 concurrent users with AI agents. If you have any questions or need more help, please don’t hesitate to reach out—I’m here to assist you!
Sources:
Deploying to custom environments | LiveKit Docs |
Deployment and scaling | LiveKit Docs