Adding Benchmarks - Part II
Explore benchmarking metrics to evaluate the performance of pure versus impure functional HTTP services in Scala. Learn how different implementations affect response times, error rates, memory usage, and system load. Understand the trade-offs and benefits of pure functional programming through practical performance data.
We'll cover the following...
We'll cover the following...
Metrics Recap
To reiterate, we will be using the following metrics to benchmark our endpoints.
- AVG: The average response time in milliseconds
- MED: The median response time in milliseconds
- 90%: 90 percent of all requests were handled within the response time in milliseconds or less.
- 95%: 95 percent of all requests were handled within the response time in milliseconds or less.
- 99%: 99 percent of all requests were handled within the response time in milliseconds or less.
- MIN: The minimum response time in milliseconds
- MAX: The maximum response time in milliseconds
- ERR: The error rate in percent
- R/S: The number of requests per second that could be handled
- MEM: The maximum amount of memory used by the service during the benchmark in MB