Vladislav Pyatkov created IGNITE-21495:
------------------------------------------

             Summary: Improve latency of current time in hybrid clock
                 Key: IGNITE-21495
                 URL: https://issues.apache.org/jira/browse/IGNITE-21495
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov


h3. Motivation
We invoke HybridClockImpl#now (HybridClockImpl#nowLong) on other cluster 
operations. Therefore, if we improve the latency, we will have better 
performance on each operation.

h3. Implementation notes
We can use _System.currentTimeMillis()_ instead of 
_systemUTC().instant().toEpochMilli()_ or think about precalculating the 
timestamp like it is done in _FastTimestamps#coarseCurrentTimeMillis()_.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to