HA Proxy has higher performance, but due its configuration based its hard for customized logic
GO has a realtively good performance, good at handling customized logic, one goruoutine handles one request, and go routine is not 1:1 thread to OS thread
JVM thread is OS thread worst of all
https://samsadsajid.medium.com/designing-a-reverse-proxy-why-golang-performs-better-than-java-spring-boot-an-in-depth-analysis-dc43de9861c7
https://serverfault.com/questions/618957/dynamic-haproxy-configuration#:~:text=If%20you%20authorize%20your%20stats,can%20send%20commands%20to%20it.&text=Mark%20the%20server%20DOWN%20for,centrally%20manage%20that%2C%20of%20course.
Generally go lang is good for customization, if you really have millions of request, u can do customizations with GO such as API and proxy with HA proxy
No comments:
Post a Comment