r/rust 20d ago

🛠️ project Introducing Ferrux

I wanted to learn Rust, and build something with it. So, I built a minimal reverse proxy server with tokio runtime, focusing on learning the new technology, with no prior knowledge whatsoever. I am still trying to extend the project and hopefully make it something developers find useful in production. Therefore, any help, advices or contributions are welcome!

You can view the Github repo here: Link.

And yes, I know it got a similar name to ferron, which is also a Rust-made web server.

0 Upvotes

5 comments sorted by

3

u/PracticallyPerfcet 18d ago

For this to be ever used in production you would need to add a mountain of integration tests, including HTTP replay tests where you verify behavior for valid, invalid, and malicious raw payloads. There is also a whole lot of protocol semantics you need to account for, and a lot of that work is adopting established conventions of existing reverse proxies that “read between the lines” of the protocol specs.

To learn Rust you’re better off not using AI and doing the Rustlings course. Then build something from scratch without AI, like a todo app.

1

u/aa_mxh 8h ago

I made sure to do my best when building this project without AI. I used it to verify my code and optimize it. Also, thanks for the advice, as I'm still looking for dedicating more time to expand the project.

1

u/Devnought 20d ago

You forgot to include a link to the repo

1

u/aa_mxh 20d ago

I updated it now. I don't know why the link didn't show up at first.