8 ms·
I hope somebody told the poster about putting a proxy server (squid, apache, nginx, varnish, etc.) between the application server and the client. Proxy deals
by vampirechicken 12y ago
I hope somebody told the poster about putting a proxy server (squid, apache, nginx, varnish, etc.) between the application server and the client.
Proxy deals with slow client delays. App server serves app requests at speed. Tune number of proxy connections to keep app servers reasonably busy. Scale each layer individually.
IMO Whether the proxy is async or not is a matter of taste.
- zhong-j-yu 12y agoI would rather buffer the entire response in the app server, instead of in the central reverse-proxy.
- cpeterso 12y agoWhy buffer on the app server?
- zhong-j-yu 12y agoBecause we have multiple app servers, but only one reverse-proxy? I don't want to centralize a task that could be distributed.
- vampirechicken 12y agoSo you're basically causing your own problems by refusing to scale your proxy layer, which should be dirt cheap hardware, while scaling your beefier app servers. You basically have it backwards.