Question and answer data synchronization method, device and system, server and storage medium
The embodiment of the invention is applicable to the technical field of information, and provides a question and answer data synchronization method and device, a server and a storage medium, and the question and answer data synchronization method comprises the following steps: when question and answ...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention is applicable to the technical field of information, and provides a question and answer data synchronization method and device, a server and a storage medium, and the question and answer data synchronization method comprises the following steps: when question and answer data in a first database is updated, updating the question and answer data in a cache according to the update; generating metadata corresponding to the update; wherein an operation sequence number corresponding to the update is at least packaged in the metadata; and adding the metadata to the head of an update queue, and storing the update queue in the cache, so that a second server pulls question and answer data from the cache when comparing that the first operation serial number is greater than the second operation serial number. According to the embodiment of the invention, the access frequency of the second server to the first database can be reduced, the read-write conflict is reduced, and the update rate o |
---|