# Nginx Stats Read - Write difference

**URL:** <https://www.ruby-forum.com/t/nginx-stats-read-write-difference/217787>\
**Category:** NGINX\
**Created:** [March 13, 2012, 10:14am UTC](https://www.ruby-forum.com/t/nginx-stats-read-write-difference/217787 "2012-03-13T10:14:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 13, 2012, 10:14am UTC](https://www.ruby-forum.com/t/nginx-stats-read-write-difference/217787/1 "2012-03-13T10:14:18Z")

</div>

Hi,

we are currently looking for a bottleneck in our application stack. We  
use Nginx as a reverse proxy which dispatches requests to an  
asynchronous backend (Twisted Python).  
When looking at the stub\_stats output we notice a large deviation  
between reads and writes. Strangely, we notice substantially more reads  
than writes (about 4-6 times as much). Obviously read and write stats  
are only a snapshot of the counts in this very moment in which we poll  
stub\_stats. Should we worry about such a huge discrepancy between reads  
and writes? How should we interpret these numbers?

More detailed plots can be found here:

Read/Writes  
[https://picasaweb.google.com/lh/photo/u1wm7uUBECTgSh\_hrCtsutMTjNZETYmyPJy0liipFm0?feat=directlink](https://picasaweb.google.com/lh/photo/u1wm7uUBECTgSh_hrCtsutMTjNZETYmyPJy0liipFm0?feat=directlink)

Waits  
[https://picasaweb.google.com/lh/photo/1A4I6GJblxoZMGWemx25GtMTjNZETYmyPJy0liipFm0?feat=directlink](https://picasaweb.google.com/lh/photo/1A4I6GJblxoZMGWemx25GtMTjNZETYmyPJy0liipFm0?feat=directlink)

thanks,  
Peter

Posted at Nginx Forum:

> **[Nginx Stats Read - Write difference](https://forum.nginx.org/read.php?2,223788,223788#msg-223788)**
>
> Hi, we are currently looking for a bottleneck in our application stack. We use Nginx as a reverse proxy which dispatches requests to an asynchronous backend (Twisted Python). When looking at the stub\_stats output we notice a large deviation between...
