undefinedfix
Sign in

How to judge whether the process is Io intensive or CPU intensive

TomDT edited in Tue, 22 Sep 2020

For example, you have written an application, and now you plan to deploy it to the production server, in order to avoid that the selected device cannot provide a suitable environment. Now I want to know if there is any tool to help me know whether this application is Io intensive, CPU intensive or even memory intensive. NoSQL such as mongodb and redis may be introduced.

4 Replies
suxbr
commented on Tue, 22 Sep 2020

You're right Whether it is Io intensive or CPU intensive should be clear to developers themselves. If your application mainly uses CPU computing, that is, consumes more CPU resources, it is CPU intensive. If it is more IO related, such as receiving a front-end request -- parsing parameters -- querying database -- returning to the front-end, it is Io intensive.

miuxt
commented on Tue, 22 Sep 2020

Shouldn't you know what type of application you are doing?

Take a look at this blog: http://blog.csdn.net/q_ l_ s/ar...

eyuzi
commented on Tue, 22 Sep 2020

The simplest way is not to directly look at the CPU occupancy, hard disk IO read and write speed?

TitleLoansKaysville
commented on Tue, 22 Sep 2020

Look what your code is for.

lock This question has been locked and the reply function has been disabled.