Introducing TSO(Timestamp Oracle) into distributed system is a good and simple method.
Lamport Clock and HLC
Lamport clock is simple logical clock implemention, and is an incremental integer.
And If we use high bits to store physical timestamp and low bits store logical timestamp, that is HLC(Hybrid Logical Clock).