문제

we are using node-http-proxy for a while and it works fine. But as our system grows bigger, we want to move to nginx.

We consume about 100 request per second at the moment, which produce an outgoing traffic of about 1mb/s.

Our tests with nginx (same amount of requests, same backend servers and same responses) produce an outgoing traffic of about 4mb/s. We checked the headers, because that could have been the only difference in the response, but the headers didn't change that much.

Does anyone have an idea what else could produce this traffic increase?

Thanks, Kim

EDIT: We don't use clustering, they are just dumb reverse proxies. Requests from domain A go to server A, domain B to server B, ... We did tests in our production environment, so the backend servers stayed the same during tests, just the proxies changed.

도움이 되었습니까?

해결책

We found out what happens: The old node.js server doesn't send all the required ssl certificates. The nginx sends all certificates (intermediate, etc.) with every request.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top