Auction bidding system based on distributed non-blocking asynchronous message processing mode and operation method thereof
An asynchronous message and processing mode technology, applied in data processing applications, electrical digital data processing, inter-program communication, etc., to achieve the effect of reducing coupling, increasing response speed, and increasing the ability of high concurrent requests
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] Auction bidding system based on distributed non-blocking asynchronous message processing mode, such as image 3 As shown, it includes nginx server, node server, Tomcat cluster, message queue, bidding logic processing module cluster, oracle database; nginx server, Tomcat cluster, message queue, bidding logic processing module cluster, and node server are connected in sequence;
[0047] The user initiates a request and sends it to the Tomcat cluster through the nginx server. The Tomcat cluster converts the request into a message, stores the message in the message queue, and feeds back a response to the user. The feedback is used to prompt the user that the request has been received and is being processed. At the same time, the bidding logic processing module cluster processes the messages in the message queue, and notifies the corresponding users of the processing results through the node server;
[0048] The nginx server is also used to balance the load, and is configure...
Embodiment 2
[0057] The auction bidding system described in Embodiment 1 realizes the method for asynchronous message processing and directional sending of messages, including the following steps:
[0058] (1) The user enters the bidding page of the target target through the user terminal. The page uses javascript to generate a 20-digit random code and establishes a long connection with the node server. The node server records the association between the random code and the long connection socket in the hash table, that is, random The mapping relationship between the code and the long connection socket;
[0059] (2) The user initiates a request through the user terminal, and sends the request and the generated random code to the Tomcat cluster through the nginx server. After receiving the request, the Tomcat cluster converts the request into a message, and puts the message and the random code into the message Queue, immediately return user "message submitted";
[0060] (3) The bidding log...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com