That’s an interesting question - it’s one thing to run an instance of forgejo for a limited user base and another to run at mass public scale.
How does someplace like a GitHub/Gitlab go it? Are user accounts or repos sharded across different servers? Is there a different underlying scaling system? If one wanted to run Forgejo “at scale” what would it really require, or does this need to be factored into the design from day one?
That approach was mentioned in the Cursor article. If a KV cache like Redis is too slow for that to work with large repositories, I don't see how Postgres could possibly work.
How does someplace like a GitHub/Gitlab go it? Are user accounts or repos sharded across different servers? Is there a different underlying scaling system? If one wanted to run Forgejo “at scale” what would it really require, or does this need to be factored into the design from day one?