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

Redesign pool_info_cache to not use triggers #220

Open
rdlrt opened this issue Jul 26, 2023 · 0 comments
Open

Redesign pool_info_cache to not use triggers #220

rdlrt opened this issue Jul 26, 2023 · 0 comments
Labels
backend-optimisation Only impacts backend, compatible within a release
Milestone

Comments

@rdlrt
Copy link
Contributor

rdlrt commented Jul 26, 2023

See if we can do without triggers for pool_info_cache , as there can be edge cases (if not using insert/delete).

Alternatively, we can leave triggers as-is , but remove any pool_retire entries from pool_info_cache and add them to specific endpoints that currently rely on pool_info_cache.

A sub-item of fixing this issue also includes updating pool_updates endpoint to change the behaviour of pool_update => pool_status to show status from the specific transaction, rather than current - allowing appropriate maintain of historical information

@rdlrt rdlrt moved this to Todo in Koios Project Jul 26, 2023
@rdlrt rdlrt moved this from Todo to Next Up in Koios Project Jul 26, 2023
@rdlrt rdlrt added the queries label Aug 2, 2023
@rdlrt rdlrt added backend-optimisation Only impacts backend, compatible within a release and removed queries labels Oct 2, 2023
@rdlrt rdlrt added this to the Koios vNext milestone Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend-optimisation Only impacts backend, compatible within a release
Projects
Status: Next Up
Development

No branches or pull requests

1 participant