Unlock instant, AI-driven research and patent intelligence for your innovation.

A command distribution method, device and system in a distributed system

A distributed system and command technology, applied in the computer field, can solve the problem of high load on the main server

Active Publication Date: 2020-12-15
HUAWEI TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the read command can only be executed on the master server, the load on the master server will be too high

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
  • A command distribution method, device and system in a distributed system
  • A command distribution method, device and system in a distributed system
  • A command distribution method, device and system in a distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0034] The embodiment of the invention discloses a command distribution method, device and system, which are used to reduce the load on the main server in the server cluster. Each will be described in detail below.

[0035] In order to better understand a command distribution method and device disclosed in the embodiments of the present invention, the network architecture used in the embodiments of the present invention will be described below fi...

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 embodiment of the present invention discloses a command distribution method, device and system in a distributed system. The method includes: receiving the first command carrying the command type sent by the client; when the command type of the first command is used to indicate the first command For reading commands, select a server from the server cluster as the target server according to preset rules, the server cluster includes all servers in the distributed system or servers that store the operation data required by the first command; send the first command to the target server , to trigger the target server to execute the first command. By implementing the embodiment of the present invention, the load on the master server in the server cluster can be reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a command distribution method, device and system in a distributed system. Background technique [0002] In a distributed system, in order to ensure the disaster tolerance of the distributed system, it is necessary to ensure the data consistency of each server in the server cluster (ie, all servers in the distributed system). Among them, in order to ensure the data consistency of each server in the server cluster, one server will be selected from the server cluster as the master server, and the rest of the servers will be used as slave servers. The master server is responsible for receiving the commands sent by the client. When the master server receives When the command is a write command, the master server executes the command and sends it to all slave servers asynchronously for execution. When the command received by the master server is a read command, since the dat...

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/1004H04L67/1001
Inventor 吴国军黄西华刘存伟
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More