Performance Test on API Maker
[Plan: Linode 8 GB | Region: Mumbai, IN]
⭐ $48 Linode Ubuntu 22.04 LTS, 8GB RAM, 4vCPU, 5TB Bandwidth
- MongoDB 6, Redis are inside server installed using docker.
- Server Location: Mumbai
- Benchmark taken by server location: Mumbai
- Date: 17-Apr-2023
⭐Custom API
- Type: TCP
- Return data: {"hello": "world"}
API Maker Benchmarking of Custom API with 10 records using $48 linode server
% autocannon -d 60 -p 15 "http://172.232.67.15/api/custom-api/admin/hello-world"
Running 60s test @ http://172.232.67.15/api/custom-api/admin/hello-world
10 connections with 15 pipelining factor
┌─────────┬───────┬────────┬────────┬────────┬───────────┬─────────┬────────┐
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
├─────────┼───────┼────────┼────────┼────────┼───────────┼─────────┼────────┤
│ Latency │ 96 ms │ 168 ms │ 249 ms │ 270 ms │ 168.81 ms │ 39.6 ms │ 410 ms │
└─────────┴───────┴────────┴────────┴────────┴───────────┴─────────┴────────┘
┌───────────┬────────┬────────┬────────┬────────┬────────┬─────────┬────────┐
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
├───────────┼────────┼────────┼────────┼────────┼────────┼─────────┼────────┤
│ Req/Sec │ 811 │ 820 │ 887 │ 930 │ 884.97 │ 27.77 │ 811 │
├───────────┼────────┼────────┼────────┼────────┼────────┼─────────┼────────┤
│ Bytes/Sec │ 301 kB │ 304 kB │ 329 kB │ 345 kB │ 328 kB │ 10.3 kB │ 301 kB │
└───────────┴────────┴────────┴────────┴────────┴────────┴─────────┴────────┘