Skip to content

Coprocessors: Discard content-length sent by coprocessors.#3802

Merged
o0Ignition0o merged 8 commits intodevfrom
igni/coprocessors_discard_content_length
Sep 13, 2023
Merged

Coprocessors: Discard content-length sent by coprocessors.#3802
o0Ignition0o merged 8 commits intodevfrom
igni/coprocessors_discard_content_length

Conversation

@o0Ignition0o
Copy link
Copy Markdown
Contributor

ControlFlow::Break in coprocessors would lead to all response headers being directly forwarded back to the router, which would lead to content-length missmatch. This changeset discards content-length sent by the coprocessor.

ControlFlow::Break in coprocessors would lead to all response headers being directly forwarded back to the router, which would lead to content-length missmatch.
This changeset discards content-length sent by the coprocessor.
@github-actions

This comment has been minimized.

@router-perf
Copy link
Copy Markdown

router-perf Bot commented Sep 11, 2023

CI performance tests

  • step - Basic stress test that steps up the number of users over time
  • events_without_dedup - Stress test for events with a lot of users and deduplication DISABLED
  • xlarge-request - Stress test with 10 MB request payload
  • xxlarge-request - Stress test with 100 MB request payload
  • events_big_cap_high_rate - Stress test for events with a lot of users, deduplication enabled and high rate event with a big queue capacity
  • const - Basic stress test that runs with a constant number of users
  • reload - Reload test over a long period of time at a constant rate of users
  • large-request - Stress test with a 1 MB request payload
  • events - Stress test for events with a lot of users and deduplication ENABLED
  • step-jemalloc-tuning - Clone of the basic stress test for jemalloc tuning
  • no-graphos - Basic stress test, no GraphOS.

@o0Ignition0o o0Ignition0o marked this pull request as ready for review September 11, 2023 14:56
@o0Ignition0o o0Ignition0o requested a review from a team as a code owner September 11, 2023 14:56
Comment thread apollo-router/src/plugins/coprocessor.rs Outdated
Copy link
Copy Markdown
Contributor

@bnjjj bnjjj left a comment

Choose a reason for hiding this comment

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

Small nits in the changelog

Comment thread .changesets/fix_igni_coprocessors_discard_content_length.md Outdated
Comment thread .changesets/fix_igni_coprocessors_discard_content_length.md Outdated
Copy link
Copy Markdown
Contributor

@garypen garypen left a comment

Choose a reason for hiding this comment

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

Maybe a bit neater to just filter out the content length.

Comment thread apollo-router/src/plugins/coprocessor.rs Outdated
@o0Ignition0o o0Ignition0o enabled auto-merge (squash) September 13, 2023 07:59
@o0Ignition0o o0Ignition0o merged commit 6648315 into dev Sep 13, 2023
@o0Ignition0o o0Ignition0o deleted the igni/coprocessors_discard_content_length branch September 13, 2023 08:52
@lrlna lrlna mentioned this pull request Sep 27, 2023
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.

3 participants