Can cryptographic execution timing add useful information to latency diagnosis?
Source Reddit Cybersecurity
Discussion
V-DAP is an experimental Rust engine designed to measure cryptographic execution timing to explore whether such measurements can provide useful diagnostic information for latency issues beyond conventional observability tools. Preliminary experiments show a correlation between cryptographic timing intervals and total request latency, but the project does not claim production readiness or proven diagnostic advantage. The research is ongoing to determine if V-DAP can distinguish causes of latency and improve diagnostic accuracy compared to existing methods.
r/cybersecurity (opens in a new tab)u/SmoothAlternative3850 points0 comments
I'm developing V-DAP, an experimental Rust engine that measures cryptographic execution timing. I'm trying to determine whether those measurements provide useful diagnostic information beyond conventional observability tools.
The practical problem I'm investigating is this: when a service experiences latency spikes, can measurements of cryptographic execution help distinguish between possible sources of delay, or do standard metrics, tracing and profiling already provide the same information?
My current experiments are preliminary. In a controlled HTTP pilot, I observed a strong correlation between the measured cryptographic interval and total request latency. In a separate experiment, I introduced a deliberate delay outside that interval and observed the request latency increase. These results demonstrate temporal decomposition in those test conditions, not scheduler causality or a proven diagnostic advantage.
What I want to validate next:
- Can V-DAP help distinguish two known causes of latency?
- Does it improve diagnostic accuracy or time-to-diagnosis compared with conventional tools alone?
- What confounders and measurement overhead should I investigate?
- What experiment would convince you that this has practical engineering value?
Repository and reproducibility details:
https://github.com/jorgecumbe0077/v-dap-engine
I'm looking for critical technical feedback, including reasons this approach may not be useful. I don't claim that V-DAP is production-ready or that it prevents timeouts.