-
Hello all. I'm currently evaluating Colyseus for a new project and I have some questions about how it's intended to be scaled. I read the Scalability page in the documentation and maybe I'm missing something but it feels a little thin. I have a few questions for anyone that has experience scaling Colyseus or at least understands how it's meant to work at some level.
Thanks in advance for any answers or even just providing hints about other places to look for more information. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @cort1c, I'm glad you're considering Colyseus for your next project! There is some relevant information on how to configure scalability on this thread, with participation from @joshestein @bwasia and @zack1991 Let me go over your questions, I agree current documentation is not great, an extended version of this needs to be documented there soon (I've been quite busy preparing updates for Colyseus Cloud lately 🙈...)
Not really. In short, match-making requests may arrive at any process. The match-making response contains a
The client connections are distributed to the correct Node.js process where the room you're requesting lives at. It is important to have the
The
Yes, but the framework does not currently provide a way for you to manually tell which server to use. New rooms are always created in the process with the least amount of rooms. Let me know if you have any questions or need me to clarify any of this. (@joshestein @bwasia @zack1991 please feel free to collaborate on the discussion if you'd like to 🤗) |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the information. That was incredibly helpful and pretty much answered all of my questions. Sorry it took me a couple of days to circle back and read your post. :) |
Beta Was this translation helpful? Give feedback.
Hi @cort1c, I'm glad you're considering Colyseus for your next project!
There is some relevant information on how to configure scalability on this thread, with participation from @joshestein @bwasia and @zack1991
Let me go over your questions, I agree current documentation is not great, an extended version of this needs to be documented there soon (I've been quite busy preparing updates for Colyseus Cloud lately 🙈...)
Not really. In short, match-making requests may arrive at any process. The match-making response contains a
roomId