How to count the qps of Node.js interface (number of queries per second)

there is currently an API interface program using express. With PM2 deployment and cluster mode enabled, 3 instances
are required to count the overall qps (number of queries per second).
now the interface puts the content into the kafka message queue after it is requested.
is it too inefficient to write requests to log files? So I haven"t done it yet.
the throughput measured by the jmeter stress test tool is about 1500 / s
is there a good way?
found only one middleware that restricts qps qps-limit

Menu