Is there a way to limit the number of concurrent l...
# ask-ai
a
Is there a way to limit the number of concurrent livekit rooms we allow clients to connect to and add the request to join to a queue? For our early pilot - at some point we cannot keep horizontal scaling due to costs and would prefer to queue folks up to access rooms.
t
Thanks for reaching out, Matt. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Currently, LiveKit does not provide a built-in feature to limit the number of concurrent rooms or to queue requests for joining rooms. However, you could implement a custom solution on your server-side application to manage this. For example, you could track the number of active rooms and enforce limits by rejecting or queuing new room creation or join requests when the limit is reached. If you'd like further guidance on implementing such a solution or have additional questions, feel free to let me know!
👍 1