Skip to content

Fair queuing for request aggregator#4598

Merged
pwojcikdev merged 12 commits intonanocurrency:developfrom
pwojcikdev:fair-queuing/request-aggregator-3
May 8, 2024
Merged

Fair queuing for request aggregator#4598
pwojcikdev merged 12 commits intonanocurrency:developfrom
pwojcikdev:fair-queuing/request-aggregator-3

Conversation

@pwojcikdev
Copy link
Copy Markdown
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
@qwahzi qwahzi added this to the V27 milestone May 5, 2024
# Conflicts:
#	nano/node/nodeconfig.hpp
pwojcikdev added 4 commits May 7, 2024 10:53
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged / V27.0

Development

Successfully merging this pull request may close these issues.

3 participants