Article View: news.software.nn
Article #7730Re: nntp.c: use_nntp = (strcmp(host, server_real_name) != 0);
From: Larry Daffner
Date: Sun, 28 Jul 1996 00:00
Date: Sun, 28 Jul 1996 00:00
30 lines
1869 bytes
1869 bytes
Makoto ja1xms Fujiwara <makoto@komekome.bay.prug.or.jp> writes: > The variable use_nntp is assigned at nntp.c and it says if >the host running client nn is the same as the NNTP server, do not >use nntp instead looking into the news spool/active file directly. > > I do not see the advantage in doing this ( if XOV is active ). >Several setup/path definition may be different for use_nntp = 1 or 0. > By disabling use_nntp if XOV is defined, ( and of course NNTP is defined ), >we don't have to worry about some definition in Makfile. This can be a major win, especially with growing active files. Since the active file contains 1 line for every newsgroup the server carries (which is usually between 6000 and 20,000 groups, these days) at ~60char/line (did a little test), you save 360K-1M of transfer per reader. Include the newsgroups file, which nn also reads, and that figure doubles. Also figure in that if they are not local, nn keeps the copies in memory, and you can see that it will help, especially if there are many readers. -Larry -- Larry Daffner | Linux: Unleash the workstation in your PC! vizzie@airmail.net / http://web2.airmail.net/vizzie/ Clarke's Third Law: Any sufficiently advanced technology is indistinguishable from magic.
Technical Details
Message-ID:
<4tglmp$335@library.airnews.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<yfmbuh0h8jp.fsf@komekome.bay.prug.or.jp>Show Full Headers
Complete Article Headers
Message-ID: <4tglmp$335@library.airnews.net> Subject: Re: nntp.c: use_nntp = (strcmp(host, server_real_name) != 0); Date: Sun, 28 Jul 1996 00:00:00 +0000 From: vizzie@airmail.net (Larry Daffner) References: <yfmbuh0h8jp.fsf@komekome.bay.prug.or.jp> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 170693796 Organization: INTERNET AMERICA Newsgroups: news.software.nn