Skip to content

More vote cache optimizations#4629

Merged
pwojcikdev merged 8 commits intonanocurrency:developfrom
pwojcikdev:vote-cache-fixing-2
May 19, 2024
Merged

More vote cache optimizations#4629
pwojcikdev merged 8 commits intonanocurrency:developfrom
pwojcikdev:vote-cache-fixing-2

Conversation

@pwojcikdev
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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.

4 participants