Home > Back-end >  multithreading
multithreading

Time:01-14

Multithreading and locks, queuing, not into a single thread again

CodePudding user response:

So to minimize locking granularity, so as to play a multithreaded bring performance improvement

CodePudding user response:

Although the words are so to speak, but you see before you do project, how many lock synchronization method? More CPU, multithreading is can improve the efficiency of the program is running, as I do the image acquisition of recent projects, collected 125 cameras, if only one thread to handle, it is conceivable that how slow performance and collection efficiency is much lower, so the multithreaded advantage is displayed, as to how many threads and depends on server configuration, recently have time to write an article about multithreading pressure test!