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

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 🦀

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).