Skip to content
by Unity Nodes
Fellowships

[Report] Stats.gallery development Jan 1 - 31

1 posts152 views1 likesLast activity Jan 2022

  1. BexanderthebexOP 1

    Project title: Stats.gallery

    Project Summary: Provides usable stats/insights for NEAR ecosystem users in a gamified way

    Period: Jan 1 - 31

    The following are the results done:

    • Integrated leaderboard endpoints to the frontend namely weekly top nfts, weekly top dapps, and weekly top active

    • Continously monitored and scaled the cloud resources of stats.gallery based on the traffic/demand
    • Scaled the query that processed weekly top nft leaderboard from processing ~2M records to process ~15M records as the number of transactions in the near network grew:
    github.com/NEAR-Edu/stats.gallery-server

    Fix statement timeout when running top nft queries

    opened 02:35AM - 29 Jan 22 UTC
    closed 07:39AM - 29 Jan 22 UTC

    When this statement is ran ``` sql explain analyze select receipt_receiver…

    • Updated node.js version from 14 to 16 for better security and feature support
    • Updated dockerfile environments to eliminate errors and warnings for better developer experience and attract more developers to the project
    • Database schema updates in order to support the upcoming sponsored badges
    • Ideation and implementation of backfilling user badges into the database in order for us to speed up the queries that analyze user eligibility for badges and also help us expand to add more badges
    • Implemented the backfilling mechanism for “One-of-a-kind” badge that will serve as the basis for the upcoming backfilling of user badges.
    • Bug fix for solving ordering guarantees when saving on chain transactions to stats.gallery database