Portland NodeConf 2011
htracr by Mark Nottingham (GitHub: htracr) is a HTTP sniffing and visualization application written with Node. He’s just released it through npm as well, so it can be quickly installed with
npm install htracr. The blog post is an interesting read because Nottingham explores how different browsers behave at the TCP and HTTP level — for example, Opera 10.63 was doing less pipelining than Firefox 3.6 (with pipelining turned on). That kind of analysis could be used to better optimise your sites and servers.
It uses libpcap to sniff HTTP traffic, which means you might need to run it with sudo:
npm install htracr sudo htracr 8000 # Open http://localhost:8000/ in your browser and press the 'Start' button
Nottingham’s got a huge list of interesting ideas in the project’s TODO list, but it’s already a fascinating use of Node.