Cache data backup method and device, equipment, medium and product
The invention discloses a cache data backup method and device, equipment, a medium and a product, and belongs to the technical field of distributed memory cache. According to the method and the device, after the incremental log is obtained, the incremental log is not directly stored in a local disk,...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
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 invention discloses a cache data backup method and device, equipment, a medium and a product, and belongs to the technical field of distributed memory cache. According to the method and the device, after the incremental log is obtained, the incremental log is not directly stored in a local disk, the incremental log is analyzed to obtain the cache data and is written into the distributed message storage based on the binary search tree, and each leaf node of the binary search tree comprises the final trigger time and the refreshing frequency. And then, scanning the binary lookup tree, determining a target leaf node in the binary lookup tree according to the merging information of the cache data, and writing the cache data corresponding to the target leaf node into persistent storage.
本申请公开了一种缓存数据备份方法、装置、设备、介质及产品,属于分布式内存缓存的技术领域。在本申请中,在获取到增量日志之后,并非将其直接存储于本地磁盘中,而是解析其得到缓存数据并写入基于二叉查找树的分布式消息存储中,在二叉查找树的每个叶子节点包含最后触发时间和刷新次数。接着,扫描二叉查找树,根据缓存数据的合并信息在二叉查找树中确定目标叶子节点,将所述目标叶子节点对应的缓存数据写入至持久化存储。 |
---|