A kind of dns thread management method, device and server based on machine learning

A DNS server and thread management technology, applied in the Internet field, can solve problems such as poor DNS server efficiency, avoid wasting computing resources, improve efficiency, and avoid insufficient threads
CN108446170BActive Publication Date: 2021-06-22BEIJING QIYI CENTURY SCI & TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING QIYI CENTURY SCI & TECH CO LTD
Publication Date
2021-06-22

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

Embodiments of the present invention provide a machine learning-based DNS thread management method, device, and server. The method and device are applied to a DNS server built based on a Linux operating system, specifically for acquiring all threads in the DNS server at preset intervals. The number of requests to process requests; use the preset thread control model to calculate the number of requests to get the optimal number of threads; if the current number of threads is less than the optimal number of threads, add a thread; if the current number of threads is greater than the optimal number of threads, reduce a thread. By dynamically adjusting the number of threads of the DNS server, it is possible to avoid insufficient threads during traffic peaks and to avoid waste of computing resources during low traffic periods, thereby improving the efficiency of the DNS server.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of the Internet, in particular to a machine learning-based DNS thread management method, device and server. Background technique

[0002] DNS (Domain Name System, Domain Name System) refers to a set of systems that map domain names to IP addresses on the Internet, enabling users to use domain names that are easier to remember to access the Internet instead of having to remember The IP number string. DNS can be said to be the basis of almost all current online services. In DNS, domain name managers need to build DNS servers to handle DNS query requests. Usually, when the DNS server program is started, a certain number of threads are opened to process query requests in parallel, and each thread is bound to a CPU core to perform related computing tasks.

[0003] However, the inventors of the present application have found in practice that since the query volume of DNS services is closely related to user beha...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More