High Performance TCP Proxy Server
partow.net
High Performance TCP Proxy Server
1–10 of 62 posts
Re: High Performance TCP Proxy Server
#2Re: High Performance TCP Proxy Server
#3Re: High Performance TCP Proxy Server
#4How does this compare to using HAProxy in TCP mode?
Re: High Performance TCP Proxy Server
#5How does this compare to using HAProxy in TCP mode?
HAProxy is 90k loc while this is 300 loc so they really are different beasts. I would say HAPRoxy is a great general purpose proxy that has most of the features you want while this proxy server is a MVP proxy you can grow off of if you want to do something that HAProxy can't provide.
Re: High Performance TCP Proxy Server
#6Re: High Performance TCP Proxy Server
#7Earlier quoted context omitted.
HAProxy is 90k loc while this is 300 loc so they really are different beasts. I would say HAPRoxy is a great general purpose proxy that has most of the features you want while this proxy server is a MVP proxy you can grow off of if you want to do something that HAProxy can't provide.
Netty is a more mature foundation for this sort of thing and likely much faster
Re: High Performance TCP Proxy Server
#8Earlier quoted context omitted.
HAProxy is 90k loc while this is 300 loc so they really are different beasts. I would say HAPRoxy is a great general purpose proxy that has most of the features you want while this proxy server is a MVP proxy you can grow off of if you want to do something that HAProxy can't provide.
Netty is a more mature foundation for this sort of thing and likely much faster
As for performance, a reproducible benchmark is the minimum requirement to even start the conversation.
Re: High Performance TCP Proxy Server
#9Re: High Performance TCP Proxy Server
#10Earlier quoted context omitted.
Netty is a more mature foundation for this sort of thing and likely much faster
Can you expand on your reasons for making that claim - perhaps with some benchmarks?
On Linux it uses an epoll native driver and is asynchronous. The framework makes it possible to write proxies in a few lines.
If you want to beat netty by a significant margin you'll probably need to use kernel bypass