Distributed storage cache data writing method and device, equipment and storage medium

The invention relates to the technical field of distributed storage, and discloses a distributed storage cache data writing method, device and equipment and a storage medium. According to the method, two different-size unit storage spaces are set according to the storage space occupied by basic data...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: YANG YUECHUAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the technical field of distributed storage, and discloses a distributed storage cache data writing method, device and equipment and a storage medium. According to the method, two different-size unit storage spaces are set according to the storage space occupied by basic data blocks, the second unit storage space is larger than the first unit storage space, and the second unit storage space is divided according to a preset proportion; forming a first group of unit storage spaces and a second group of unit storage spaces, responding to a write operation instruction, obtaining a to-be-written data segment and a data size thereof, judging whether the data size is smaller than or equal to the first unit storage space, if so, selecting a target storage space from the first group of unit storage spaces, and if not, selecting a target storage space from the second group of unit storage spaces; and selecting a target storage space from the second group of unit storage spaces, wherein the targe