Method and device for dynamically adjusting threads
A dynamic adjustment and thread technology, applied in the field of thread management, can solve problems such as limited number of concurrency, fast processing speed, and overall system performance impact, so as to avoid the increase of machine load and ensure the effect of processing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0033] The invention provides a method for dynamically adjusting threads.
[0034] refer to figure 1 , figure 1 It is a schematic flowchart of an embodiment of a method for dynamically adjusting threads in the present invention.
[0035] In one embodiment, the method for dynamically adjusting threads includes:
[0036] Step S10, reading a preset amount of buffered data from the input data file to be processed into a preset data buffer;
[0037] In this embodiment, when a large batch of data needs to be executed, because the data flow is too large, it is impossible to read all the large batch of data to be executed into the memory. Therefore, a data buffer is preset for A preset amount of buffered data is read from a large batch of input data files and cached so that the current thread can directly read the buffere...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

