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

segfetcher: do recursive request in parallel #3836

Merged
merged 2 commits into from
Jul 15, 2020

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Jul 15, 2020

The destination provider might itself fetch segments and thus might take
quite some time. We should not let the first request block other
requests. Therefore execute the dst provider also in the request go
routine.

This should improve stability of the new path lookup.

Also create separate spans for each request so that it becomes easier to
debug what is going on.


This change is Reviewable

The destination provider might itself fetch segments and thus might take
quite some time. We should not let the first request block other
requests. Therefore execute the dst provider also in the request go
routine.

This should improve stability of the new path lookup.

Also create separate spans for each request so that it becomes easier to
debug what is going on.
@lukedirtwalker lukedirtwalker requested a review from oncilla July 15, 2020 13:10
Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker merged commit 939d038 into scionproto:master Jul 15, 2020
@lukedirtwalker lukedirtwalker deleted the fixrequester branch July 15, 2020 13:40
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