Home > Back-end >  A high concurrency processing services, especially low CPU utilization
A high concurrency processing services, especially low CPU utilization

Time:09-18

Of the message processing services according to the requirements to the capacity of 1000 megabits per second, but now only 50,
The CPU can't find where is the bottleneck. Special low CPU usage was 90% free
4 core processor opened eight threads, IO is not high also,
But the news has been in the backlog queue inside, where is the problem?

CodePudding user response:

If it is IO intensive tasks, bottleneck sometimes not reflected in the CPU and IO utilization
One, a single message processing time is too long, whether can optimize process
Second, whether involving concurrent execution order news, data consistency problem, can be more of a queue (or run multiple threads to consume news)?
  • Related