Status server load balancing method, system and device and storage medium

A state server and load balancing technology, applied in the computer field, can solve problems such as system single point of failure, uneven load distribution, difficult dynamic expansion of servers, etc., to achieve the effect of removing single point of failure and realizing dynamic load balancing

Pending Publication Date: 2021-03-16
HANGZHOU ELECTRONICS SOUL NETWORK TECH
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a method, system, device, and storage medium for stateful server load balancing, which at least solve the problem of uneven load distribution, single point of failure in the system, and server The problem of difficult dynamic expansion

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
  • Status server load balancing method, system and device and storage medium
  • Status server load balancing method, system and device and storage medium
  • Status server load balancing method, system and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application. In addition, it can also be understood that although such development efforts may be complex and lengthy, for those of ordinary skill in the art relevant to the content disclosed in this application, the technology disclosed in this application Some design, manufacturing or production changes based on the content are just conventional technical means, and...

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 relates to a stateful server load balancing method, system and device and a storage medium, and the method comprises the steps: obtaining an idle server in a rear-end server, wherein theidle server is a first server, distributing game resources to the first server through a setup instruction of redis, and enabling the first server to be a second server; connecting game resources tothe first server for service, enabling the first server to conduct renewal according to the binding relation between redis and the game resource within a preset interval time, and finally under the condition that no renewal exists within the preset time in redis, expiring the binding relationship between the first server and the game resources, and reallocating the game resources. Through the application, the problems that when game resources are allocated in a stateful server, the load allocation is uneven, the system has a single-point fault, and the server is difficult to dynamically expandare solved.

Description

technical field [0001] The present application relates to the computer field, in particular to a method, system, device and storage medium for stateful server load balancing. Background technique [0002] For server programs, there are two important basic assumptions, that is, whether the server is based on stateful requests or stateless requests. Among them, game servers are generally stateful servers. The stateful server maintains the status information of each connection on the server side. When the server side receives the request sent by each connection, it can reproduce the context relationship from the locally stored information. In this way, the client can easily use the default information, and the server can also easily perform state management. For example, when a game user logs in, the server can obtain his previous game registration information according to the user name; and in the subsequent processing, the server can easily find the user's historical informa...

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): G06F9/50A63F13/352
CPCA63F2300/531A63F13/352G06F9/5027G06F9/5083
Inventor 肖铁
Owner HANGZHOU ELECTRONICS SOUL NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products