Re:Quadratic – Open-Source Spreadsheet Is Now Multiplayer
by davidkircos on Thursday February 01, 2024 @12:19PM
(#39218437)
The `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.
Re:Quadratic – Open-Source Spreadsheet Is Now Multiplayer
by paulgb on Thursday February 01, 2024 @12:24PM
(#39218511)
Gotcha, 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 for this.
Re:Quadratic – Open-Source Spreadsheet Is Now Multiplayer
by davidkircos on Thursday February 01, 2024 @12:33PM
(#39218633)
Plane.dev looks awesome. We will check it out!
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...