🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56223

Re: writing Perl nntp client, need help with header retrieval

#56223
From: Andy Green
Date: Thu, 24 Jan 2002 22:18
27 lines
1984 bytes
> (Darek M.):
>What is the most efficient way to get headers from a given group?

XOVER is your man.

>I would have 10 threads, each would accept a range of article numbers,
>and would download the headers and return an array or hash,

This would probably be considered a bad thing.  There is a 
recommendation at

 http://www.gnksa.org/gnksa.txt 

that news clients limit themselves to 4 simultaneous connections to the 
server; my ISP news server will reject connection attempts after the 
third to the same IP.

Will ten threads get you your headers any faster?  If your ISP news 
server can saturate your pipe with headers on one connection (and mine 
can on my cable modem) the answer is 'no'.

-Andy
-- 
Posted using Nographer - News in your Browser
http://www.nographer.com - Now Usenet is a Website

Technical Details
Message-ID: <9L%38.19695$ka7.2877640@news6-win.server.ntlworld.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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail
References: <j9pb4uo692p03ons9endc02b8lrmqauil0@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <9L%38.19695$ka7.2877640@news6-win.server.ntlworld.com>
Subject: Re: writing Perl nntp client, need help with header retrieval
Date: Thu, 24 Jan 2002 22:18:45 GMT
From: Andy Green <support@spamnographer.com>
References: <j9pb4uo692p03ons9endc02b8lrmqauil0@4ax.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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Nographer 1.01pre2 - News in your Browser - http://nographer.com
Lines: 26
NNTP-Posting-Host: 213.107.146.100
X-Complaints-To: abuse@ntlworld.com
X-Trace: news6-win.server.ntlworld.com 1011910725 213.107.146.100 (Thu, 24 Jan 2002 22:18:45 GMT)
NNTP-Posting-Date: Thu, 24 Jan 2002 22:18:45 GMT
Organization: ntl Cablemodem News Service