3 ms·
I could see it going either way: Putting nginx in front adds another hop for traffic, but indeed gives you all of nginx's performance optimizations. But either
by yjftsjthsd-h 6y ago
I could see it going either way: Putting nginx in front adds another hop for traffic, but indeed gives you all of nginx's performance optimizations. But either way you're obscuring the performance of your code.
- kqr 6y agoWell, sure, that's technically correct. The performance of your code is not what's ultimately interesting, though. The performance of the system you have designed is. And that might very sensibly include nginx! In fact, if you design your system with nginx as the ingress point, you are likely to make tradeoffs that mean your code performs worse in isolation, in order to get optimum performance out of the entire system!