High-concurrency agricultural product online trading system and construction method and operation method thereof
An online transaction and agricultural product technology, applied in the direction of buying and selling/leasing transactions, data processing applications, instruments, etc., can solve the problems of high coupling and fragility of the back-end management system, improve query efficiency, reduce access pressure, and achieve low coupling. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] A highly concurrent online trading system for agricultural products, such as figure 1 As shown, it includes the presentation layer, service layer and persistence layer connected in sequence; the presentation layer communicates with the service layer through the service middleware Dubbo, the service layer connects to the persistence layer through the cache database Redis, and the presentation layer and the cache database Redis use ActiveMQ as the message queue ;
[0046] The presentation layer is used to process the interaction with the page; the service layer is used to provide external services; the persistence layer is used to interact with the cache database Redis.
[0047] The present invention uses Redis as a cache database, which can reduce database access pressure and improve query efficiency. At the same time, the present invention uses ActiveMQ as a message queue to eliminate high concurrent access peaks, speed up website response speed, and effectively improve...
Embodiment 2
[0052] A method for building a highly concurrent online transaction system for agricultural products described in Embodiment 1, comprising:
[0053] (1) Build a server cluster: use several servers to build a server cluster;
[0054] (2) Install the MySQL database: select a server to deploy the MySQL database;
[0055] (3) Deploy Redis cluster: select several servers, deploy cache database Redis on each server, set some of the servers as Redis master nodes, and the remaining servers as Redis slave nodes; increase memory capacity.
[0056] (4) Install ActiveMQ, select a server to deploy ActiveMQ; use the publish / subscribe mode of ActiveMQ, the producer publishes the operation message to ActiveMQ, and the consumer takes it out and performs the corresponding operation;
[0057] (5) Install Dubbo, modify the configuration file to associate Redis and MySQL.
[0058] The operation method of the above-mentioned high-concurrency online trading system for agricultural products include...
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