You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We a planning to run a system with lots of active sessions (100+) for a long period of time and potential problem we found is that we can run out of free space.
Describe the solution you'd like
Two solutions are applicable:
TTL for message in storage. For example TTL=3600 - messages that were received hour ago will be deleted.
API route that clear messages with given filter (created_at_gte e.g.).
Describe alternatives you've considered
Completely removing session and login again. But it'll require whole auth flow checks again. Also there is no clear way to understand if particular session using too much space.
The text was updated successfully, but these errors were encountered:
will be around 30gb by our estimates (around 400 sessions)
That's pretty fine for the number.
Because after few months likely many sessions will get re-paired (due to WhatsApp changes), so it means the sessions won't fully be synced and 30gb nowadays is nothing (compared to dev time and effort)
Unlikely we'll add something like cleanup api soon, but we'll keep eye on it, thank you for the details!
We a planning to run a system with lots of active sessions (100+) for a long period of time and potential problem we found is that we can run out of free space.
Describe the solution you'd like
Two solutions are applicable:
created_at_gte
e.g.).Describe alternatives you've considered
Completely removing session and login again. But it'll require whole auth flow checks again. Also there is no clear way to understand if particular session using too much space.
The text was updated successfully, but these errors were encountered: