TLDR.chat
Get the extension
Colour theme
New summary

Reading settings

Typeface
Text size
Line spacing
Line width

Building a Multithreaded Web Server in Rust

Summary of The Rust Programming Language · Open original ↗doc.rust-lang.org · Jan 1, 2018

In this final chapter of "The Rust Programming Language" book, we will build a multithreaded web server. The project will demonstrate concepts covered in previous chapters and recap earlier lessons. The plan for building the web server includes learning about TCP and HTTP, listening for TCP connections, parsing HTTP requests, creating proper HTTP responses, and improving server throughput with a thread pool. Although there are more complete web server and thread pool implementations available on crates.io, we will build our own to help you learn the general ideas and techniques behind them.

Ask about this page

Ask anything about the original page. Answers come from its text.

Only you see your questions. We don't save them.

Enter to send · Shift+Enter for a new line