Home > other >  How to make a computer for a second issue 1 w get request?
How to make a computer for a second issue 1 w get request?

Time:10-02

Requirements: I want to get in a short time a site 100 w times,
Thinking and process:
Do a small software, start a thread loop of get an average of around a 15 ms, namely 1 seconds to get 700 times or so,
I start 100 threads execute cycle, can get 1 SEC 700 * 100 times, the results of 100 threads 1 second is about 700 times,

I put the software package is good, in a computer start 10 software at the same time, the thought of a second request number is 700 * 10

However the more open the request of software, each software the greater the average of a time, on average, or about 700 times a second request

Ask:
How can we achieve a computer to send out 1 w a second request? Thank you ~!

Note: the requested url was not judging a visiting, please don't entangled with each other whether I quick access restrictions,

CodePudding user response:

Search "Mao Decao Windows thread scheduling"

CodePudding user response:

Threads are not really more core, is only the simulation, sure this, you need a 70 core server
  • Related