# GetById with Caching on 32GB Linode

> Cached GetById on 32GB Linode — ~442K requests in 60s, ~286MB read. Fast and efficient data retrieval.

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

## [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

## API Maker Benchmarking of Get By ID With caching API with 10 records using $192 linode server
```

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

┌─────────┬───────┬───────┬───────┬───────┬──────────┬─────────┬────────┐
│ Stat    │ 2.5%  │ 50%   │ 97.5% │ 99%   │ Avg      │ Stdev   │ Max    │
├─────────┼───────┼───────┼───────┼───────┼──────────┼─────────┼────────┤
│ Latency │ 37 ms │ 44 ms │ 55 ms │ 58 ms │ 44.77 ms │ 4.78 ms │ 101 ms │
└─────────┴───────┴───────┴───────┴───────┴──────────┴─────────┴────────┘
┌───────────┬─────────┬──────┬─────────┬─────────┬─────────┬────────┬─────────┐
│ Stat      │ 1%      │ 2.5% │ 50%     │ 97.5%   │ Avg     │ Stdev  │ Min     │
├───────────┼─────────┼──────┼─────────┼─────────┼─────────┼────────┼─────────┤
│ Req/Sec   │ 6135    │ 6179 │ 6615    │ 6879    │ 6626.87 │ 187.98 │ 6134    │
├───────────┼─────────┼──────┼─────────┼─────────┼─────────┼────────┼─────────┤
│ Bytes/Sec │ 3.98 MB │ 4 MB │ 4.29 MB │ 4.46 MB │ 4.29 MB │ 122 kB │ 3.97 MB │
└───────────┴─────────┴──────┴─────────┴─────────┴─────────┴────────┴─────────┘

```
Req/Bytes counts sampled once per second of samples: 60
## 398k requests in 60.03s, 258 MB read
