Skip to content

Buffer Factory: Add configurability of BufferFactory. #105

Closed
KBaichoo wants to merge 7 commits intoacct-streamsfrom
config-sizes
Closed

Buffer Factory: Add configurability of BufferFactory. #105
KBaichoo wants to merge 7 commits intoacct-streamsfrom
config-sizes

Conversation

@KBaichoo
Copy link
Copy Markdown
Owner

We can now set the minimum account size to track. This will be a PR against upstream once the dependent PR it builds upon is merged.

Signed-off-by: Kevin Baichoo kbaichoo@google.com

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes: TODO
Platform Specific Features:

@KBaichoo
Copy link
Copy Markdown
Owner Author

This builds on top of envoyproxy#17093. Since that's not yet merged I can't make an upstream PR on this, yet. Any initial feedback on this @antoniovicente

@antoniovicente
Copy link
Copy Markdown

envoyproxy#17093 is nearing merge. I recommend you look into some other things like implementation of accounts for H1 and H3 while this PR is blocked on review.

@KBaichoo
Copy link
Copy Markdown
Owner Author

I'm finishing up tests for the final PR which will include the Overload Manager leveraging this mechanisms fully for H2

@antoniovicente
Copy link
Copy Markdown

That sounds great.

phlax and others added 7 commits July 30, 2021 18:35
… there (envoyproxy#17548)

Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
Signed-off-by: Snow Pettersen <snowp@lyft.com>
Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Ulf Adams <ulf@engflow.com>
…ry. (envoyproxy#17093)

This PR tracks memory accounts using >1MB of allocated space, with feedback mechanisms based on credits and debits on accounts. It further creates the handle from which the BufferMemoryAccount can reset the stream, and has the WatermarkBufferFactory also produce the particular BufferMemoryAccountImpl used for tracking.

Risk Level: Medium
Testing: Unit and Integration test
Docs Changes: NA
Release Notes: NA -- not yet user facing
Platform Specific Features: NA
Runtime guard: Yes, envoy.test_only.per_stream_buffer_accounting from envoyproxy#16218 sufficient
Related Issue envoyproxy#15791

Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
use one destination port range rule to cover thousands of port rules in RBAC permissions, adding convenience for writing configuration and making matching quicker

Risk Level: Low
Testing: Unit
Docs Changes: N/A
Release Notes: Added
Platform Specific Features: N/A

Fixes envoyproxy#16039

Signed-off-by: Xie Zhihao <zhihao.xie@intel.com>
account size to track.

Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
@KBaichoo
Copy link
Copy Markdown
Owner Author

KBaichoo commented Aug 2, 2021

Closing this, made upstream PR: envoyproxy#17562

@KBaichoo KBaichoo closed this Aug 2, 2021
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.

6 participants