Article View: news.software.nntp
Article #485Re: improved nntpxfer
From: Matthias Urlichs
Date: Wed, 14 Mar 1990 23:10
Date: Wed, 14 Mar 1990 23:10
24 lines
1765 bytes
1765 bytes
In news.software.nntp, article <X?#$?!*@b-tech.uucp>, zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff) writes: < I wanted to use nntpxfer, so I made some improvements - basically more < efficient reads and batching of articles into memory and then popening < rnews when the buffer gets full. Let me know if you want to beta test < a copy. < I decided to go the simpler route and, instead of popen()ing inews, just create a temporary file and rename it to "/usr/spool/news/xfer.%d.%d", getpid(), counter++ (and let the next rnews -U deal with it). Another improvement is to open two NNTP channels to your favorite server. On one, you do your NEWNEWS, and the other is used to fetch articles as soon as their IDs come in over the first channel. This is necessary on some low-speed Internet links like ours (which frequently makes nntpd time out, drops connections, and other fun stuff) and basically enabled us to get 24 hours of Usenet traffic in 14 hours instead of 30. I'd like to convert this to a somewhat better C programming style before letting the rest of the world see it, though... -- Matthias Urlichs
Technical Details
Message-ID:
<1990Mar14.231020.5784@smurf.sub.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!snorkelwacker!ira.uka.de!smurf!urlichsReferences:
<X?#$?!*@b-tech.uucp>Show Full Headers
Complete Article Headers
Message-ID: <1990Mar14.231020.5784@smurf.sub.org> Subject: Re: improved nntpxfer Date: Wed, 14 Mar 1990 23:10:20 +0000 From: urlichs@smurf.sub.org (Matthias Urlichs) References: <X?#$?!*@b-tech.uucp> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!snorkelwacker!ira.uka.de!smurf!urlichs Newsgroups: news.software.nntp Organization: University of Karlsruhe, FRG Lines: 23