3 ms·
Congrats on releasing this! I had a look at the server code. Is the idea that you will just vertically scale up the server to handle the load, or is there a me
by paulgb 3y ago
Congrats on releasing this!
I had a look at the server code. Is the idea that you will just vertically scale up the server to handle the load, or is there a mechanism for scaling out horizontally?
[1] https://github.com/quadratichq/quadratic/blob/main/quadratic-multiplayer/src/server.rs https://github.com/quadratichq/quadratic/blob/main/quadratic...
- davidkircos 3y agoThe `quadratic-multiplayer` service is designed to be scaled vertically. Once we hit that limit, we will need to come up with a way to route traffic to servers based on what file a user is accessing and what server is hosting that room. Every other service can be scaled horizontally today. However, the Rust services are very efficient at processing traffic, and a single node can handle significant usage.
- paulgb 3y agoGotcha, makes sense. I've heard stories of vertical scaling going a *long* way for multiplayer servers if they’re essentially relaying messages. > we will need to come up with a way to route traffic to servers based on what file a user is accessing and what server is hosting that room Shameless plug, but you might like https://plane.dev https://plane.dev for this.
- davidkircos 3y agoPlane.dev looks awesome. We will check it out!