Skip to content

Performance Test on API Maker

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

⭐ $36 Linode Ubuntu 22.04 LTS, 4GB RAM, 2CPU, 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 $36 linode server

% autocannon -d 60 -p 15 "http://170.187.237.49/api/custom-api/admin/hello-world"
Running 60s test @ http://170.187.237.49/api/custom-api/admin/hello-world
10 connections with 15 pipelining factor

┌─────────┬────────┬────────┬────────┬────────┬───────────┬───────────┬────────┐
│ Stat    │ 2.5%   │ 50%    │ 97.5%  │ 99%    │ Avg       │ Stdev     │ Max    │
├─────────┼────────┼────────┼────────┼────────┼───────────┼───────────┼────────┤
│ Latency │ 310 ms │ 467 ms │ 612 ms │ 647 ms │ 465.43 ms │ 102.64 ms │ 867 ms │
└─────────┴────────┴────────┴────────┴────────┴───────────┴───────────┴────────┘
┌───────────┬─────────┬────────┬────────┬────────┬────────┬─────────┬─────────┐
│ Stat      │ 1%      │ 2.5%   │ 50%    │ 97.5%  │ Avg    │ Stdev   │ Min     │
├───────────┼─────────┼────────┼────────┼────────┼────────┼─────────┼─────────┤
│ Req/Sec   │ 245     │ 306    │ 321    │ 340    │ 320.86 │ 12.97   │ 245     │
├───────────┼─────────┼────────┼────────┼────────┼────────┼─────────┼─────────┤
│ Bytes/Sec │ 90.9 kB │ 114 kB │ 119 kB │ 126 kB │ 119 kB │ 4.81 kB │ 90.9 kB │
└───────────┴─────────┴────────┴────────┴────────┴────────┴─────────┴─────────┘
Req/Bytes counts sampled once per second of samples: 60

19k requests in 60.05s, 7.14 MB read