Method and system for achieving concurrent requests based on connection pool of lock
A connection pool and connection number technology, applied in the field of computer communication, can solve problems such as memory leaks, achieve the effect of improving performance, simplifying the process, and avoiding the establishment and destruction of connections
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The present invention will be further described below in conjunction with the accompanying drawings.
[0023] see figure 1 As shown, a method for implementing concurrent requests based on a lock-based connection pool of the present invention, the method includes the following steps:
[0024] Step S1, setting a connection pool of a lock, the connection pool includes a lock array and a connection array, the lock array corresponds to the connection array one by one, and there are N connections in the connection pool, each connection in the connection pool All correspond to create a connection array unit, where the lock array is set with an available state and a lock state. If the lock in the lock array is in the available state, it means that the corresponding connection array unit is not used, and the lock in the lock array is in the lock state. It means that the unit of the corresponding connection array is used;
[0025] Step S2, when the external site requests to acc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



