Subject:
|
Re: "jump.cgi" considered harmful ? (1)
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Thu, 23 Nov 2000 15:12:55 GMT
|
Viewed:
|
2795 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.admin.general, Larry Pieniazek writes:
> In lugnet.admin.general, Kevin Loch writes:
> > Are you sure it's not latency in DNS resolution?
> This is almost certainly what a lot of it indeed is. Using jump.cgi
> theoretically doubles the latency since two resolutions are required.
If you're reading via HTTP, then it's only one resolution because your client
will already have resolved www.lugnet.com. If you're reading via NNTP, then
it may be two and it may be one depending on your DNS cache.
> But it's not ALL the delay, some surely, is at the server itself while it
> processes. [...]
> I am curious, however, as to how much of the delay is due to processing on
> the server. [...]
With a typical URL, the script takes .015 seconds (about 1/60 second) of real
time once it receives the HTTP request. Almost all of the overhead is in
launching Perl and compiling its script. (It's not a mod-perl script.)
But Apache pre-forks, and FreeBSD forks quickly anyway, so the total time
shouldn't be more than .016 seconds.
A non-typical URL, such as an Amazon.com URL which contains no associate ID,
may add another 1/10000 second or so. Basically the script just takes the
URL from the QUERY_STRING environment variable, outputs an HTTP Location:
header, then exits. All the logging is done transparently by the normal HTTP
logging mechanisms -- virtually no overhead because it keeps the log
filehandle open all the time.
> Moreover, I would put up with the delay less grumpily if I had
> access to the data, that is, if the delay somehow benefited me (except in
> the meta sense). Finally, I suggest that on the post preview page, it be
> suppressed, since those jumps are not statistically meaningful.
Hmm, good idea.
--Todd
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: "jump.cgi" considered harmful ? (1)
|
| (...) Did I just say that? Oops. That's wrong. There isn't any jump.cgi in the context of NNTP -- only HTTP. Duh. So it's never more than 1 DNS lookup in the case of NNTP and never more then 2 DNS lookups in the case of HTTP -- and in practice, it (...) (24 years ago, 23-Nov-00, to lugnet.admin.general)
|
Message is in Reply To:
![](/news/x.gif) | | Re: "jump.cgi" considered harmful ? (1)
|
| Let me try to be clearer. (...) This is almost certainly what a lot of it indeed is. Using jump.cgi theoretically doubles the latency since two resolutions are required. But it's not ALL the delay, some surely, is at the server itself while it (...) (24 years ago, 23-Nov-00, to lugnet.admin.general)
|
36 Messages in This Thread: !["jump.cgi" considered harmful ? (1) -Larry Pieniazek (23-Nov-00 to lugnet.admin.general)](/news/x.gif) ![](/news/246.gif) ![Re: "jump.cgi" considered harmful ? (1) -Kevin Loch (23-Nov-00 to lugnet.admin.general)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Larry Pieniazek (23-Nov-00 to lugnet.admin.general)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Todd Lehman (23-Nov-00 to lugnet.admin.general)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: "jump.cgi" considered harmful ? (1) -Scott Arthur (23-Nov-00 to lugnet.admin.general)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: "jump.cgi" considered harmful ? (1) -Todd Lehman (23-Nov-00 to lugnet.admin.general)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Scott Arthur (23-Nov-00 to lugnet.admin.general)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: "jump.cgi" considered harmful ? (1) -Mike Stanley (24-Nov-00 to lugnet.admin.general)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Larry Pieniazek (25-Nov-00 to lugnet.admin.general, lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Todd Lehman (25-Nov-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: "jump.cgi" considered harmful ? (1) -Dan Boger (25-Nov-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Fujita does it again! (was: Re: "jump.cgi" considered harmful ?) -David Low (25-Nov-00 to lugnet.off-topic.geek, lugnet.starwars)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: "jump.cgi" considered harmful ? (1) -Larry Pieniazek (25-Nov-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Todd Lehman (25-Nov-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Larry Pieniazek (26-Nov-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: "jump.cgi" considered harmful ? (1) -Todd Lehman (26-Nov-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: "jump.cgi" considered harmful ? (1) -Matthew Miller (26-Nov-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Christopher Lindsey (26-Nov-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Matthew Miller (27-Nov-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: "jump.cgi" considered harmful ? (1) -Frank Filz (27-Nov-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: "jump.cgi" considered harmful ? (1) -Mike Stanley (30-Nov-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Larry Pieniazek (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: "jump.cgi" considered harmful ? (1) -Larry Pieniazek (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: "jump.cgi" considered harmful ? (1) -Eric Joslin (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: "jump.cgi" considered harmful ? (1) -Eric Joslin (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: "jump.cgi" considered harmful ? (1) -Larry Pieniazek (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Eric Joslin (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: "jump.cgi" considered harmful ? (1) -Eric Joslin (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Larry Pieniazek (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Eric Joslin (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: "jump.cgi" considered harmful ? (1) -Dan Boger (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: "jump.cgi" considered harmful ? (1) -Eric Joslin (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: "jump.cgi" considered harmful ? (1) -Eric Joslin (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: "jump.cgi" considered harmful ? (1) -Todd Lehman (2-Dec-00 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: "jump.cgi" considered harmful ? (1) -Eric Joslin (1-Dec-00 to lugnet.off-topic.geek)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|