High-Throughput Algorithm For Multiversion Concurrency Control With Globally Synchronized Time

    公开(公告)号:US20210185126A1

    公开(公告)日:2021-06-17

    申请号:US17189646

    申请日:2021-03-02

    Applicant: Google LLC

    Abstract: Throughput is preserved in a distributed system while maintaining concurrency by pushing a commit wait period to client commit paths and to future readers. As opposed to servers performing commit waits, the servers assign timestamps, which are used to ensure that causality is preserved. When a server executes a transaction that writes data to a distributed database, the server acquires a user-level lock, and assigns the transaction a timestamp equal to a current time plus an interval corresponding to bounds of uncertainty of clocks in the distributed system. After assigning the timestamp, the server releases the user-level lock. Any client devices, before performing a read of the written data, must wait until the assigned timestamp is in the past.

Patent Agency Ranking