-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Story] 🦀 Event cache storage #2405
Comments
Why? We get gaps pretty often, what's the goal of this feature?
It has nothing to do with the event cache storage right? It's a sync requirement (which is already present). |
The full issue that describes all the work is matrix-org/matrix-rust-sdk#3280. |
@Hywan we need to discuss this user story and the acceptance criteria when we will be on it. This issue is even not a user story more a tech stories. The Event Cache Storage work can probably be splitted into several user stories.
I would be happy to remove this acceptance criteria. The occurence of the reset depends on the rooms traffic. Legacy SDKs reset the timeline DB in this case. It appeared it was enough in term of UX in legacy apps. Thanks to notifications that regularly make v2
We still have the problem in EX that if all the messages returned by the default sync limit are not displayable, there is no last message in the room list. Legacy apps run |
Right now, the event cache lives in memory, and it handles gaps pretty well. The persistent storage will just be a replica of what we have in memory, nothing fancy will be done here, just a 1:1 mapping. We also want to use the event cache persistent storage to be able to provide search (text, media…). If we reset the storage frequently, we fail to provide these cool features. |
Description
This project is about to make the existing Event Cache API persistent. The event cache exists but it is a in-memory cache. We want it to be a on-disk cache.
Acceptance criteria
Leads
Size estimate
None
Dependencies
Out of scope
Open questions
Questions
Subtasks
Android
iOS
Rust
EventCache
storage matrix-org/matrix-rust-sdk#3280Other
Sign-off
Android
iOS
The text was updated successfully, but these errors were encountered: