Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Panic buying request processing method, application server cluster and storage medium

An application server and request processing technology, applied in the field of data processing, can solve problems such as database concurrent read and write conflicts, large traffic, resource lock request conflicts, etc., to achieve the effect of improving response ability, improving processing efficiency, and relieving pressure

Active Publication Date: 2018-11-27
KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the traffic at the beginning of the activity is very large, and they are all requesting the same resources, so it will cause serious database concurrent read and write conflicts and resource lock request conflicts

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
  • Panic buying request processing method, application server cluster and storage medium
  • Panic buying request processing method, application server cluster and storage medium
  • Panic buying request processing method, application server cluster and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0019] The invention provides a seckill request processing method. refer to figure 1 Shown is a flow chart of a preferred embodiment of the seckill request processing method of the present invention. The method may be performed by a device, and the device may be implemented by software and / or hardware.

[0020] In this embodiment, the seckill request processing method includes steps S1-S5:

[0021] S1. According to the preset rules, the inventory of flash sale products is evenly distributed to multiple cache servers in the cache server cluster, and the virtual inventory corresponding to each cache server is determined respectively;

[0022] A cache server cluster is predetermined, wherein the cache server cluster includes m cache servers, and the cache server cluster is used as a first-level cache.

[0023] Before...

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 panic buying request processing method. The method comprises the following steps: respectively determining the virtual inventory corresponding to each cache server; receivingthe panic buying request submitted by the user and allocating the panic buying request to a plurality of servers in the server cluster through load balancing; Reading the specific information of the panic buying request and performing qualification verification on the panic buying request; deducting the virtual inventory of the cache server corresponding to the panic buying request when the qualification verification is successful, generating the preset token information corresponding to the panic buying request and storing the preset token information in the preset first level cache; and receiving the transaction request submitted by the user in response to the panic buying request passing the qualification verification to verify the real-time token information and deducting the real inventory in the database when the token verification is passed so that the panic buying is successful. The invention also provides an application server cluster and a storage medium. With application ofthe panic buying request processing method, the processing efficiency of the panic buying request can be improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a seckill request processing method, an application server cluster and a computer-readable storage medium. Background technique [0002] In the field of e-commerce, some activities are often carried out in order to attract users, such as flash sales activities. The seckill activity is to launch some products at a lower price. The quantity of these commodities is limited, and users are required to rush to buy them in order to attract users. However, the traffic at the beginning of the activity is very large, and they are all requesting the same resources, which will cause serious database concurrent read and write conflicts and resource lock request conflicts. Contents of the invention [0003] In view of the above, the present invention provides a seckill request processing method, an application server cluster and a computer-readable storage medium, the main p...

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/50G06F12/0811G06F12/0866G06Q30/06
CPCG06F9/505G06F9/5083G06F12/0811G06F12/0866G06Q30/0635Y02D10/00
Inventor 陈仁义
Owner KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products