LIVE DATA MIGRATION SYSTEM
    1.
    发明申请

    公开(公告)号:US20220207003A1

    公开(公告)日:2022-06-30

    申请号:US17565861

    申请日:2021-12-30

    Applicant: Snap Inc.

    Abstract: Systems, methods, and computer readable media for a live data migration system where the methods include accessing a command to perform a live data migration of a source datastore to a target datastore, accessing a delete operation, the delete operation indicating first data to be deleted from a datastore, and determining the datastore is stored in a source datastore. The methods further includes performing a two-phase commit delete of the first data from the source datastore and the target datastore, accessing a write operation, the write operation indicating second data, and performing a two-phase commit write of the second data to the source datastore and to the target datastore. The methods further include copying the source datastore to the target datastore, accessing a read operation, the read operation indicating third data to be read from the datastore, and performing the read operation of the third data from the target datastore.

    Data synchronization for content consumed via a client application

    公开(公告)号:US11789972B2

    公开(公告)日:2023-10-17

    申请号:US17205877

    申请日:2021-03-18

    Applicant: Snap Inc.

    Abstract: Systems and methods are provided for data synchronization for client application generated data. Content may be generated by a client application executed by a creator client device and sent to a server system that may distribute the content to one or more additional client devices of recipients of the content. The server system can push content to the recipient client devices without receiving a request for the content from the recipient client devices. The content generated by the creator client device may be stored by each of the creator client device, by the server system, and by the one or more recipient client devices. The server system may also generate version data related to respective versions of content that may be consumed by a client application. The version data may be used by client devices to determine versions of content that may be missing from the client devices.

    DECENTRALIZED TWO-PHASE COMMIT
    3.
    发明公开

    公开(公告)号:US20230401196A1

    公开(公告)日:2023-12-14

    申请号:US18239647

    申请日:2023-08-29

    Applicant: Snap Inc.

    CPC classification number: G06F16/2379 G06F16/278 H04L67/1097

    Abstract: Systems, methods, and computer readable media for decentralized two-phase commit in a datastore or database where the methods include determining pre-validating a transaction, writing first metadata to a leader partition, the first metadata including a state indicating preparing and mutations of the transaction, and writing second metadata of a follower partition to indicate the follower partition is locked by the leader partition. The methods further include updating the state of the first metadata to indicate committed and performing the transaction on the leader partition, performing the transaction on the follower partition and unlocking the follower partition, and updating the first metadata to remove the mutations of the transaction and updating the state of the first metadata to indicate the transaction is completed. The methods may further include selecting a leader partition key and updating the state of the first metadata to indicate committed unapplied.

    Windowed writes
    4.
    发明授权

    公开(公告)号:US11561783B2

    公开(公告)日:2023-01-24

    申请号:US16814064

    申请日:2020-03-10

    Applicant: Snap Inc.

    Abstract: Systems and methods are provided for synchronizing data. The systems and methods include operations for: storing a synchronization entry for a messaging application feature, the synchronization entry comprising a last update timestamp associated with a first update to content of the messaging application feature received from a first source; receiving a second update to the content of the messaging application feature from the first source; determining that the second update was received within a write window of the last update timestamp; in response to determining that the second update was received within the write window of the last update timestamp, preventing updating the last update timestamp; and sending the first update and the second update to a client device in response to receiving a synchronization request from the client device based on the last update timestamp.

    Decentralized two-phase commit
    5.
    发明授权

    公开(公告)号:US11782906B2

    公开(公告)日:2023-10-10

    申请号:US17646457

    申请日:2021-12-29

    Applicant: Snap Inc.

    CPC classification number: G06F16/2379 G06F16/278 H04L67/1097

    Abstract: A decentralized two-phase commit in a datastore or database includes determining pre-validating a transaction, writing first metadata to a leader partition, the first metadata including a state indicating preparing and mutations of the transaction, and writing second metadata of a follower partition to indicate the follower partition is locked by the leader partition. The decentralized two-phase commit further includes updating the state of the first metadata to indicate committed and performing the transaction on the leader partition, performing the transaction on the follower partition and unlocking the follower partition, and updating the first metadata to remove the mutations of the transaction and updating the state of the first metadata to indicate the transaction is completed. The decentralized two-phase commit may further include selecting a leader partition key and updating the state of the first metadata to indicate committed unapplied.

    DECENTRALIZED TWO-PHASE COMMIT
    6.
    发明申请

    公开(公告)号:US20220207026A1

    公开(公告)日:2022-06-30

    申请号:US17646457

    申请日:2021-12-29

    Applicant: Snap Inc.

    Abstract: Systems, methods, and computer readable media for decentralized two-phase commit in a datastore or database where the methods include determining pre-validating a transaction, writing first metadata to a leader partition, the first metadata including a state indicating preparing and mutations of the transaction, and writing second metadata of a follower partition to indicate the follower partition is locked by the leader partition. The methods further include updating the state of the first metadata to indicate committed and performing the transaction on the leader partition, performing the transaction on the follower partition and unlocking the follower partition, and updating the first metadata to remove the mutations of the transaction and updating the state of the first metadata to indicate the transaction is completed. The methods may further include selecting a leader partition key and updating the state of the first metadata to indicate committed unapplied.

    DATA SYNCHRONIZATION FOR CONTENT CONSUMED VIA A CLIENT APPLICATION

    公开(公告)号:US20210303592A1

    公开(公告)日:2021-09-30

    申请号:US17205877

    申请日:2021-03-18

    Applicant: Snap Inc.

    Abstract: Systems and methods are provided for data synchronization for client application generated data. Content may be generated by a client application executed by a creator client device and sent to a server system that may distribute the content to one or more additional client devices of recipients of the content. The server system can push content to the recipient client devices without receiving a request for the content from the recipient client devices. The content generated by the creator client device may be stored by each of the creator client device, by the server system, and by the one or more recipient client devices. The server system may also generate version data related to respective versions of content that may be consumed by a client application. The version data may be used by client devices to determine versions of content that may be missing from the client devices.

    WINDOWED WRITES
    8.
    发明申请

    公开(公告)号:US20210286609A1

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

    申请号:US16814064

    申请日:2020-03-10

    Applicant: Snap Inc.

    Abstract: Systems and methods are provided for synchronizing data. The systems and methods include operations for: storing a synchronization entry for a messaging application feature, the synchronization entry comprising a last update timestamp associated with a first update to content of the messaging application feature received from a first source; receiving a second update to the content of the messaging application feature from the first source; determining that the second update was received within a write window of the last update timestamp; in response to determining that the second update was received within the write window of the last update timestamp, preventing updating the last update timestamp; and sending the first update and the second update to a client device in response to receiving a synchronization request from the client device based on the last update timestamp.

Patent Agency Ranking