internal/datastreams: add process tags to dsm payloads#3585
Conversation
BenchmarksBenchmark execution time: 2025-06-06 15:58:32 Comparing candidate commit 03e5301 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 21 metrics, 0 unstable metrics. |
piochelepiotr
left a comment
There was a problem hiding this comment.
Main question about performance. Is there a way to add a RW lock on the value of process tags, and then copy on write if the value is changed?
I want to make sure the SetCheckpoint method is not impacted performance wise.
|
@piochelepiotr Leaving here the benchmarks for posterity: Ran the existing benchmark on my machine: New benchmark enabling process tags: Tested a version of In the end I left it the same as it is because there are no notable differences. |
Co-authored-by: Kemal Akkoyun <[email protected]>
What does this PR do?
Followup of #3566
Adds ProcessTags to DSM payloads.
(needed to update the hashing logic to include process tags as well).
Motivation
Reviewer's Checklist
golangci-lint runlocally.Unsure? Have a question? Request a review!