Preventing Multiple Room Instances with joinOrCreate Under High Load #813
Unanswered
hongha1412
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm currently implementing Colyseus for my game server and facing an issue with the joinOrCreate method. During high load moments, it seems that multiple calls to joinOrCreate at the same time can result in the creation of more than one room instance. I want to ensure that only one instance of a room is created.
Here's a brief overview of my setup:
Problem: When multiple clients attempt to join or create a room simultaneously, it sometimes results in multiple instances of the same room being created.
Question: Is there a way to ensure that only one instance of a room is created when using joinOrCreate under high load conditions?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions