Cache bidirectional synchronization implementation method, device and equipment suitable for read-write

The invention relates to the technical field of database two-way synchronization, in particular to a cache two-way synchronization implementation method and device suitable for read-write, equipment and a storage medium, and the method comprises the following steps: obtaining NodeA request data, car...

Full description

Saved in:
Bibliographic Details
Main Authors XIANG HUAJIE, LI SHENGGE, QIN FUHUI, LIN DEYU, SU RU, JIANG JIZHEN, WAN QIANRU, CUI QIAOXU, WU HUAZHI, NING ZHIGANG, PENG XINGGUI, SUN LIJUN, HUANG HEYU, LIU XIONGWEI
Format Patent
LanguageChinese
English
Published 02.01.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to the technical field of database two-way synchronization, in particular to a cache two-way synchronization implementation method and device suitable for read-write, equipment and a storage medium, and the method comprises the following steps: obtaining NodeA request data, carrying out updating synchronization processing by using a lua script based on the NodeA request data, obtaining a request parameter, assigning current time to a reqTime field by using the lua script, and obtaining the request parameter; the method comprises the steps of obtaining a reqTime field, judging whether a request parameter accords with a preset value or not based on the reqTime field, obtaining a new request parameter, calling a service execution command based on the new request parameter, storing new request data to a target node Redis A, if the target node Redis A changes, synchronizing the target node Redis A to a node Redis B, and if the target node Redis A changes, synchronizing the target node Redis B
Bibliography:Application Number: CN202311323896