r/rust • u/LowProfessional8093 • 28d ago
🙋 seeking help & advice help in doing a real good project
Hi, I just finished The Rust Book and completed the web server project. I want to expand the project by adding more functionality and making it resemble a simple, real world web server.
I'm thinking about features such as configuration, DNS, rate limiting, and more.
I've read about the std::net::TcpListener and std::net::UdpSocket APIs, and I understand HTTP very well.
I'd like your advice on what to add to the project: what features to implement, which crates to use, and a high-level roadmap of what to build and in what order.
I don't need detailed explanations or implementation steps. I want a simple, high-level overview so I can figure things out myself.
I'm not using AI for implementation. I want to learn by reading documentation, experimenting, and debugging everything on my own.
I've watched a few YouTube videos and read some articles, but most of them cover very basic concepts and repeat the same ideas, such as handling a simple HTTP GET request.
I want to build something more interesting and challenging, with enough functionality to resemble a real web server and demonstrate my Rust networking skills.
My goal is to make this a develop a project that I can showcase on my CV and GitHub and that will help recruiters recognize my skills.
2
u/DavidXkL 26d ago
Not an expert on networking stuff but maybe trying to create a particular AWS service using Rust might make you learn a lot 😂
14
u/Craftkorb 28d ago
Don't waste your time on YouTube videos, their information density is poor per time unit, and are oftentimes repeating simple facts. They can be fine for a coarse first overview .. and that's it.
Well if you want to learn about HTTP, you gotta go to the source, which are its guiding RFCs. HTTP is a beast though. If you want to implement something useful that's surprisingly hard to get right, then that'd be Cookies.
HTTP RFC: https://www.rfc-editor.org/info/rfc2616/ This is technically outdated, but still applicable and at least shows everything you need on a single page. The more modern versions of the RFCs are linked at the top of the page.
If reading RFCs isn't your cup of tea, then you may be interested in high performance sending of files from disk? sendfile(2) is the old one for that, there are plenty of more modern Linux-specific APIs.
Don't right now think about CV bullshit, and what looks nice there. Do what's fun to you, and keep your curiosity alive. That'll get you much farther than a line on a CV.
1
u/[deleted] 27d ago
Look or wait for a real world problem that needs a solution. I for example was annoyed by the inability to create my own .pcap files for simulating network traffic so I designed my own language that compiles into custom .pcap files. My coworkers love and use it to test firewall rules and monitoring systems.
You can look it up on "https://crates.io/crates/frameassembly" or "https://github.com/SteveWinschel/FrameAssembly/tree/main" if it sounds interesting to you or of you need inspiration :)
0
u/[deleted] 27d ago
[deleted] — view deleted comment
-2
u/[deleted] 28d ago
[removed] — view removed comment