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

Store UserSession in dataStorage #35

Open
EvilLord666 opened this issue Oct 2, 2023 · 0 comments
Open

Store UserSession in dataStorage #35

EvilLord666 opened this issue Oct 2, 2023 · 0 comments
Labels
performance Performance raise issues

Comments

@EvilLord666
Copy link
Member

Currently we store quite a big data (UserSession) in a server memory, for 10K online users we could consume a lot of memory (5K10K users=50M bytes, 5K100K users=500M), probably? we should move it in a DataStorage (for Redis yes, for files no).

For Redis this keys must have TTL and must be destroyed by Redis itself, for 100K users 500M is OK, but in future we should consider this issue

@EvilLord666 EvilLord666 added the performance Performance raise issues label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance raise issues
Projects
Status: No status
Development

No branches or pull requests

1 participant