Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scale to many simulatenous watchers #21

Open
arvid220u opened this issue Dec 26, 2021 · 0 comments
Open

scale to many simulatenous watchers #21

arvid220u opened this issue Dec 26, 2021 · 0 comments

Comments

@arvid220u
Copy link
Owner

arvid220u commented Dec 26, 2021

the server as written now scales super poorly to many watchers.

one super hacky solution which i'm not even sure works would be to live-stream the replay file to youtube/twitch/smth in an encoded format, and then have the frontend hook into the live-stream and decode the video into a json format. this way we can do scaling without getting more servers.

a more boring solution is to actually write a scalable server. probably want to switch away from python then, to go/rust/c++.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant