Bounty program is to help the community take part in the development of the Harmony blockchain. It covers from core feature to validator tooling, from dApp development to DeFi integration.
MIT License
59
stars
23
forks
source link
Explorer Database Investigation and Scalability #128
Analyse and suggest restructure of explorer database
Context
Explorer had scalability issues which caused it to use a large amount of resources. Harmony engaged with Russel to analyse the database structure and provide some recommendations to improve the scalability.
The following tasks were performed:
Restructure the schema to direct the references using numeric keys than string. (20 hours)
Restructure indices as per the changes in schema (20 hours)
Analyse queries to avoid string searches, traverse each operations via numeric keys. Same goes with updates. (10 hours)
Scripts to migrate data to local, data export and import (16 hours)
Apply changes and analyse cost. (16 hours)
Review and revise the changes. (8 hours)
Achieved 20% gain in query speeds in a 1 million disparate datasets ( unrelated) (10 hours)
Acceptance Criteria
[ ] Restructure the schema to direct the references using numeric keys than string. (20 hours)
[ ] Restructure indices as per the changes in schema (20 hours)
[ ] Analyse queries to avoid string searches, traverse each operations via numeric keys. Same goes with updates. (10 hours)
[ ] Scripts to migrate data to local, data export and import (16 hours)
[ ] Apply changes and analyse cost. (16 hours)
[ ] Review and revise the changes. (8 hours)
[ ] Achieved 20% gain in query speeds in a 1 million disparate datasets ( unrelated) (10 hours)
Reward
@sophoah as discussed here is the bounty for the work that was done by Russel. Please review
Description
Analyse and suggest restructure of explorer database
Context
Explorer had scalability issues which caused it to use a large amount of resources. Harmony engaged with Russel to analyse the database structure and provide some recommendations to improve the scalability. The following tasks were performed:
Acceptance Criteria
Reward
@sophoah as discussed here is the bounty for the work that was done by Russel. Please review