A dns thread management method, device and server
A DNS server and thread management technology, applied in the Internet field, can solve the problems of poor DNS server efficiency and achieve the effects of avoiding waste of computing resources, reducing threads, and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] figure 1 A flowchart of a DNS thread management method provided by the embodiment of the present invention.
[0051] The DNS thread management method provided in this embodiment is applied to the DNS server based on Linux system, specifically, the management method in this application is applied only to the Linux system, which is built on the physical server running the Linux system.
[0052] Refer figure 1 As shown, the specific steps of the DNS thread management method provided in the present invention are:
[0053] S101: Quantity of requests for all threads processed in the DNS server in real time.
[0054] That is, during the running of the DNS server, all the threads are monitored, monitor the total request for all threads, the total amount of requests processed by the DNS, to which the DNS server is in the traffic peak or Delivery trough is judged.
[0055] S102: Determine the working status of the DNS server based on the number of requests.
[0056] That is, accordi...
Embodiment 2
[0093] figure 2 A structural block diagram of a DNS thread management apparatus provided by the embodiment of the present invention.
[0094] The DNS thread management apparatus provided in this embodiment is applied to the DNS server based on the Linux system, specifically, the management method in this application is applied to the Linux system, which is built on the physical server running the Linux system.
[0095] Refer figure 2 As shown, specific to the DNS thread management apparatus provided in the present invention includes a request number detection module 10, a working state determination stroke 20, a first thread maintenance module 30, and a second thread maintenance module 40.
[0096] The request quantity detection module is used to detect the number of requests processed by all threads in the DNS server in real time.
[0097] That is, during the running of the DNS server, all the threads are monitored, monitor the total request for all threads, the total amount of ...
Embodiment 3
[0117] This embodiment provides a server that sets a DNS server based on a Linux operating system, which is provided with a DNS thread management device as provided in the above embodiment. The apparatus is specifically used to detect the number of requests processed in all threads in the DNS server in real time during operation of the DNS server; determine the request quantity in accordance with the preset determination rule to determine that the DNS server is in a preset flow rate or The preset flow is low. When the DNS server is in the traffic peak state, the thread is added; when the DNS server is in the flow rate, the thread is reduced. By dynamic adjustment of the number of threads of the DNS server, it can avoid lack of threads during traffic peak state, or avoid calculating the calculation resource waste during traffic, thereby increasing the efficiency of the DNS server.
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