On 12/01/2010 04:32 PM, Dave Cridland wrote: > On Wed Dec 1 15:26:22 2010, Jamie Lokier wrote:
Hi, >> Has anyone tried measuring the connection success rate - and >> messages/packets/data/latencies - of "valid" HTTP port 80 techniques: >> such as single-connection bidirectional chunked POST, and various >> dual-connection pipelined-POST/GET (one upstream, one downstream)? I have tried this spring, but got my problems sorted out before finishing the scripts I was working on. Basically I used wireshark to intercept and analyze the traffic between apache2 (proxying the http-bind requests) and the connection manager (the one of tigase in my case). That gave a big bunch of requests. It was quite easy to filter out all requests belonging to one stream, but the real problem came when I wanted to profile the communication. Sorting out what the exact timing of the requests was, was hard to do. And that was where I stopped trying. I still would love to see something like a 'BOSH analyzer', stand alone or as a plug-in for e.g. wireshark. Features I think it should include: - Distinguishing individual streams - Showing if the stream is polling or BOSH - Showing all overlaps and gaps between requests within a stream - Showing when requests are idle and when they are sending / receiving - Indicating creation, pausing and terminating, preferably with some details - Preferably some nice graphing to visualize these - Some statistics (number of requests and min/max/average of request size, duration, gap between requests) - Checks on the rid and key - Reconstruction of the content of the stream best wishes, Winfried
