TECHNIQUES FOR A SEQUENTIAL MESSAGE READER FOR MESSAGE SYNCING
Techniques for a sequential message reader for message syncing are described. An apparatus may comprise a network component and an inbox management component. The network component may be operative to receiving an incoming update at a messaging endpoint from a recipient update queue, the incoming update comprising an incoming recipient sequence number. The inbox management component may be operative to add the incoming update to a message inbox on the messaging endpoint, the incoming update added to the message inbox in an order determined by the incoming recipient sequence number and determine based on the incoming recipient sequence number whether one or more additional updates are missing from the message inbox on the messaging endpoint. Other embodiments are described and claimed.
1 . A computer-implemented method, comprising:
receiving an incoming update at a messaging endpoint from a recipient update queue, the incoming update comprising an incoming recipient sequence number;
adding the incoming update to a message inbox on the messaging endpoint, the incoming update added to the message inbox in an order determined by the incoming recipient sequence number; and
determining based on the incoming recipient sequence number whether one or more additional updates are missing from the message inbox on the messaging endpoint.
2 . The method of claim 1 , the incoming update comprising an atomic modification to a message inbox for the messaging endpoint.
3 . The method of claim 1 , wherein the messaging endpoint comprises one of a messaging application on a device and a web browser session.
4 . The method of claim 1 , wherein the incoming update is received in response to a determination that a current recipient sequence number associated with the messaging endpoint in the recipient update queue is less than the incoming recipient sequence number.
5 . The method of claim 1 , comprising:
determining based on the incoming recipient sequence number that the one or more additional updates are missing from the message inbox on the messaging endpoint;
determining a smallest missing sequence number based on the incoming recipient sequence number;
transmitting a missing update request from the messaging endpoint to the recipient update queue, the missing update request comprising the smallest missing sequence number; and
receiving the one or more additional updates from the recipient update queue in response to the missing update request.
6 . The method of claim 1 , comprising:
determining based on the incoming recipient sequence number that the two or more additional updates are missing from the message inbox on the messaging endpoint;
determining two or more missing sequence numbers based on the incoming recipient sequence number, the two or more missing sequence numbers corresponding to the two or more additional updates;
transmitting a bulk missing update request from the messaging endpoint to the recipient update queue, the bulk missing update request comprising the two or more missing sequence numbers; and
receiving the two or more additional updates from the recipient update queue in response to the missing update request, the two or more additional updates received in a bulk missing update response in a single network transaction.
7 . The method of claim 1 , comprising:
receiving user input for creation of the incoming update;
creating the incoming update; and
transmitting the incoming update to the recipient update queue.
8 . The method of claim 1 , wherein adding the incoming update to the message inbox comprises:
applying the incoming update to a message cache of a messaging application on a device; and
adding the incoming update to a message database of the messaging application on the device.
9 . An apparatus, comprising:
a processor circuit on a device;
a network component operative on the processor circuit to receiving an incoming update at a messaging endpoint from a recipient update queue, the incoming update comprising an incoming recipient sequence number; and
an inbox management component operative on the processor circuit to add the incoming update to a message inbox on the messaging endpoint, the incoming update added to the message inbox in an order determined by the incoming recipient sequence number and determine based on the incoming recipient sequence number whether one or more additional updates are missing from the message inbox on the messaging endpoint.
10 . The apparatus of claim 9 , the incoming update comprising an atomic modification to a message inbox for the messaging endpoint, wherein the recipient messaging endpoint comprises one of a messaging application on a device and a web browser session.
11 . The apparatus of claim 9 , wherein the incoming update is received in response to a determination that a current recipient sequence number associated with the messaging endpoint in the recipient update queue is less than the incoming recipient sequence number.
12 . The apparatus of claim 9 , further comprising:
the inbox management component operative to determine based on the incoming recipient sequence number that the one or more additional updates are missing from the message inbox on the messaging endpoint and determine a smallest missing sequence number based on the incoming recipient sequence number; and
the network component operative to transmit a missing update request from the messaging endpoint to the recipient update queue, the missing update request comprising the smallest missing sequence number and receive the one or more additional updates from the recipient update queue in response to the missing update request.
13 . The apparatus of claim 9 , further comprising:
the inbox management component operative to determine based on the incoming recipient sequence number that the two or more additional updates are missing from the message inbox on the messaging endpoint and determine two or more missing sequence numbers based on the incoming recipient sequence number, the two or more missing sequence numbers corresponding to the two or more additional updates; and
the network component operative to transmit a bulk missing update request from the messaging endpoint to the recipient update queue, the bulk missing update request comprising the two or more missing sequence numbers and receive the two or more additional updates from the recipient update queue in response to the missing update request, the two or more additional update received in a bulk missing update response in a single network transaction.
14 . The apparatus of claim 9 , further comprising:
a user interface component operative on the processor circuit to receive user input for creation of the incoming update and create the incoming update; and
the network component operative to transmit the incoming update to the recipient update queue.
15 . The apparatus of claim 9 , wherein adding the incoming update to the message inbox comprises, further comprising:
the inbox management component operative to apply the incoming update to a message cache of a messaging application on a device and apply the incoming update to a message database of the messaging application on the device.
16 . At least one computer-readable storage medium comprising instructions that, when executed, cause a system to:
receive an incoming update at a messaging endpoint from a recipient update queue, the incoming update comprising an incoming recipient sequence number;
add the incoming update to a message inbox on the messaging endpoint, the incoming update added to the message inbox in an order determined by the incoming recipient sequence number; and
determine based on the incoming recipient sequence number whether one or more additional updates are missing from the message inbox on the messaging endpoint.
17 . The computer-readable storage medium of claim 16 , the incoming update comprising an atomic modification to a message inbox for the messaging endpoint, wherein the messaging endpoint comprises one of a messaging application on a device and a web browser session.
18 . The computer-readable storage medium of claim 16 , wherein the incoming update is received in response to a determination that a current recipient sequence number associated with the messaging endpoint in the recipient update queue is less than the incoming recipient sequence number.
19 . The computer-readable storage medium of claim 16 , comprising further instructions that, when executed, cause a system to:
determine based on the incoming recipient sequence number that the one or more additional updates are missing from the message inbox on the messaging endpoint;
determine a smallest missing sequence number based on the incoming recipient sequence number;
transmit a missing update request from the messaging endpoint to the recipient update queue, the missing update request comprising the smallest missing sequence number; and
receive the one or more additional updates from the recipient update queue in response to the missing update request
20 . The computer-readable storage medium of claim 16 , wherein adding the incoming update to the message inbox comprises further instructions that, when executed, cause a system to:
apply the incoming update to a message cache of a messaging application on a device; and
apply the incoming update to a message database of the messaging application on the device.