REDUCED BANDWIDTH CACHE COHERENCY VIA CHECKSUM EXCHANGE
First Claim
1. A computer-implemented method for updating a local database, comprising at a server system:
- receiving a first request for a data item from a web application on a client device, wherein the first request includes an identifier of the data item;
in response to the first request;
calculating a first checksum of the data item;
sending the data item and the first checksum to the web application, for storage in the local database;
receiving a second request for the data item from the web application, wherein the second request includes the identifier of the data item and the first checksum;
in response to the second request;
calculating a second checksum of the data item;
comparing the first checksum and the second checksum;
determining that the data item has been updated by comparing the first checksum to the second checksum; and
in response to determining that the data item has been updated, sending to the web application a reply indicating that the data item has been updated.
2 Assignments
0 Petitions
Accused Products
Abstract
A server system receives a first request for a data item from a web application on a client device, wherein the first request includes an identifier of the data item. In response to the first request, the server system calculates a first checksum of the data item and sends the data item and the first checksum to the web application, for storage in the local database. The server system receives a second request for the data item from the web application, calculates a second checksum of the data item and compares the first and second checksums. The server system, determines that the data item has been updated by comparing the first checksum to the second checksum; and in response to determining that the data item has been updated, the server system a reply to the web application a indicating that the data item has been updated.
28 Citations
24 Claims
-
1. A computer-implemented method for updating a local database, comprising at a server system:
-
receiving a first request for a data item from a web application on a client device, wherein the first request includes an identifier of the data item; in response to the first request; calculating a first checksum of the data item; sending the data item and the first checksum to the web application, for storage in the local database; receiving a second request for the data item from the web application, wherein the second request includes the identifier of the data item and the first checksum; in response to the second request; calculating a second checksum of the data item; comparing the first checksum and the second checksum; determining that the data item has been updated by comparing the first checksum to the second checksum; and in response to determining that the data item has been updated, sending to the web application a reply indicating that the data item has been updated. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A server system for updating a local database, comprising:
-
memory one or more processors; and one or more modules stored in the memory, the one or more modules including instructions which when executed by the one or more processors cause the system to; receive a first request for a data item from a web application on a client device, wherein the first request includes an identifier of the data item; in response to the first request; calculate a first checksum of the data item; send the data item and the first checksum to the web application, for storage in the local database; receive a second request for the data item from the web application, wherein the second request includes the identifier of the data item and the first checksum; in response to the second request; calculate a second checksum of the data item; compare the first checksum and the second checksum; determine that the data item has been updated by comparing the first checksum to the second checksum; and in response to determining that the data item has been updated, send to the web application a reply indicating that the data item has been updated. - View Dependent Claims (12, 13, 14)
-
-
15. A computer readable storage medium storing one or more programs for execution by one or more processors of a computer system, the one or more programs comprising instructions to:
-
receive a first request for a data item from a web application on a client device, wherein the first request includes an identifier of the data item; in response to the first request; calculate a first checksum of the data item; send the data item and the first checksum to the web application, for storage in the local database; receive a second request for the data item from the web application, wherein the second request includes the identifier of the data item and the first checksum; in response to the second request; calculate a second checksum of the data item; compare the first checksum and the second checksum; determine that the data item has been updated by comparing the first checksum to the second checksum; and send, in response to determining that the data item has been updated, to the web application a reply indicating that the data item has been updated. - View Dependent Claims (16, 17, 18)
-
-
19. A computer-implemented method for updating a local database, comprising at a client device:
-
receiving a request to perform an operation on a data item; sending, a request to a server system, wherein the request includes an identifier of the data item and an associated checksum; while waiting for a reply from the server system, performing the operation on the data item; receiving a reply from the server system including an updated data item; and performing the same operation on the updated data item. - View Dependent Claims (20, 21, 22)
-
-
23. A client device for updating a local database, comprising:
-
memory one or more processors; and one or more modules stored in the memory, the one or more modules including instructions which when executed by the one or more processors cause the system to; receive a request to perform an operation on a data item; send, a request to a server system, wherein the request includes an identifier of the data item and an associated checksum; while waiting for a reply from the server system, perform the operation on the data item; receive a reply from the server system including an updated data item; and perform the same operation on the updated data item.
-
-
24. A computer readable storage medium storing one or more programs for execution by one or more processors of a computer system, the one or more programs comprising instructions to:
-
receive a request to perform an operation on a data item; send, a request to a server system, wherein the request includes an identifier of the data item and an associated checksum; perform, while waiting for a reply from the server system, the operation on the data item; receive a reply from the server system including an updated data item; and perform the operation on the updated data item.
-
Specification