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

deserializeSafeFromHeader uses context.getHeader(headerName) instead of context.getHeaders() #2767

Closed
wants to merge 2 commits into from

Conversation

parasjain1
Copy link
Contributor

Description
Category: Performance Bug Fix

Why these changes are required?
HeaderHelper.deserializeSafeFromHeader is invoked O(segment) times during every search request and introduced a huge overhead. This optimisation has resulted in good gains with respect to search throughput and latency in our experiments.

Issues Resolved

Issues Resolved

Testing

  • Current test suite should pass.

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…ead of `context.getHeaders()`

Signed-off-by: Paras Jain <parasjaz@amazon.com>
@parasjain1 parasjain1 closed this May 12, 2023
@parasjain1 parasjain1 deleted the perf-bug-2757 branch May 12, 2023 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant