Distributed Systems, Algorithms, Computer Science, Database, Scalability.
out of scope for this discussion. The real production level implementations could be different and more efficient in terms of space usage. However, the goal here is to just understand the algorithm. The following algorithm has been taken from the paper: “Technical Report: HybridTime — Accessible