Performance Test on API Maker
[Plan: Linode 32 GB | Region: Mumbai, IN]
⭐ $192 Linode Ubuntu 22.04 LTS, 32GB RAM, 8vCPU, 16TB 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 $192 linode server
% autocannon -d 60 -p 15 "http://170.187.250.147/api/custom-api/admin/hello-world"
Running 60s test @ http://170.187.250.147/api/custom-api/admin/hello-world
10 connections with 15 pipelining factor
┌─────────┬───────┬────────┬────────┬────────┬──────────┬──────────┬────────┐
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
├─────────┼───────┼────────┼────────┼────────┼──────────┼──────────┼────────┤
│ Latency │ 60 ms │ 100 ms │ 172 ms │ 186 ms │ 104.4 ms │ 29.52 ms │ 313 ms │
└─────────┴───────┴────────┴────────┴────────┴──────────┴──────────┴────────┘
┌───────────┬────────┬────────┬────────┬────────┬────────┬─────────┬────────┐
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
├───────────┼────────┼────────┼────────┼────────┼────────┼─────────┼────────┤
│ Req/Sec │ 1035 │ 1234 │ 1453 │ 1528 │ 1428.6 │ 85.09 │ 1035 │
├───────────┼────────┼────────┼────────┼────────┼────────┼─────────┼────────┤
│ Bytes/Sec │ 384 kB │ 458 kB │ 539 kB │ 567 kB │ 530 kB │ 31.6 kB │ 384 kB │
└───────────┴────────┴────────┴────────┴────────┴────────┴─────────┴────────┘