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

Fair queuing for request aggregator #4598

Merged

Conversation

pwojcikdev
Copy link
Contributor

This implements fair queuing for request aggregator. The benefit is that it removes a small delay that was there due to buffering of requests. This is unnecessary, because client side (confirmation_solicitor class) already bundles requests.
I believe that the principle of client->server communication should be that the server does the least processing possible. If client requests data inefficiently, then it will just receive less data and fewer resources will be spent servicing them.

@pwojcikdev pwojcikdev changed the title Fair queuing/request aggregator 3 Fair queuing for request aggregator May 3, 2024
clemahieu
clemahieu previously approved these changes May 3, 2024
nano/node/request_aggregator.cpp Show resolved Hide resolved
@qwahzi qwahzi added this to the V27 milestone May 5, 2024
# Conflicts:
#	nano/node/nodeconfig.hpp
# Conflicts:
#	nano/node/request_aggregator.cpp
#	nano/node/request_aggregator.hpp
# Conflicts:
#	nano/node/node.cpp
#	nano/node/request_aggregator.cpp
#	nano/node/request_aggregator.hpp
@pwojcikdev pwojcikdev merged commit ccc4e43 into nanocurrency:develop May 8, 2024
23 of 26 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Merged / V27.0
Development

Successfully merging this pull request may close these issues.

3 participants