3 ms·
Put nginx in front of apache and allow it to buffer responses. That way apache can move on to rendering the next request while nginix empties the buffer. Each
by easp 16y ago
Put nginx in front of apache and allow it to buffer responses. That way apache can move on to rendering the next request while nginix empties the buffer. Each apache process still uses just as much memory, but they can get more work done, because they aren't tying up memory while they push the buffered response out.
- gawker 16y agoTrue that. But it's just a wish from my perspective since I'm running on a VPS with limited memory so I can't really afford to have both running.