Data caching method and device, electronic equipment and computer readable medium
The invention provides a data caching method and device, electronic equipment and a computer readable medium, and relates to the technical field of data caching, and the method comprises the steps: when a target write cache instruction is received, obtaining the cache pressure of a cache at the curr...
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 provides a data caching method and device, electronic equipment and a computer readable medium, and relates to the technical field of data caching, and the method comprises the steps: when a target write cache instruction is received, obtaining the cache pressure of a cache at the current moment, determining a preset disk falling concurrency degree according to the cache pressure, and writing the target write cache instruction into the preset disk falling concurrency degree; the method comprises the following steps: caching a front-end host and a rear-end hard disk, setting the caching concurrency based on a preset caching concurrency, monitoring a first IO delay of the front-end host and a second IO delay of the rear-end hard disk, performing preset adjustment on the caching concurrency to enable the first IO delay to reach a first target IO delay and the second IO delay to reach a second target IO delay, and adjusting the caching concurrency according to the adjusted caching concurrency. And p |
---|