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

API for filplus team to pull the retrieval bot data #25

Open
Tracked by #17
xinaxu opened this issue Aug 25, 2023 · 3 comments
Open
Tracked by #17

API for filplus team to pull the retrieval bot data #25

xinaxu opened this issue Aug 25, 2023 · 3 comments

Comments

@xinaxu
Copy link
Contributor

xinaxu commented Aug 25, 2023

https://filecoinproject.slack.com/archives/C05NRCURT6K/p1692957100158189

Use or create a new materialized view for this purpose

@xinaxu xinaxu changed the title Standup a new API for filplus team to pull the retrieval bot data API for filplus team to pull the retrieval bot data Aug 25, 2023
@xmcai2016
Copy link

I am not able to see the slack message for some reason, (these messages expire after a while)
could you paste the text in the description here or summarize what is needed here / timeline? @xinaxu
Fil+ team should be encouraged to directly consume from Polybase and write their own logic to make sense of the data.

@xinaxu
Copy link
Contributor Author

xinaxu commented Sep 19, 2023

From Catalin Bara: So to sum things up, we want to persist daily data in our db and build the cumulative info ourseleves. We can work with an api that returns data in the current AWS api format, we just need to know when we run the cron job that fetches new data, how far in the past we should look to get final data.

@xinaxu
Copy link
Contributor Author

xinaxu commented Sep 19, 2023

The current API is not efficient as each request is a mongo aggregation query. The ask is to use a materialized view to reduce the db load

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🍇 Backlog
Development

No branches or pull requests

2 participants