in reply to Re: Using binary search to get the last 15 minutes of httpd access log
in thread Using binary search to get the last 15 minutes of httpd access log
So, if it's 12:00, and A is a longrunning request that started at 11:44 and B is a shortrunning request, the order of events could be
and the log will read11:44:00... A received 11:45:10... B receievd 11:45:11... B served 11:46:00... A served
in that order, so your backward search would stop at A.11:45:11 B 11:44:00 A
If "last 15 minutes" means "approximately last 15 minutes" and your server is relatively zippy, you're fine. I have sometimes needed 15 minutes to mean "exactly 15 minutes", though, so I happen to know this trivial about Apache.


Replies are listed 'Best First'.  

Re^3: Using binary search to get the last 15 minutes of httpd access log
by davido (Archbishop) on Aug 03, 2012 at 23:21 UTC  
Re^3: Using binary search to get the last 15 minutes of httpd access log
by mhearse (Chaplain) on Aug 03, 2012 at 21:57 UTC  
by mhearse (Chaplain) on Oct 09, 2012 at 23:14 UTC 