Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmbanugo/midas-cache-examples
examples for midas-cache
https://github.com/pmbanugo/midas-cache-examples
cache cache-middleware
Last synced: about 1 month ago
JSON representation
examples for midas-cache
- Host: GitHub
- URL: https://github.com/pmbanugo/midas-cache-examples
- Owner: pmbanugo
- Created: 2024-08-12T12:49:22.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-12T13:55:24.000Z (5 months ago)
- Last Synced: 2024-11-26T20:41:00.511Z (about 1 month ago)
- Topics: cache, cache-middleware
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# midas-cache-examples
Here's you'll find the sample app used to show how [midas-cache](https://github.com/pmbanugo/midas-cache) works, and its benchmark. The README in each project contains set up instructions.
Running the benchmark produces the following result:
```sh
hyperfine --warmup 1 'oha --no-tui -n 500 http://localhost:3000/records'
'oha --no-tui -n 500 http://localhost:3001/records'
'oha --no-tui -n 500 http://localhost:3003/records'
'oha --no-tui -n 500 http://localhost:3004/records'
```Result:
```
Summary
oha --no-tui -n 500 http://localhost:3003/records ran
1.39 ± 1.90 times faster than oha --no-tui -n 500 http://localhost:3004/records
3.76 ± 0.38 times faster than oha --no-tui -n 500 http://localhost:3000/records
32.73 ± 3.42 times faster than oha --no-tui -n 500 http://localhost:3001/records
```