Distributed file system access method and platform

The invention discloses a distributed file system access method and a platform. The method comprises the steps of obtaining a write-in request of a client; judging whether the file size of a file to be written in corresponding to the write-in request is smaller than a threshold value of a preset fil...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: BI JINGQIANG
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 discloses a distributed file system access method and a platform. The method comprises the steps of obtaining a write-in request of a client; judging whether the file size of a file to be written in corresponding to the write-in request is smaller than a threshold value of a preset file or not; if yes, determining the file type of the file to be written in as a small file, caching the file to be written in into a distributed redis cluster. The distributed redis cluster is adopted as a cache pool, the client writes in the file from a storage cluster of a rear-end magnetic disk, and the file is read from the redis cluster. It can be seen that for write-once read-many-times, on the condition that the file is small and is not deleted, during write-in, the small file is cached into the redis cluster, when read, the small file is read directly from the redis cluster, and the file reading delay is shortened; the redis cluster and the storage cluster of the rear-end magnetic disk are isolated, the redis