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

https://github.com/chmoder/rust-practice-actix-web


https://github.com/chmoder/rust-practice-actix-web

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# rust practice actix web
Example actix web server with redis and deadpool

### Setup:
1) Install redis server
2) Install rustup https://rustup.rs/
3) clone this repo
4) `cargo run --package rust-practice-actix-web --bin rust-practice-actix-web --release`

### Usage:
```
GET /{username}/{id}/index.html HTTP/1.1
Host: 127.0.0.1:8080
```

```shell script
siege -c1000 -r 50 -H 'http://127.0.0.1:8080/chmoder/1/index.html'
```