-
公开(公告)号:US20220207003A1
公开(公告)日:2022-06-30
申请号:US17565861
申请日:2021-12-30
Applicant: Snap Inc.
Inventor: Ovais Ahmad Khan , James Daniel Baird , Tittu Jose , David Andrew Killian
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.
-
公开(公告)号:US20230401196A1
公开(公告)日:2023-12-14
申请号:US18239647
申请日:2023-08-29
Applicant: Snap Inc.
Inventor: Ovais Ahmad Khan , David Andrew Killian , James Daniel Baird , Tittu Jose , Arunachalam Thirupathi
IPC: G06F16/23 , G06F16/27 , H04L67/1097
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.
-
公开(公告)号:US11561783B2
公开(公告)日:2023-01-24
申请号:US16814064
申请日:2020-03-10
Applicant: Snap Inc.
Inventor: David Andrew Killian , Bradley Baron , Benjamin Ralph Hollis , Amit Saurav , James Daniel Baird , Zubair Khan , Spoorthi Ravi
IPC: G06F8/65 , G06F16/23 , G06F16/2455 , H04L51/04 , H04L51/216 , H04L51/52 , H04N21/8547
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.
-
公开(公告)号:US11782906B2
公开(公告)日:2023-10-10
申请号:US17646457
申请日:2021-12-29
Applicant: Snap Inc.
Inventor: Ovais Ahmad Khan , David Andrew Killian , James Daniel Baird , Tittu Jose , Arunachalam Thirupathi
IPC: G06F16/20 , G06F16/23 , G06F16/27 , H04L67/1097
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.
-
公开(公告)号:US20220207026A1
公开(公告)日:2022-06-30
申请号:US17646457
申请日:2021-12-29
Applicant: Snap Inc.
Inventor: Ovais Ahmad Khan , David Andrew Killian , James Daniel Baird , Tittu Jose , Arunachalam Thirupathi
IPC: G06F16/23 , H04L67/1097 , G06F16/27
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.
-
公开(公告)号:US20210286609A1
公开(公告)日:2021-09-16
申请号:US16814064
申请日:2020-03-10
Applicant: Snap Inc.
Inventor: David Andrew Killian , Bradley Baron , Benjamin Ralph Hollis , Amit Saurav , James Daniel Baird , Zubair Khan , Spoorthi Ravi
IPC: G06F8/65 , H04L12/58 , G06F16/23 , G06F16/2455
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.
-
-
-
-
-