Implementation method for highly concurrent message queues
A technology of message queue and implementation method, applied in the direction of resource allocation, inter-program communication, instruments, etc., can solve the problems of message queue unable to carry, large concurrency, etc., to avoid the reduction of robustness, improve the response speed, and reduce the system The effect of resource consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] In the server mode, if the data is requested in time, if the data is returned synchronously, the throughput TPS of the server should satisfy the following equation:
[0030] QPS=min{CPU, memory, external interface, IO operation};
[0031] In order to satisfy the above equation, the present invention designs a set of solutions, which decomposes a large task into small tasks one by one through the internal components of the server, realizes data decoupling, and performs asynchronous and concurrent processing of each small task, thereby improving server performance. Throughput TPS, the throughput TPS of the designed server satisfies the following equation:
[0032] QPS=max{min{CPU, memory}, min{external interface, IO operation}};
[0033] Because, min{CPU, memory}>min{external interface, IO operation};
[0034] Therefore, QPS=min{CPU, memory};
[0035] Visible, the performance of the present invention depends on the bottleneck of CPU or internal memory, because the proc...
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