Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data write request processing method, device and distributed data storage system

A technology of request processing and data writing, which is applied in the field of computer networks, can solve problems such as inability to achieve load balancing, and achieve the effect of solving single-point restrictions and realizing load balancing

Active Publication Date: 2019-06-07
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For KV storage, Nginx's built-in load balancing strategy, whether it is round-robin, ip_hash, or url_hash, cannot meet the demand for load balancing based on key. For example, the distributed component uses 1Primary- Take the storage mode of 1Replica Shard as an example, which inevitably involves two operations of writing storage, and these two writing operations need to be two completely different nodes, but the built-in load balancing strategy of Nginx cannot meet such highly customized requirements , the fundamental reason is that Nginx's load balancing strategy completely shields details such as the address of the storage node from the outer layer, and it is impossible to obtain the address of a storage node through any built-in function when writing the http module, that is to say, these details It is transparent to developers, thus limiting the implementation of customized load balancing strategies

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data write request processing method, device and distributed data storage system
  • Data write request processing method, device and distributed data storage system
  • Data write request processing method, device and distributed data storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0026] The present invention proposes a data write request processing method and device, which are applicable to a distributed data storage system, and the system includes: a client, a Linux virtual server cluster (LVS), a distributed component (HustDB HA, referred to as HA) and a storage engine (HustDB). Wherein, the distributed component is a reverse proxy server, specifically an Nginx server. The client and LVS can be used as t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data writing request processing method, device and distributed data storage system. Wherein, the method writes data to the storage node based on the data write request sent by the caller, wherein the data write request includes a main request and at least one sub-request, and the method includes: for a sub-request, calling the access interface to select the data to be written from the global variable The storage node address of the storage node that enters the data, and sends a sub-request to the storage node, wherein the selected storage node address is saved in the context of the sub-request; the selected storage node address is extracted from the context of the sub-request, and saved to the storage node In the context of the node; extract the address of the storage node from the context of the storage node, establish a connection with the storage node, and write the data to the corresponding storage node, which can meet the customization requirements of the caller and write data to the specified storage node, realizing Customized load balancing solves the single-point limitation of KV storage.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a data write request processing method, device and distributed data storage system. Background technique [0002] In a distributed data storage system, a distributed component is generally used to forward the data write request sent by the caller to the storage engine, wherein the distributed component is a reverse proxy server, specifically, an Nginx server. For KV storage, Nginx's built-in load balancing strategy, whether it is round-robin, ip_hash, or url_hash, cannot meet the demand for load balancing based on key. For example, the distributed component uses 1Primary- Take the storage mode of 1Replica Shard as an example, which inevitably involves two operations of writing storage, and these two writing operations need to be two completely different nodes, but the built-in load balancing strategy of Nginx cannot meet such highly customized requirements , the fundam...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1097H04L67/1001
Inventor 徐锐波程卓
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products