News for hackers. Stuff that matters.
Re:Pingora, the proxy that connects Cloudflare to the Internet by drogus on Wednesday September 14, 2022 @02:04PM (#32840872)
I had a very similar experience. Much smaller scale, but the service was keeping internal state and clients were connecting with a WebSocket. It could handle up to a million clients on one server and it practically never crashed. While I was writing it I had only hobby-level experience with Rust and I was also mentoring a colleague, so he wrote a big chunk of code as a total Rust noob.
Re:Pingora, the proxy that connects Cloudflare to the Internet by WesolyKubeczek on Friday September 16, 2022 @09:22AM (#32865745)
I have a theory that people who are noobs in a certain technology, but are overall experienced, tend to produce very solid code, because they actively avoid doing clever things.
Re:Pingora, the proxy that connects Cloudflare to the Internet by 4m1rk on Sunday September 18, 2022 @01:10AM (#32884600)
Nice one. I believe we should avoid doing unnecessary clever things deliberately and actively.
Re:Pingora, the proxy that connects Cloudflare to the Internet by Aperocky on Wednesday September 14, 2022 @03:19PM (#32841980)
Curses! now I need to learn yet another language!
Re:Pingora, the proxy that connects Cloudflare to the Internet by bbarnett on Friday September 16, 2022 @07:36AM (#32864745)
Libcurses in rust, what a perfect idea!
Re:Pingora, the proxy that connects Cloudflare to the Internet by nicoburns on Wednesday September 14, 2022 @04:01PM (#32842592)
Luckily Rust is also fun :)
Re:Pingora, the proxy that connects Cloudflare to the Internet by victor106 on Wednesday September 14, 2022 @05:04PM (#32843341)
Is this using Async Rust?
Re:Pingora, the proxy that connects Cloudflare to the Internet by brink on Wednesday September 14, 2022 @11:07PM (#32846495)
Yes, if you want to handle that many clients, you'll need to use async. It's not too bad to learn.