-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext_proc: remove unnecessary watermark (#36468)
Commit Message: `StopIterationAndWatermark` will raise the watermark when buffered data exceeds the limits, the `requestWatermark` here is redundant and it will also introduce unnecessary stall of Envoy processing and overhead of raise and clear watermark possibly for small bodies Risk Level: LOW Testing: 1.Passed all functional tests (unit test and integration test) 2.This PR performs slightly better in load test. ``` 4KB request body: Without this PR: Memory 183.29MB; Latency P99 : 2716 With this PR: Memory: 160.17MB; Latency P99: 2624 64KB request body: Without this PR: Memory 178.49MB; Latency P99 : 3512 With this PR: Memory: 172.70MB; Latency P99: 3505 ``` Signed-off-by: tyxia <[email protected]>
- Loading branch information
Showing
3 changed files
with
4 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters