Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

More vote cache optimizations #4629

Merged
merged 8 commits into from
May 19, 2024

Conversation

pwojcikdev
Copy link
Contributor

This builds on top of #4627 and optimizes insertion of votes into the vote cache and fixes a significant performance regression in trigger_vote_cache function.

@qwahzi qwahzi added this to the V27 milestone May 18, 2024
Copy link
Contributor

@clemahieu clemahieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comment for vote_router::vote 'filter' parameter as it took me a bit to understand what it's doing.

@gr0vity-dev
Copy link
Contributor

An increase in throughput can be clearly seen with these changes, especially when the 255votes/message feature is turned on as you can see here :
Screenshot 2024-05-19 at 09 56 25

@pwojcikdev pwojcikdev merged commit a7c8b48 into nanocurrency:develop May 19, 2024
21 of 26 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants