Skip to content
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

feat!(requestmanager): remove request allocation backpressure #272

Merged
merged 3 commits into from
Nov 19, 2021

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Nov 17, 2021

Closes: #241
Ref: 9171ce6

  • Remove top level options for configuring allocation backpressure on the Requestor side
  • Remove allocation backpressure from impl graphsync sync receiver
  • Remove allocation backpressure calls from RequestManager
  • Remove allocation backpressure calls from AsyncLoader
  • Remove allocation backpressure test for impl

@rvagg
Copy link
Member Author

rvagg commented Nov 17, 2021

@hannahhoward can you take a look please, two unticked items above from your original list - I'm not sure I see any backpressure use within the requestmanager itself, it seems to be in the graphsync receiver and the asyncloader only. Or is there a call somewhere that I should change? I also don't see obvious tests just for request backpressure, and nothing's failing when I remove all the plumbing. Is there anything that comes to mind that I've missed here?

@hannahhoward
Copy link
Collaborator

the good news is your PR is all good.

The bad news is wow the situation with how we were using the allocator on the request side is even worse than I thought :( But at least it's bad news in the past new.

@rvagg rvagg marked this pull request as ready for review November 18, 2021 23:41
@hannahhoward hannahhoward merged commit 623c835 into main Nov 19, 2021
rvagg added a commit that referenced this pull request Nov 30, 2021
* feat!(requestmanager): remove request allocation backpressure

Closes: #241
Ref: 9171ce6

* fixup! feat!(requestmanager): remove request allocation backpressure

Co-authored-by: Hannah Howard <hannah@hannahhoward.net>
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
@rvagg rvagg deleted the rvagg/remove-request-allocation-backpressure branch December 15, 2021 01:05
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.

Remove request allocation backpressure
2 participants