Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```