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

24 hour eviction #10

Open
okdistribute opened this issue Mar 27, 2023 · 0 comments
Open

24 hour eviction #10

okdistribute opened this issue Mar 27, 2023 · 0 comments
Labels
A-android Area: Android app development A-ios Area: iOS app development

Comments

@okdistribute
Copy link
Collaborator

okdistribute commented Mar 27, 2023

We recommend that customers evict data every 24 hours.

Problem

Today, the apps evict data when the user deletes or hides a room. This is not best practice

Solution

  • Create a process on a timer for eviction once per day. See Alaska Airlines application for an excellent example of this, which every 24 hours checks to see if there is anything worth evicting and then evicts that data from the local store.
  • When a room is removed or hidden, mark related documents in some way that indicates to the process that those documents should be evicted.
@okdistribute okdistribute added A-android Area: Android app development A-ios Area: iOS app development labels Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-android Area: Android app development A-ios Area: iOS app development
Projects
None yet
Development

No branches or pull requests

1 participant