Expand Sync Statistics
See original GitHub issueIntroduction
We are looking to expand the sync statistics for the Aion Kernel to produce a more comprehensive set that helps users and developers better monitor the Kernel.
Current situation
The feature set described below is missing from the current Aion implementation.
Task Description
We’re asking for contributors to modify the class SyncStats.java to expand the sync statistics gathered and printed in the logs.
The functionality to be added is:
- The percentage of requests made to each peer with respect to the total number of requests made.
- A list of peers ordered by the total number of blocks received from each peer used to determine who is providing the majority of blocks, i.e. top seeds.
- A list of peers ordered by the total number of blocks requested by each peer used to determine who is requesting the majority of blocks, i.e. top leeches.
- Average response time between sending blocks out and that peer responding shown for each peer and averaged for all peers.
- Unit tests showing correct functionality and full coverage of the methods added to SyncStats class to provide the above-mentioned functionality additions.
Acceptance Criteria
- The code implements the targets described above.
- The code is well documented and fully covered by unit tests.
- The code is compliant with Aion’s code conventions.
- The code gets merged into the main code repository.
Required Skill
Participants need to have experience in Java software development, debugging and have basic knowledge about blockchain systems.
Guidance
Details regarding this issue can be requested in comments. Further technical support is available through Gitter.
Issue Analytics
- State:
- Created 5 years ago
- Comments:25 (17 by maintainers)
Top Results From Across the Web
What Is Data Synchronization and Why Is It Important? - Talend
Data synchronization is the ongoing process of synchronizing data between two or more devices and updating changes automatically between them to maintain ...
Read more >Improve the speed of Sync - AppSheet Help
Choose an efficient data provider; Reduce the amount of data transferred during Sync; Reduce the amount of computation (for spreadsheet formulas and virtual ......
Read more >General limits when using Sync
Sync does not limit the amount of data you can upload or download, provided that you have not exceeded the total storage space...
Read more >How can I improve data transfer/sync speed?
Tuning up one or several things mentioned below may help you increase the speed of synchronisation. 1. Direct connection. One of the most...
Read more >Increase Efficiency Going Offline and Syncing in Collector - Esri
As a map author, you can make sync operations more efficient in Collector by putting only the data mobile workers need on their...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you. The token swap was successful. In case you need help with the stats log formatting, let me know. I’m happy to help.
Hey @santteegt, thanks for your contribution - your payout has been processed! I just want to note that the payment was in AION ERC-20, however, we are currently in the process of a token swap to the native AION Coin so there will be limited support for the ERC-20 token. The swap’s deadline is November 30, so I would highly encourage you to perform the swap. Here are the instructions: https://docs.aion.network/docs/swap-overview
Best, Karim