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

flow control: side stream flow control part 2 #35077

Merged
merged 17 commits into from
Jul 25, 2024
Merged

Conversation

tyxia
Copy link
Member

@tyxia tyxia commented Jul 6, 2024

  • Deprecated and replaced the DecoderFilterWatermarkCallbacks that was introduced PR with SidestreamWatermarkCallbacks in this PR so that both encoder and decode filter callbacks can be registered
  • Implements sidestream push back on upstream

Risk Level: Low, existing runtime guard
Testing: integration test and unit test
Docs Changes: N/A. a design doc in draft https://docs.google.com/document/d/1fwISI5wKQe6H3EOuaDLrAAgPU8Hq3KXaxJG0pm3vu-4/edit#heading=h.xgjl2srtytjt and will add it to envoy flow control doc in the end or at least when full flow control is approved.
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: tyxia <tyxia@google.com>
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #35077 was opened by tyxia.

see: more, trace.

tyxia added 3 commits July 6, 2024 16:14
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
envoy/http/async_client.h Outdated Show resolved Hide resolved
source/common/http/async_client_utility.h Outdated Show resolved Hide resolved
Copy link
Contributor

@yanavlasov yanavlasov left a comment

Choose a reason for hiding this comment

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

/wait-any

envoy/http/async_client.h Show resolved Hide resolved
@tyxia tyxia changed the title WIP flow control: side stream flow control part 2 Jul 9, 2024
@tyxia
Copy link
Member Author

tyxia commented Jul 9, 2024

/wait-any

Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
@tyxia tyxia marked this pull request as ready for review July 15, 2024 18:14
@KBaichoo
Copy link
Contributor

PTAL @yanavlasov

Signed-off-by: tyxia <tyxia@google.com>
tyxia added a commit that referenced this pull request Jul 23, 2024
Commit Message: This PR is split from
#35077. The change is
specifically needed for ext_proc's observability mode where the stream
is deferred closed upon filter destruction (i.e., stream outlives the
filter object)

Risk Level: Low, existing runtime guard and observability mode only
Testing: e2e test and load test
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

---------

Signed-off-by: tyxia <tyxia@google.com>
…control_2

Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: tyxia <tyxia@google.com>
@tyxia
Copy link
Member Author

tyxia commented Jul 25, 2024

I just synced with @yanavlasov in offline discussion. He is ok with proceeding with this PR.

Merging...

@tyxia tyxia merged commit 3ab83ee into envoyproxy:main Jul 25, 2024
51 checks passed
@tyxia tyxia deleted the flow_control_2 branch July 25, 2024 15:30
martinduke pushed a commit to martinduke/envoy that referenced this pull request Aug 8, 2024
Commit Message: This PR is split from
envoyproxy#35077. The change is
specifically needed for ext_proc's observability mode where the stream
is deferred closed upon filter destruction (i.e., stream outlives the
filter object)

Risk Level: Low, existing runtime guard and observability mode only
Testing: e2e test and load test
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

---------

Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: Martin Duke <martin.h.duke@gmail.com>
martinduke pushed a commit to martinduke/envoy that referenced this pull request Aug 8, 2024
- Deprecated and replaced the `DecoderFilterWatermarkCallbacks` that was
introduced [PR](envoyproxy#25207) with
`SidestreamWatermarkCallbacks` in this PR so that both encoder and
decode filter callbacks can be registered
- Implements sidestream push back on upstream

Risk Level: Low, existing runtime guard
Testing: integration test and unit test
Docs Changes: N/A. a design doc in draft
https://docs.google.com/document/d/1fwISI5wKQe6H3EOuaDLrAAgPU8Hq3KXaxJG0pm3vu-4/edit#heading=h.xgjl2srtytjt
and will add it to envoy flow control doc in the end or at least when
full flow control is approved.
Release Notes: N/A
Platform Specific Features: N/A

---------

Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: Martin Duke <martin.h.duke@gmail.com>
asingh-g pushed a commit to asingh-g/envoy that referenced this pull request Aug 20, 2024
Commit Message: This PR is split from
envoyproxy#35077. The change is
specifically needed for ext_proc's observability mode where the stream
is deferred closed upon filter destruction (i.e., stream outlives the
filter object)

Risk Level: Low, existing runtime guard and observability mode only
Testing: e2e test and load test
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

---------

Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: asingh-g <abhisinghx@google.com>
asingh-g pushed a commit to asingh-g/envoy that referenced this pull request Aug 20, 2024
- Deprecated and replaced the `DecoderFilterWatermarkCallbacks` that was
introduced [PR](envoyproxy#25207) with
`SidestreamWatermarkCallbacks` in this PR so that both encoder and
decode filter callbacks can be registered
- Implements sidestream push back on upstream

Risk Level: Low, existing runtime guard
Testing: integration test and unit test
Docs Changes: N/A. a design doc in draft
https://docs.google.com/document/d/1fwISI5wKQe6H3EOuaDLrAAgPU8Hq3KXaxJG0pm3vu-4/edit#heading=h.xgjl2srtytjt
and will add it to envoy flow control doc in the end or at least when
full flow control is approved.
Release Notes: N/A
Platform Specific Features: N/A

---------

Signed-off-by: tyxia <tyxia@google.com>
Signed-off-by: asingh-g <abhisinghx@google.com>
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.

4 participants