High-throughput algorithm for multiversion concurrency control with globally synchronized time

    公开(公告)号:US10951706B2

    公开(公告)日:2021-03-16

    申请号:US15374722

    申请日:2016-12-09

    Applicant: Google Inc.

    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.

    HIGH-THROUGHPUT ALGORITHM FOR MULTIVERSION CONCURRENCY CONTROL WITH GLOBALLY SYNCHRONIZED TIME

    公开(公告)号:US20180167460A1

    公开(公告)日:2018-06-14

    申请号:US15374722

    申请日:2016-12-09

    Applicant: Google Inc.

    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.

    Ensuring globally consistent transactions
    5.
    发明授权
    Ensuring globally consistent transactions 有权
    确保全球一致的交易

    公开(公告)号:US09569253B1

    公开(公告)日:2017-02-14

    申请号:US13905637

    申请日:2013-05-30

    Applicant: Google Inc.

    CPC classification number: G06F17/30377 G06F9/466 G06F17/30551

    Abstract: The present technology proposes techniques for ensuring globally consistent transactions. This technology may allow distributed systems to ensure the causal order of read and write transactions across different partitions of a distributed database. By assigning causally generated timestamps to the transactions based on one or more globally coherent time services, the timestamps can be used to preserve and represent the causal order of the transactions in the distributed system. In this regard, certain transactions may wait for a period of time after choosing a timestamp in order to delay the start of any second transaction that might depend on it. The wait may ensure that the effects of the first transaction are not made visible until its timestamp is guaranteed to be in the past. This may ensure that a consistent snapshot of the distributed database can be determined for any past timestamp.

    Abstract translation: 本技术提出了确保全球一致交易的技术。 该技术可能允许分布式系统确保分布式数据库的不同分区之间的读写事务的因果顺序。 通过基于一个或多个全局一致的时间服务将事件生成的时间戳分配给事务,可以使用时间戳来保留和表示分布式系统中的事务的因果顺序。 在这方面,某些交易可能会在选择时间戳之后等待一段时间,以便延迟可能依赖于它的任何第二个交易的开始。 等待可以确保第一个事务的效果在其时间戳保证为过去之前不可见。 这可以确保可以为任何过去的时间戳确定分布式数据库的一致快照。

Patent Agency Ranking