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

Go Sampling Application #2

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

vthiruveedula
Copy link

@vthiruveedula vthiruveedula commented Apr 27, 2023

CloudNativeDataPlane#223

  1. Go Sampling Application maintains Context information using 3 tuples (src ip, dst ip, protocol) of a receiving packet
  2. if a port receives multiple packets with the same 3-tuple assume they are part of the same context and increment count.
  3. if the packet count of the same context is greater than 15, drop the packet otherwise forward the packet
  4. Overall, using a 3-tuple to maintain context information can be a useful tool for managing network traffic and ensuring that packets are delivered to their intended destinations.

…src ip, dst ip, protocol) of a receiving packet

2. if a port receives multiple packets with the same 3-tuple assume they are
part of same context and increment count.
3. if the packet count of same context greater than 15, drop the packer
otherwise forward the packet
4. Overall, using a 3-tuple to maintain context information can be a useful tool
for managing network traffic and ensuring that packets are delivered to their
intended destinations.
Copy link
Owner

@vikasJain85 vikasJain85 left a comment

Choose a reason for hiding this comment

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

Looks good,
Would be good if you can remove debug print statement.

@vikasJain85 vikasJain85 merged commit a790f51 into vikasJain85:main Apr 28, 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.

2 participants