Method, system and memory for improving read-write throughput capacity of file storage NAS
A throughput and file storage technology, applied in the direction of instruments, special data processing applications, inter-program communication, etc., can solve the problem of increased read and write latency of file storage NAS, improve read and write throughput, improve write performance, The effect of tenant isolation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] figure 1 It is a schematic flowchart of an implementation method for uploading and writing according to an embodiment of the present invention; figure 1 As shown, the method for uploading and writing in this embodiment includes steps S101-S112.
[0067] In step S101, the upload request sent by the user through the browser or mobile phone APP is acquired, and the request content includes system identification and file information.
[0068] Specifically, the system identification includes the name of the file, the type of the file, and the starting time (year, month, day, hour, minute, second, millimeter) of the uploading of the file.
[0069] In step S102, the system in the user request generates the path to be written into the NAS and the unique file identification ID.
[0070] Specifically, the system identification in the user upload request is screened and deleted first, and a unique file identification ID and a path to be written to the NAS are generated according...
Embodiment 2
[0086] In one embodiment, such as figure 2 As shown, S201-S203 are schematic flowcharts of the implementation method of asynchronous program reading according to this embodiment.
[0087] In step S201, start an additional asynchronous program to read the message in the message middleware, write the content of the file into the NAS, and write the metadata into the database. After both the content of the file and the metadata are successfully written, In step S202, the identification ID of the file in the queue to be processed in the distributed cache is deleted.
[0088] Specifically, if writing a message fails in the asynchronous program, an alarm message is returned to the maintenance personnel, and the cause of the failure is analyzed.
[0089] Specifically, the asynchronous program reads the message in the message middleware, writes the content of the file into the NAS, and writes the metadata into the database, then judges the size of the queue set to be processed in the...
Embodiment 3
[0091] In one embodiment, such as image 3 As shown, S301-S is a schematic flowchart of a method for implementing user downloading according to this embodiment.
[0092] In step S301, a user download request is obtained.
[0093] In step S302, read the file metadata information and file content directly from the distributed cache according to the file identification ID, if the reading is successful, in step S303, read the file content corresponding to the file identification ID from the distributed cache, In step S306, update the file identification ID metadata information in the distributed cache, and return the file stream in step S304.
[0094] Specifically, in step S302, if reading the file metadata information from the distributed cache according to the file ID fails, then in step S305, query the file ID information from the database, and update the static ID in the distributed cache in step S306. ID metadata information.
[0095] Specifically, in S303, if reading the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com