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

Remove request deduplication #2730

Merged
merged 2 commits into from
Jun 3, 2019

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented May 31, 2019

It is hard to follow requests with the deduplication enabled
(debug id gets lost and it's not clear how to map multiple debug ids to a single dedupe context.)
Furthermore there is no clear evidence that we even save any time in a current real world deployment of scion.
Once we have clear evidence that deduplication needs to be at a certain location we can always readd it, but then we can do a more informed decision where it is actually needed.


This change is Reviewable

@lukedirtwalker lukedirtwalker changed the title wip delete deduper Remove request deduplication May 31, 2019
@lukedirtwalker lukedirtwalker requested a review from scrye May 31, 2019 14:53
Copy link
Contributor

@scrye scrye 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 14 of 14 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved


go/lib/infra/modules/trust/trust.go, line 175 at r1 (raw file):

func (store *Store) getTRCFromNetwork(ctx context.Context, req *trcRequest) (*trc.TRC, error) {

Extra newline.

Copy link
Collaborator Author

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

Reviewable status: 13 of 14 files reviewed, all discussions resolved (waiting on @scrye)


go/lib/infra/modules/trust/trust.go, line 175 at r1 (raw file):

Previously, scrye (Sergiu Costea) wrote…

Extra newline.

Done.

Copy link
Contributor

@scrye scrye 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

Copy link
Contributor

@scrye scrye left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker merged commit 274593a into scionproto:master Jun 3, 2019
@lukedirtwalker lukedirtwalker deleted the pubRemoveDeduper branch June 3, 2019 10:33
lukedirtwalker added a commit to lukedirtwalker/scion that referenced this pull request Jun 4, 2019
This reverts commit 274593a.

In a more complex environment CI breaks with this commit, so we revert for now.
lukedirtwalker added a commit that referenced this pull request Jun 4, 2019
This reverts commit 274593a.

In a more complex environment CI breaks with this commit, so we revert for now.
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