# Stream Query (8 GB Linode)

> 8 GB Linode benchmark:- ~2.2K req/sec (~133K in 60s), 309 MB read. Demonstrates API Maker’s high-efficiency streaming capabilities.

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

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

⭐ $48 Linode Ubuntu 22.04 LTS, 8GB RAM, 4vCPU, 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 GetAll By stream API using $48 linode server
```

% autocannon -d 60 -p 15 "http://172.232.67.15/api/schema/admin/mongo/northwind/customers_benchmark/stream"
Running 60s test @ http://172.232.67.15/api/schema/admin/mongo/northwind/customers_benchmark/stream
10 connections with 15 pipelining factor

┌─────────┬───────┬───────┬───────┬────────┬──────────┬──────────┬────────┐
│ Stat    │ 2.5%  │ 50%   │ 97.5% │ 99%    │ Avg      │ Stdev    │ Max    │
├─────────┼───────┼───────┼───────┼────────┼──────────┼──────────┼────────┤
│ Latency │ 46 ms │ 66 ms │ 98 ms │ 112 ms │ 67.24 ms │ 13.73 ms │ 208 ms │
└─────────┴───────┴───────┴───────┴────────┴──────────┴──────────┴────────┘
┌───────────┬─────────┬─────────┬─────────┬─────────┬─────────┬────────┬─────────┐
│ Stat      │ 1%      │ 2.5%    │ 50%     │ 97.5%   │ Avg     │ Stdev  │ Min     │
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────────┤
│ Req/Sec   │ 2093    │ 2101    │ 2217    │ 2341    │ 2213.6  │ 63.33  │ 2093    │
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────────┤
│ Bytes/Sec │ 4.87 MB │ 4.88 MB │ 5.15 MB │ 5.44 MB │ 5.14 MB │ 147 kB │ 4.86 MB │
└───────────┴─────────┴─────────┴─────────┴─────────┴─────────┴────────┴─────────┘
```
Req/Bytes counts sampled once per second of samples: 60
## 133k requests in 60.03s, 309 MB read
