Traffic between proxy and backend

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
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.


Bart³omiej Syryjczyk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhp498ACgkQt25UBlJ9LC4NvACfR8pIt1DqP/D7nkydZYlKuAaq
RvIAn33QtkkTzRThfcO9DV+E9jSkKYVl
=xi9I
-----END PGP SIGNATURE-----

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 D.

yeah, and switch out apache as the backend and use nginx.

who needs apache anymore anyway? :slight_smile:

On Jul 1, 2008, at 2:29 PM, mike wrote:

who needs apache anymore anyway? :slight_smile:

people who have mod_perl and mod_python apps?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs