Method and device for processing concurrent access requests
A technology for accessing requests and processing devices, applied in special data processing applications, electrical components, transmission systems, etc., can solve problems such as inability to complete data rewriting, object loss, affecting the performance of B-tree structure writing, and avoid concurrency. Effects of Access Violation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Embodiment 1 of the present invention provides a concurrent access request processing method, such as Figure 4 shown, including:
[0056] S101: Receive at least two concurrent access requests for the same data resource.
[0057] Specifically, for data resources with hotspot access, in the object storage system based on the underlying distributed storage engine, different clients based on the HTTP protocol will initiate access requests to the data resources, that is, there are at least Two concurrent access requests. The upper layer application receives the at least two concurrent access requests to the same data resource.
[0058] S102: Sort the received at least two concurrent access requests.
[0059] Specifically, in the embodiment of the present invention, at least two concurrent access requests of the same data resource received by the upper-layer application are sorted, which can be directly sorted on different engine access agents that request data resources ...
Embodiment 2
[0063] Embodiment 2 of the present invention will describe in detail the method for processing concurrent access requests involved in Embodiment 1 in combination with practical applications.
[0064] For the object storage technology based on the two-tier business model of containers and objects, when more than one client adds objects to a container at the same time, the sub-data block data of the index relational table will become a hotspot, that is, there are more than one access ask. To request access to the index table between the container and the object, the embodiment of the present invention will sort the concurrent access requests of the same index table to ensure that there is only one read and write operation for the same index table at the same time, and avoid concurrent access conflicts.
[0065] In the embodiment of the present invention, the process of sorting the access requests is described in detail. For other processing steps of concurrent access requests, r...
Embodiment 3
[0083] Based on the concurrent access request processing methods provided in Embodiment 1 and Embodiment 2, this embodiment of the present invention provides a device for processing concurrent access requests, such as Figure 8 As shown, the concurrent access request processing device provided by the embodiment of the present invention includes a receiving unit 801, a sorting unit 802, and an accessing unit 803, wherein,
[0084] The receiving unit 801 is configured to receive at least two concurrent access requests for the same data resource, and transmit at least two concurrent access requests to the sorting unit 802;
[0085] The sorting unit 802 is configured to receive at least two concurrent access requests transmitted by the receiving unit 801, sort the at least two concurrent access requests, and transmit the sorted concurrent access requests to the access unit 803;
[0086] The access unit 803 is configured to receive the sorted concurrent access requests transmitted ...
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