https://github.com/chmoder/rust-practice-actix-web
https://github.com/chmoder/rust-practice-actix-web
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chmoder/rust-practice-actix-web
- Owner: chmoder
- License: mit
- Created: 2020-06-23T01:09:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T21:25:54.000Z (almost 6 years ago)
- Last Synced: 2025-04-19T22:59:46.954Z (about 1 year ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'
```