https://github.com/thadeu/rust-web-server-exercise
Web Server with Thread Pool made in Rust 🦀
https://github.com/thadeu/rust-web-server-exercise
Last synced: about 1 year ago
JSON representation
Web Server with Thread Pool made in Rust 🦀
- Host: GitHub
- URL: https://github.com/thadeu/rust-web-server-exercise
- Owner: thadeu
- License: mit
- Created: 2024-07-23T04:40:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T04:47:12.000Z (almost 2 years ago)
- Last Synced: 2024-10-19T01:15:33.394Z (over 1 year ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🦀 rust-web-server-exercise
Web Server with Thread Pool made in Rust
## Motivation
I'm started to learn a new language to develop programs. So, I've started read the book [The Rust Programming Language](https://doc.rust-lang.org/book/ch20-00-final-project-a-web-server.html)
## Table of Contents
- [Installation](#installation)
## Installation
`cargo watch -q -x 'run -q'`
and then, `echo {1..50} | time xargs -n1 -P50 bash -c "curl -sS -X GET http://localhost:7878/sleep" > /dev/null`
To send 50 requests to endpoint.
[⬆️ Back to Top](#table-of-contents-)
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).