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

Refactors the leaderboard job to be performant #8755

Merged
merged 4 commits into from
Apr 8, 2021

Conversation

owocki
Copy link
Contributor

@owocki owocki commented Apr 7, 2021

Description

Refactors the leaderboard job to be performant by leveraging the database to compute the data (instead of doing it in memory).

for now, this refactor supports earners, payers, orgs, and token_names, in the future this could be extended to support

  • cities
  • countries
  • continents
  • kudos
  • programming languages
Refers/Fixes

https://gitcoincore.slack.com/archives/CAXQ7PT60/p1617764681082700

Testing

tested locally

@owocki owocki changed the base branch from master to stable April 7, 2021 22:25
@thelostone-mc thelostone-mc changed the base branch from stable to master April 8, 2021 09:21
@thelostone-mc thelostone-mc merged commit 6861cff into master Apr 8, 2021
iRhonin pushed a commit to iRhonin/web that referenced this pull request Apr 23, 2021
* starts fixing the leaderboard

* fixes this

* iterates through query

* fixes what were indexing on
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

Successfully merging this pull request may close these issues.

None yet

2 participants