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

Speculative Execution Metrics #1041

Open
fee-mendes opened this issue Jul 16, 2024 · 1 comment
Open

Speculative Execution Metrics #1041

fee-mendes opened this issue Jul 16, 2024 · 1 comment
Labels
area/statement-execution cpp-rust-driver-p2 Functionality required by cpp-rust-driver

Comments

@fee-mendes
Copy link
Member

fee-mendes commented Jul 16, 2024

Currently, Speculative Execution can be observed in two ways:

  • Query Tracing,
  • speculative execution fibers via Query History

It would be nice to also have Speculative Execution numbers also exposed in Metrics. For example, the CPP driver increments a counter each time a new fiber is started, and from there allows one to infer the percentage of total queries which triggered speculative execution.

For each Speculative Execution, it would also be nice to keep track of their latencies in a separate histogram, similarly as what CPP does in Histogram speculative_request_latencies;

@siningma
Copy link
Contributor

Would be nice if the counter count be split by read and writes queries.

@wprzytula wprzytula added cpp-rust-driver-p2 Functionality required by cpp-rust-driver area/statement-execution labels Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/statement-execution cpp-rust-driver-p2 Functionality required by cpp-rust-driver
Projects
None yet
Development

No branches or pull requests

3 participants