Blazingly fast UDP server using
HTML-код
- Опубликовано: 10 сен 2024
- This is an attempt at doing the impossible challenge that Glenn posted on his website here - mas-bandwidth.... .
In the follow up, he declares that it is impossible - mas-bandwidth.... . And I agree!
But I got quite far in trying to figure out how to go as fast as possible! In #rust!
My attempts (and failures) are in this repository - github.com/gam...
The version used in this video are in the 'video' and 'video-monoio' branches.
the xdp server is here github.com/gam...
Glenn also posted his solution on his github here - github.com/mas...
Some of the other videos that talk about XDP are here :-
• CASH | Stand-up Comedy...
• Fast Packet Processing...
• Rust + eBPF: Creating ...
• Rust and Tell - Berlin...
MUSIC CREDIT - PROFOUND BEATS
✘ / profoundbeatsofficial
✘ DL ⇒ www.mediafire.....
✘ / profoundbeats
✘ profoundbeats....
Your content is incredible. Thanks a lot!
So informative and like your relaxed style that keeps us engaged as you lead us through your various optimizations. To your point to massive scaling possibilities at the end of the video about if clients could also use XDP...would a workaround to client-side XDP be webAssembly+eBPF ? Thank you so much Sandeep!
Quite informative, thank you!
Very cool!
yay finally !
much informative :)
fun!
Why did you prefer tokio::select! instead of spawn?
Good question! I have a branch somewhere that does spawn as well. I think I lost a few points in performance immediately. So I reverted that. Would love a comparison between spawn vs select that is more concrete. I already began testing with monoio instead of going down that route.
@@_sandeepnambiar I see. So can we say that it is better to rely on metrics when making such decision?
@@vcankeklik I think so. My findings are contrary to what I would have assumed if I hadn't done the tests.
@@_sandeepnambiar thanks!
well, it's not an impossible at all guys :)
Hired