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

Count number of messages received by sender peer ID #19

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

masih
Copy link
Member

@masih masih commented Mar 27, 2023

In order to rank peers in terms of "usefulness" count the number of messages received by sender peer ID. The implementation uses prometheus metrics to do this since there are a handful of recipients from which messages are received. As the number of recipients increase, alternatives should be considered such as a dedicated HTTP ranking API.

Fixes #17

In order to rank peers in terms of "usefulness" count the number of
messages received by sender peer ID. The implementation uses prometheus
metrics to do this since there are a handful of recipients from which
messages are received. As the number of recipients increase,
alternatives should be considered such as a dedicated HTTP ranking API.

Fixes #17
@masih masih requested a review from willscott March 27, 2023 13:46
@masih masih merged commit 224caa8 into main Mar 27, 2023
@masih masih deleted the masih/sender_ranking branch March 27, 2023 14:59
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.

Observability of contributing providers
2 participants