Article View: news.software.nntp
Article #16439Re: Checking ihave/check response speed on a server
From: Clayton O'Neill
Date: Fri, 28 Mar 1997 00:00
Date: Fri, 28 Mar 1997 00:00
28 lines
2090 bytes
2090 bytes
On 27 Mar 1997 21:36:52 GMT, Ragnar Lonn <prl@algonet.se> wrote: >I've written a small program that connects to a server's NNTP port >and issues a bunch of IHAVE or CHECK commands with fabricated >message-ids I'm pretty sure won't exist. It keeps track of how >much time is spent sending these commands, waiting for a (or >several) response/s, and how much time is spent getting the >response/s, then it quits without sending any articles. [snip] >Anyhow, can anyone see anything inherently wrong in this scheme, >or something I didn't think about? I do also, by the way, get >almost ridiculously high values for CHECK-responses per second >when connecting to our local newsfeed machine which is an Ultra- >sparc running Diablo. It would be cool if it could actually do >700-800 history lookups per second with a dozen active feeds >but I'm somewhat suspicious of the results my program gives >me right now :-) I believe the problem is that you are doing lookups with bogus msg-ids. The problem being that history lookup hits and misses take different amounts of time. The reason being that history lookup hits have to also look in the history test file, not just the dbz, to verify a hit. Perhaps it would be beneficial to incorporate a md5 of the message-id into the dbz value that is returned on a lookup hit along with the offset. I would be willing to trust that w/o actually doing to text file lookup also. Oh well, future project.
Technical Details
Message-ID:
<slrn5jo1j3.gct.coneill@blah.erols.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5hep9k$8a@epimetheus.algonet.se>Show Full Headers
Complete Article Headers
Message-ID: <slrn5jo1j3.gct.coneill@blah.erols.com> Subject: Re: Checking ihave/check response speed on a server Date: Fri, 28 Mar 1997 00:00:00 +0000 From: coneill@oneill.net (Clayton O'Neill) References: <5hep9k$8a@epimetheus.algonet.se> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 229051424 Organization: Erol's Internet Services X-Received-On: 28 Mar 1997 17:56:37 GMT Newsgroups: news.software.nntp