News for hackers. Stuff that matters.
Re:High Performance TCP Proxy Server by matthewaveryusa on Saturday April 22, 2017 @12:57PM (#14173410)
ASIO does all that. And it compiles to machine code. What you're basically trying to argue is a well-written C++ application will be slower than a well-written java application. That's not going to happen -- at best they will be the same performance.
Re:High Performance TCP Proxy Server by tyingq on Saturday April 22, 2017 @01:40PM (#14173636)
Netty certainly has a more impressive list of projects using it in real-world high-volume scenarios. That's probably what wins in this case...enough high volume end users such that you've gotten enough edge cases to tweak the software and iron out bugs.

If I had to pick something in the C/C++ space to implement a custom proxy, I would probably stick to something where I could find a similar list of established high volume real world users. Facebook's Proxygen, or some customized HAProxy maybe.

Re:High Performance TCP Proxy Server by shouldbworking on Saturday April 22, 2017 @01:08PM (#14173476)
I was trying to say in a nice way that it's unlikely you've created something as fast as netty because a lot of people spent a lot of time optimizing it.

Netty is also a lot easier to extend and more portable