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

Buffering method and server of response message

A technology for responding to messages and buffering methods, which is applied in the directions of instruments, memory systems, memory address/allocation/relocation, etc. It can solve the problems of memory random read and write speed reduction, request accumulation, message increase speed, etc., to improve system stability , saving memory costs, and improving response time

Inactive Publication Date: 2020-12-25
CHINANETCENT TECH
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the memory read / write speed is above 1G / s, if there is a large amount of random memory access, resulting in frequent page faults or page transfers, the memory random read / write speed will be greatly reduced; if the traffic of response messages is large, it will It is easy to cause the response speed of the server network to send messages to not keep up with the speed of message increase, causing requests to accumulate and the server to be unresponsive
[0004] The inventor finds that there are at least the following problems in the prior art: the current SME server, when the memory buffer is full (the network sending speed cannot keep up with the message increase speed), the server can only be stopped or the memory buffer can be dynamically increased This will not only affect the response time of the system but also lead to system instability, and memory is a relatively expensive resource, especially after reaching a certain size and then expanding, the cost is quite 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
  • Buffering method and server of response message
  • Buffering method and server of response message
  • Buffering method and server of response message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized.

[0022] The first embodiment of the present invention relates to a method for buffering response messages, including: when there is a response message that needs to be buffered, judging whether the remaining space of the preset memory buffer can store the response message; if the remaining space of the memory ...

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 invention relates to the technical field of message processing, and discloses a buffer method and server for a responding message. The buffer method for the responding message comprises the steps that when a responding message needing to be buffered exists, it is judged whether or not the responding message can be stored in residual space of a preset memory buffer area; if the responding message can not be stored in the residual space of the memory buffer area, the responding message is stored in a preset disc buffer area. The invention further provides a server. According to the buffer method and server for the responding message, not only are the system responding time and the system stability improved, but also the memory cost is reduced.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of message processing, in particular to a buffering method and server for response messages. Background technique [0002] In order to improve the socket response message sending throughput, it is necessary to write the response message into the buffer by the message processing request thread in the server, and send the message in the buffer by the message processing thread. Therefore, it is necessary to ensure that the message is written to The response speed of the buffer, but also to ensure the response speed of the message sent by the buffer. [0003] At present, for SME servers, the general buffers are only in memory. The bandwidth of the server is generally between 1 and 100M, and the network transmission speed is between 0.12 and 12.5MB / s. However, if the memory read / write speed is above 1G / s, if there is a large amount of random memory access, resulting in frequent page fa...

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): G06F12/02G06F12/0806
CPCG06F12/0253G06F12/0806
Inventor 周龙飞
Owner CHINANETCENT TECH
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