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

Request processing method and device based on server cluster, and medium

A request processing and server-side technology, applied in the transmission system, electrical components, etc., can solve problems such as poor user experience, inconsistent status with the client, and affecting system availability, so as to improve usability and user experience.

Active Publication Date: 2020-12-22
INSPUR COMMON SOFTWARE
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the previous request has not been processed on the new node, the state is inconsistent with the client, which leads to the inability to correctly process the client request
[0004] At present, the existing processing method is to perform a simple check to determine that the status of the client and the server is inconsistent, and then prompt, requiring the client to re-execute the operation before the crash, which affects system availability and poor user experience

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
  • Request processing method and device based on server cluster, and medium
  • Request processing method and device based on server cluster, and medium
  • Request processing method and device based on server cluster, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022]In order to make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions of the present application will be described clearly and completely in conjunction with specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0023]The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0024]The embodiment of the present application provides a request processing method based on a server cluster, which is applied in a processing system, and the processing system includes a client and a serve...

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 request processing method and device based on a server cluster and a medium, the method comprises the steps that the method is applied to a processing system, the processingsystem comprises a client and the server cluster, and the method comprises the steps that the server cluster receives a first request sent by the client and routes the first request to a first serviceterminal; the first service terminal performs corresponding processing on the first request and writes a corresponding processing result into a persistence layer after the processing is finished; theservice terminal cluster receives a second request sent by the client, and routes the second request to a second service terminal when the first service terminal is in an abnormal state; and the second service terminal acquires a processing result in the persistence layer, and correspondingly processes the second request based on the processing result. Even if the first service terminal crashes,the second service terminal can obtain the processing result in the persistence layer. When the second service terminal processes the second request, the client does not need to execute the operationbefore the crash again, and the second service terminal can process the second request, so that the availability of the system is improved, and the user experience is also improved.

Description

Technical field[0001]This application relates to the field of server clusters, and in particular to a request processing method, device and medium based on server clusters.Background technique[0002]Modern server / client mode (Server / Client, C / S) or browser / server mode (Browser / Server, B / S) In order to meet the simultaneous use of a large number of users, the server usually adopts the cluster mode, and the cluster contains multiple The server node provides services for each client at the same time.[0003]In cluster mode, if you want to provide stateful services, sticky sessions are generally used, that is, after a client's first request is routed to a server node, its subsequent requests will be routed to the same node. If a server node crashes in the process of processing a client request, the next request of the client will be routed to an available new node. However, because the previous request has not been processed on the new node, the status is inconsistent with the client, and ...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/1004H04L67/63
Inventor 张进
Owner INSPUR COMMON SOFTWARE