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

allow for serving of stale balances with a last updated timestamp #910

Open
maikelmclauflin opened this issue Jul 9, 2020 · 0 comments
Open

Comments

@maikelmclauflin
Copy link
Contributor

recent crashes have reminded us why we had a balance materialized view in the first place. solution may instead be to provide the user with an option to see a more up to date balance in they deem it too out of sync. this would reduce load on services and provide faster response times if an already computed balances was available.

in order to do this well, the following are proposed:

  1. create snapshots daily so that balances do not get too out of sync
  2. create another endpoint for publishers to request most recent balance snapshot be recomputed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant