# Traffic between proxy and backend

**URL:** <https://www.ruby-forum.com/t/traffic-between-proxy-and-backend/141873>\
**Category:** NGINX\
**Created:** [July 1, 2008, 10:07am UTC](https://www.ruby-forum.com/t/traffic-between-proxy-and-backend/141873 "2008-07-01T10:07:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bartlomiej\_Syryjczy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@Bartlomiej\_Syryjczy](https://www.ruby-forum.com/u/Bartlomiej_Syryjczy)\
**Post date:** [July 1, 2008, 10:07am UTC](https://www.ruby-forum.com/t/traffic-between-proxy-and-backend/141873/1 "2008-07-01T10:07:44Z")

</div>

-----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](http://enigmail.mozdev.org)

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

---

<div class="post-metadata">

**Author:** ![Bartlomiej\_Syryjczy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@Bartlomiej\_Syryjczy](https://www.ruby-forum.com/u/Bartlomiej_Syryjczy)\
**Post date:** [July 1, 2008, 12:32pm UTC](https://www.ruby-forum.com/t/traffic-between-proxy-and-backend/141873/2 "2008-07-01T12:32:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Bartlomiej\_Syryjczy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@Bartlomiej\_Syryjczy](https://www.ruby-forum.com/u/Bartlomiej_Syryjczy)\
**Post date:** [July 1, 2008, 8:36pm UTC](https://www.ruby-forum.com/t/traffic-between-proxy-and-backend/141873/3 "2008-07-01T20:36:44Z")

</div>

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

who needs apache anymore anyway? 🙂

---

<div class="post-metadata">

**Author:** ![Bartlomiej\_Syryjczy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@Bartlomiej\_Syryjczy](https://www.ruby-forum.com/u/Bartlomiej_Syryjczy)\
**Post date:** [July 2, 2008, 7:41pm UTC](https://www.ruby-forum.com/t/traffic-between-proxy-and-backend/141873/4 "2008-07-02T19:41:10Z")

</div>

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

> who needs apache anymore anyway? 🙂

people who have mod\_perl and mod\_python apps?
