Welcome! Log In Create A New Profile

Advanced

time to read packets for HTTP query

September 10, 2015 06:49PM
I'm running a SAAS service running via NGINX and have been running tcpdump to look at the incoming packets for HTTP queries. Many of the HTTP queries are bigger than the MTU of 1,500 bytes and therefore arrive as 2, 3, or 4 packets. I noticed that for some customers there are significant delays between packets. The average size of these delays acts as a kind of fingerprint for each customers. The inter packet delay various from a few milliseconds to 100ms plus! Some customers have no delay. There are all shades of grey.

When processing a SAAS query I log how long the processing time took etc. So it would be useful to log how long NGINX took to read the HTTP query packets too. Using tcpdump and a script to analyze the packet dump is not very handy. So I'm wondering if there is a mechanism in NGINX to report somehow the total time necessary to read all the packets of a particular HTTP query? I was thinking that if available, I could add it to the HTTP query in the form of an HTTP header? If not, how easy would it be to implement such a mechanism?
Subject Author Posted

time to read packets for HTTP query

SimonHF September 10, 2015 06:49PM

RE: time to read packets for HTTP query

Lukas Tribus September 11, 2015 05:22AM

Re: time to read packets for HTTP query

Frederik Nosi September 11, 2015 07:18AM

RE: time to read packets for HTTP query

Lukas Tribus September 11, 2015 08:16AM

Re: time to read packets for HTTP query

Maxim Dounin September 11, 2015 08:54AM

Re: time to read packets for HTTP query

Frederik Nosi September 11, 2015 09:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready