Sunday, January 31, 2021

What are various API Performance Metrics

 Response time — total processing time, latency

Throughput — Requests Per Second, request payloads, maximum operating capacity

Traffic composition — average and peak concurrent users

Database — number of concurrent connections, CPU utilization, read and write IOPS, memory consumption, disk storage requirements

Errors — handling, failure rates


To simulate concurrent users executing the same requests, you can use Newman to run parallel collections,

You can also tweak your Operating System limits to allow a higher number of concurrent TCP sockets. However, your network hardware may become a bottleneck if you wanted to simulate more users.



No comments:

Post a Comment