A small file read-write optimization method based on HTTP
An optimization method and small file technology, applied in electrical components, transmission systems, etc., can solve problems such as poor customer experience and live broadcast freeze, and achieve high reading efficiency, reasonable cache configuration, and optimized storage read and write delays.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0044] An HTTP-based small file reading and writing optimization method specifically includes the following steps:
[0045] (1) Write execution: when data is written, it is first written to the cache and then asynchronously written to storage;
[0046] Such as figure 1 As shown, the specific steps of writing execution are as follows:
[0047] (11) The HTTP container module receives the write request from the client and adopts the PUT method;
[0048] (12) Write to the cache and set the cache duration;
[0049] (13) Add asynchronous write storage tasks; if there are multiple output storages, multiple asynchronous write tasks are required;
[0050] Among them: the specific steps for asynchronously writing to storage are as follows:
[0051] (131) Check whether the file expires in the cache;
[0052] (132) If it has expired, exit the write s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


