traffic between proxy and backend

Maxim Dounin mdounin at mdounin.ru
Tue Jul 1 14:18:22 MSD 2008


Hello!

On Tue, Jul 01, 2008 at 09:59:27AM +0200, Bartlomiej Syryjczyk wrote:

> I'm using nginx as proxy (only) and Apache as backend.
> {Internet} -A- [nginx] -B- [Apache]
> Is the traffic between Internet and nginx (A) should be the same as
> between nginx and Apache (B)?
> When I count the traffic with FreeBSD's ipfw I've got strange results.

No, it shouldn't, at least if gzip is enabled in nginx.  Internet 
traffic expected to be lower (since traffic from nginx to clients 
is gzipped if possible, while traffic from apache to nginx isn't).

Additionally, client aborts also lowers internet traffic.

Maxim Dounin





More information about the nginx mailing list