Data synchronization method and system between cache and database
A data synchronization and database technology, applied in the database field, can solve problems such as database and cache inconsistency, data inconsistency, etc., to achieve the effect of ensuring data consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
[0059] The inventor found through research that: according to the update sequence of the database and the cache, there are the following four data synchronization situations:
[0060] 1. Update the database first, then update the cache
[0061] In this case, the data synchronization process is as follows:
[0062] 1) Request A initiates first, updating the database to 99, but has not had time to update the cache;
[0063] 2) Request B to initiate, update the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


