Skip to content

Reduce number of ROUTE requests when routing table is stale (#1119) #1121

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

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Aug 3, 2023

The driver was starting a rediscovery process of each acquireConnection causing more load than needed in the cluster. Keeping track of the ongoing requests and use it when possible reduces the load in the process and speeds up the connection acquisition.

Backports #1119

Copy link
Member

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

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

📸 🖨️

…1119)

The driver was starting a rediscovery process of each acquireConnection causing more load than needed in the cluster. Keeping track of the ongoing requests and use it when possible reduces the load in the process and speeds up the connection acquisition.

Co-authored-by: Robsdedude <dev@rouvenbauer.de>
@bigmontz bigmontz force-pushed the 4.4-route-message-requests branch from 32ac207 to fcf08e7 Compare August 3, 2023 16:11
@bigmontz bigmontz merged commit 6b8a899 into neo4j:4.4 Aug 4, 2023
@bigmontz bigmontz deleted the 4.4-route-message-requests branch August 4, 2023 07:55
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.

2 participants