Design method of memory server based on Redis

A memory server and design method technology, applied in the field of Redis-based memory server design, can solve problems such as increasing the burden on the database, and achieve the effects of reducing frequent operations, improving performance, and reducing pressure

Active Publication Date: 2019-01-08
南京朝焱智能科技有限公司
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If data is continuously inserted into the database in real time, this will increase the burden on the database

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
  • Design method of memory server based on Redis
  • Design method of memory server based on Redis
  • Design method of memory server based on Redis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0076] The present invention proposes a design method of a Redis-based memory server, which adopts a time-slice round-robin scheduling scheme to allocate memory, uses different keys to allocate, organizes Redis data within a certain period of time, and then stores them in batches in the database.

[0077] Such as figure 1 As shown, the Redis-based memory server design method of the embodiment of the present invention includes the following steps:

[0078] Step S1, assigning a unique key to each terminal, wherein the 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 provides a design method of a memory server based on Redis, which comprises the following steps: allocating a unique key for each terminal; starting the monitor process, receiving a datalink sent by an external terminal, parsing the data link and inducing the data link to the key of the corresponding terminal number of the memory server according to the terminal number of the terminal, storing each parsed data into a map set, obtaining the terminal number of the data, and setting the key of the memory server for storing the data of the matching terminal; storing all data of eachterminal in a key matched with the terminal in a redis memory server; judging whether the data in the memory server meets the deletion condition, and if so, deleting the data in the memory server. The method has the condition of dealing with large-scale concurrency, the memory server reduces the data processing pressure of the cloud platform, improves the performance, and reduces the frequent operation of the database through the method of inserting the database in batch.

Description

technical field [0001] The invention relates to the technical field of memory servers, in particular to a Redis-based memory server design method. Background technique [0002] In previous solutions, when a large amount of data comes to the cloud platform, Redis is used to temporarily store the data. Redis is a log-type, Key-Value database that can be based on memory or can be persisted. If only Redis is used, the problem caused is that there is no interaction with the database, and there are certain defects in data storage. The cloud platform is responsible for receiving, saving and displaying terminal data. If data is continuously inserted into the database in real time, this will increase the burden on the database. Contents of the invention [0003] The aim of the present invention is to solve at least one of said technical drawbacks. [0004] For this reason, the purpose of the present invention is to propose a kind of memory server design method based on Redis. ...

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/50G06F16/172G06F16/182G06F16/178
CPCG06F9/5016
Inventor 鲁晓军黄留进
Owner 南京朝焱智能科技有限公司
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