gentimouton/rcat — Issue #4: Logging performance
Author: gentimouton
Created: 2012-02-18 02:10:39+00:00
State: open
Labels: appserver, priority-major, proxy

`log.debug` and others are good to know what's going on in the proxy and server (and other components). But we also need to log over time how much they consume in terms of:

- CPU
- RAM
- upstream (by port, so that we can distinguish between proxy->server and proxy->client)
- downstream (by port too)

Bonus:

- how many packets TCP resends (does that account for collisions?)
- ...?

This logging may need to be done in another file (ie another logger). Checking every second may be alright (checking more often won't add any benefit).