-
Notifications
You must be signed in to change notification settings - Fork 114
[server][dvc] Add blob transfer send/receive byte rate metric at both version level and host level #2338
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
base: main
Are you sure you want to change the base?
Conversation
615e1b9 to
ebf4cf1
Compare
ebf4cf1 to
994aa20
Compare
| package com.linkedin.davinci.stats; | ||
|
|
||
| public class AggBlobTransferStats { | ||
| private final AggVersionedBlobTransferStats aggVersionedBlobTransferStats; |
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.
Let’s add some Javadoc here. Also, could you include the Kafka stats it will be compared against?
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.
Could you also add doc that aggVersionedBlobTransferStats reports speed, time, and success/failure counts, and aggHostLevelIngestionStats reports bytes accumulation?
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.
Yeah good callout, updated the java doc.
|
|
||
| // The blob file receiving throughput (in MB/sec) and time (in sec) | ||
| protected static final String BLOB_TRANSFER_THROUGHPUT = "blob_transfer_file_receive_throughput"; | ||
| protected static final String BLOB_TRANSFER_TIME = "blob_transfer_time"; |
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.
qq, do you think we need to remove the BLOB_TRANSFER_THROUGHPUT graph, I can cut a separate PR to remove it.
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.
I think so. But maybe let's first verify this metric is working and we can deprecate the old one
[server][dvc] Add blob transfer send/receive byte rate metric at both version level and host level
This PR adds rate metric for blob transfer send and receive activity for more observability in the ingestion path.
It will give host level send/receive byte rate, as well as version level send/receive byte rate. With this, we can easily monitor how system is doing the blob transfer from/to other peer nodes.
Solution
Code changes
Concurrency-Specific Checks
Both reviewer and PR author to verify
synchronized,RWLock) are used where needed.ConcurrentHashMap,CopyOnWriteArrayList).How was this PR tested?
Does this PR introduce any user-facing or breaking changes?