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

make datastore metrics more representative of the actual underlying datastore #1669

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

vroldanbet
Copy link
Contributor

the datastore metrics proxy was installed after various other proxies that try to help with datastore performance, namely caching, and deduplication. If the proxy is installed after those, the metrics obtained do not reflect the actual latencies and requests to the datastore:

  • latencies will be lower thanks to caching and deduplication
  • actual datastore calls will be higher that they are because some requests may never hit the datastore

Given how important is access to the datastore for the latency and throughput of the application, this moves the proxy so it measures actual calls to the datastore by moving it around the proxy chain.

…atastore

the datastore metrics proxy was installed after
various other proxies that try to help with
datastore performance, namely caching and deduplication.
If the proxy is installed after those, the metrics
obtained do not reflect the actual latencies and requests
to the datastore:
- latencies will be lower thanks to caching and deduplication
- actual datastore calls will be higher that they actually are
  because some requests may never hit the datastore

Given how important is the access to the datastore for the latency
and throughput of the application, this moves the proxy so it
measures actual calls to the datastore by moving it around
the proxy chain.
@vroldanbet vroldanbet requested a review from a team December 1, 2023 10:19
@vroldanbet vroldanbet self-assigned this Dec 1, 2023
@github-actions github-actions bot added the area/CLI Affects the command line label Dec 1, 2023
Copy link
Member

@josephschorr josephschorr left a comment

Choose a reason for hiding this comment

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

LGTM

@josephschorr josephschorr added this pull request to the merge queue Dec 1, 2023
Merged via the queue into main with commit b08d397 Dec 1, 2023
20 checks passed
@josephschorr josephschorr deleted the adjust-datastore-metrics branch December 1, 2023 17:46
@github-actions github-actions bot locked and limited conversation to collaborators Dec 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/CLI Affects the command line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants