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

Switch data loading rt system to websocket based #36

Open
kylerchin opened this issue Jan 27, 2025 · 6 comments
Open

Switch data loading rt system to websocket based #36

kylerchin opened this issue Jan 27, 2025 · 6 comments
Assignees

Comments

@kylerchin
Copy link
Member

https://discord.com/blog/how-discord-scaled-elixir-to-5-000-000-concurrent-users

@kylerchin kylerchin converted this from a draft issue Jan 27, 2025
@kylerchin kylerchin changed the title Switch data loading system to websocket based Switch data loading rt system to websocket based Jan 27, 2025
@kylerchin
Copy link
Member Author

@kylerchin
Copy link
Member Author

Image

The vast majority of queries are empty.

@kylerchin
Copy link
Member Author

Perhaps the user can update its list of chateaus and the backend can hold the state?

@kylerchin
Copy link
Member Author

Engineering a system similar to discord's using pub sub would work fairly well. Don't load new data if it doesn't exist.

@kylerchin
Copy link
Member Author

A major problem I'm facing is how to standardise encoding and decoding.

@kylerchin
Copy link
Member Author

Websocket doesn't compress or decompress for you.

@kylerchin kylerchin self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant