3 ms·
If your software is running on a VM, and that VM is suspended (e.g. for migration), the end of sleep could be minutes or months in future. This is surprisingly
by haiku2077 2y ago
If your software is running on a VM, and that VM is suspended (e.g. for migration), the end of sleep could be minutes or months in future.
This is surprisingly common when running on certain VM instance types on public cloud! Common enough that I've had to account for it in production code.
- trifurcate 2y agoThe confidence interval comment still applies for any production or client environment I've ever deployed code to. Unless you actually expect your environment to spend more than 5% of its time on average getting suspended and resumed. Maybe you work on some tooling that is scheduled to run right around migration time (for servers) or sleep/resume time (for clients).
- haiku2077 2y agoOr you run at scale on a public cloud provider. We observe a few of these events per month.