-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[client] introduce client-side event aggregation #6394
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
Open
dmitri-netbird
wants to merge
30
commits into
netbirdio:main
Choose a base branch
from
dmitri-netbird:dmitri-event-aggregation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
60bcf7d
added an implementation of aggregating memory store
dmitri-netbird 243e934
initial support for aggregation of events
dmitri-netbird b654a75
added tcp-aggregation test
dmitri-netbird 101ae3c
added manager integration test
dmitri-netbird 8f99362
added tracking of the number of start-, drop, and end-events in an ag…
dmitri-netbird 42e0007
fixes based on sonarcube checks
dmitri-netbird 12a8943
regenerated proto files
dmitri-netbird a593e32
removed inadvertenly added google proto files
dmitri-netbird d9d585e
pacifying linter
dmitri-netbird 598558c
Merge remote-tracking branch 'origin/main' into dmitri-event-aggregation
dmitri-netbird 98ce097
update test to validate event aggregation over tcp, udp, icmp, and ic…
dmitri-netbird b21f7f7
updated event aggregation test
dmitri-netbird e3f9396
regenerate protobufs with expected versions of protoc and protoc-gen-go
dmitri-netbird c875aa6
remove protoc/protoc-gen headers from flow_grpc.pb.go
dmitri-netbird fae5b7e
Merge remote-tracking branch 'origin/main' into dmitri-event-aggregation
dmitri-netbird 9dc5e77
updated openapi spec
dmitri-netbird 07c527f
updated openapi NetworkTrafficEvent spec, regenerated types
dmitri-netbird a93cb66
respond to feedback
dmitri-netbird 7295e2e
fixed an issue with how we track events that shouldn't be aggregated
dmitri-netbird 67d1419
fixed mapping of events to protobuf
dmitri-netbird ca4ce0a
icmp code values in aggregated events do not matter
dmitri-netbird e89c0f5
Merge remote-tracking branch 'origin/main' into dmitri-event-aggregation
dmitri-netbird 0286c17
regenerate openapi types
dmitri-netbird 3d6fc3b
added a comment re: unbounded unacked events
dmitri-netbird 9ea463e
reset aggregated event type to unknown
dmitri-netbird 1721a4f
fix event aggregation test
dmitri-netbird 5dc159e
used the source port of the earliest event
dmitri-netbird 0e95b6d
add tracking of window starts and ends
dmitri-netbird fd763ec
updated openapi spec
dmitri-netbird 17cc13f
reverted changes to generate.sh
dmitri-netbird File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bound the un-acked event store before retrying indefinitely.
When ACKs stop, every sent aggregate remains in
eventsWithoutAcksuntil an ACK arrives. The inline comment already notes the store is unbounded; add a max size/age policy before this can grow client memory without limit during receiver outages.I can help draft a bounded store policy or open a follow-up issue if you want.
Also applies to: 271-283
🤖 Prompt for AI Agents