Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
System.nanoTime() should always be prefered to System.currentTimeMillis() to measure time intervals. It's not affected by system clock adjustments & drift.
While testing C* we found that it's very unstable if system clock drifts. Problems happen even under low load with tiny dataset. In our case other VMs on the same hardware box produced high CPU load and system clock drifted a lot in C* VMs. We fixed that but there is definitelly room for improvement in C* itself.