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

ft: improve socket metrics gathering #378

Closed

Conversation

hauleth
Copy link
Member

@hauleth hauleth commented Jul 2, 2024

What kind of change does this PR introduce?

Performance improvement.

What is the current behavior?

We fetch all statistics about socket while we are interested only in 2 values.

What is the new behavior?

Fetch only used values.

@hauleth hauleth force-pushed the ft/improve-socket-metrics-gathering branch 2 times, most recently from 50369d9 to 0e07281 Compare July 2, 2024 10:51
@hauleth hauleth marked this pull request as ready for review July 2, 2024 10:51
@hauleth hauleth requested a review from a team as a code owner July 2, 2024 10:51
@hauleth hauleth changed the base branch from main to v2 July 2, 2024 10:51
As we are only interested in just 2 of the values from the socket stats, fetch
only these. This should reduce time required for processing data sent between
port and application. It also simplifies pattern matching and data extraction.
@hauleth hauleth force-pushed the ft/improve-socket-metrics-gathering branch from 0e07281 to 46eefda Compare July 2, 2024 11:21
@hauleth hauleth closed this Jul 2, 2024
@hauleth hauleth deleted the ft/improve-socket-metrics-gathering branch July 2, 2024 12:13
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.

1 participant