Method for optimization of heavy-load communication server based on thread pool and shared pool combination
A thread pool and shared pool technology, applied in the information field, can solve the problems that the server processing speed cannot keep up with the client's reporting speed, the reported data is squeezed, and the data volume is large, so as to avoid server downtime, avoid repeated parsing, improve The effect of analytical efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] A specific embodiment of the present invention is given in conjunction with the accompanying drawings.
[0026] The combination optimization method based on the thread pool and the shared pool of the present invention is mainly used in the case where the reported data needs to be analyzed and stored in time when the server is connected to tens of thousands of GPS clients. It provides an efficient processing method for the stable and timely response of the server.
[0027] In order to realize this optimization method, it is first necessary to initialize the connection buffer queue. The data received from the client is not directly parsed, but put into the buffer queue first, which avoids server downtime caused by large-scale data surges. The processing of data adopts asynchronous multi-threading method, and all threads are managed uniformly through the thread pool. When the thread parses the data, it first checks whether the instruction has been parsed in the shared poo...
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