# GetById with Caching on 8 GB Linode

> 8 GB Linode (Mumbai) benchmark:- Cached GetById ran ~442K requests in 60s, reading ~225 MB—fast, cache-powered access efficiency.

Source: https://docs.apimaker.dev/v1/docs/performance/api-maker/Linode/Dedicated-CPU/60-Server/GetByIdWithcache.html

## [Plan: Linode 8 GB | Region: Mumbai, IN]

⭐ $90 Linode Ubuntu 22.04 LTS, 8GB RAM, 4CPU, 5TB Bandwidth

- MongoDB 6, Redis are inside server installed using docker.
- Server Location: Mumbai
- Benchmark taken by server location: Mumbai
- Date: 17-Apr-2023

## API Maker Benchmarking of Get By ID with caching using $90 linode server
```

% autocannon -d 60 -p 15 "http://170.187.237.49/api/schema/admin/mongo/northwind/customers_benchmark/get-by-id/60ae24c8c37cd955cc144162"
Running 60s test @ http://170.187.237.49/api/schema/admin/mongo/northwind/customers_benchmark/get-by-id/60ae24c8c37cd955cc144162
10 connections with 15 pipelining factor

┌─────────┬───────┬───────┬───────┬───────┬──────────┬─────────┬────────┐
│ Stat    │ 2.5%  │ 50%   │ 97.5% │ 99%   │ Avg      │ Stdev   │ Max    │
├─────────┼───────┼───────┼───────┼───────┼──────────┼─────────┼────────┤
│ Latency │ 27 ms │ 39 ms │ 55 ms │ 60 ms │ 39.34 ms │ 7.15 ms │ 158 ms │
└─────────┴───────┴───────┴───────┴───────┴──────────┴─────────┴────────┘
┌───────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐
│ Stat      │ 1%      │ 2.5%    │ 50%     │ 97.5%   │ Avg     │ Stdev   │ Min     │
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
│ Req/Sec   │ 3533    │ 3567    │ 3767    │ 3953    │ 3764.9  │ 97.25   │ 3532    │
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
│ Bytes/Sec │ 2.29 MB │ 2.31 MB │ 2.44 MB │ 2.56 MB │ 2.44 MB │ 63.1 kB │ 2.29 MB │
└───────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
```
Req/Bytes counts sampled once per second of samples: 60
## 226k requests in 60.03s, 146 MB read
