this post was submitted on 05 May 2024
21 points (95.7% liked)
Rust
5832 readers
9 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
reverse proxy using tokio and hyper, there are few things to figure out on high traffic sites, it doesn't work as well compared to nginx after a certain threshold.
That's too bad, I was thinking of replacing our nginx proxy with Rust. We need a little logic, so we currently have nginx -> gateway service -> microservice, and I was hoping to drop nginx. Maybe I still can, but it sounds like there would be some tradeoffs.
this might be more on me writing shit code than on tokio/hyper. give it a go.