Hacker News new | ask | show | jobs
by paulgb 875 days 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...

1 comments

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.

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.

Plane.dev looks awesome. We will check it out!