How long should create room take? It often seems a...
# ask-ai
c
How long should create room take? It often seems about 15 seconds and causes knock on api issues.
t
Thanks for reaching out, Nick. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I understand that the
CreateRoom()
API in LiveKit might sometimes take a bit longer than expected, especially in multi-region setups. This happens because the system is working hard behind the scenes to sync everything across regions and keep the room state consistent. While the exact timing can vary, you might notice some latency. To help things run more smoothly, a good tip is to skip making explicit
CreateRoom()
calls. Instead, you can let rooms be created automatically when the first participant joins with a valid token. This way, you avoid that extra API call and the delay that comes with it. If you have any specific needs or if there's anything else you'd like to chat about, please feel free to reach out—I’m here to help! Sources: CreateRoom() is Taking Too Long