Skip to content

Performance Test on API Maker

[Plan: Linode 4 GB | Region: Mumbai, IN]

⭐ $24 Linode Ubuntu 22.04 LTS, 4GB RAM, 2vCPU, 4TB 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 $24 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 │ 254 ms │ 320 ms │ 387 ms │ 408 ms │ 319.78 ms │ 35.58 ms │ 496 ms │
└─────────┴────────┴────────┴────────┴────────┴───────────┴──────────┴────────┘
┌───────────┬────────┬────────┬────────┬────────┬────────┬─────────┬────────┐
│ Stat      │ 1%     │ 2.5%   │ 50%    │ 97.5%  │ Avg    │ Stdev   │ Min    │
├───────────┼────────┼────────┼────────┼────────┼────────┼─────────┼────────┤
│ Req/Sec   │ 418    │ 430    │ 469    │ 489    │ 467.12 │ 14.78   │ 418    │
├───────────┼────────┼────────┼────────┼────────┼────────┼─────────┼────────┤
│ Bytes/Sec │ 155 kB │ 160 kB │ 174 kB │ 182 kB │ 173 kB │ 5.48 kB │ 155 kB │
└───────────┴────────┴────────┴────────┴────────┴────────┴─────────┴────────┘
Req/Bytes counts sampled once per second of samples: 60

28k requests in 60.04s, 10.4 MB read