🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44621

Re: Questions on newsfeeds types

#44621
From: Curt Welch
Date: Tue, 29 Feb 2000 00:00
71 lines
3599 bytes
Zach Peine <zach256@my-deja.com> wrote:
> I'm rather new to NNTP and have been thinking about writing a server
> that will work in NT since all others seem to have high prices.

:)

I think there are some free/cheap NT servers around.  Don't know
anything about them so I can't give you any pointers.

Are you trying to just make a small personal low-volume server
or something that can handle a real load.  The first might be fun
and easy to hack out.  The second will take a lot of work.

> I've read RFCs 977 and understand IHAVE, but am interested in learning
> about other newsfeed methods.  What exactly is meant by stream, suck,
> or any other methods?

Streaming is when "MODE STREAM", "CHECK" and "TAKETHIS" are used to
feed articles instead of IHAVE.  They allow the feeding system to
feed articles much faster on a single stream.

With IHAVE, the sending system has to wait for the receiving system
to respond before it knows whether to send each article.  With CHECK
and TAKETHIS, it doesn't.  "MODE STREAM" is used to see if the receiving
system is willing to support a streaming feed (and to tell it you are
about to start one).  CHECK is used to ask if the system wants
the article and TAKETHIS is used to send it.  IHAVE is the old stanard
that everyone supports, but is too slow for a large feed unless you
can support a ton of parallel connections.  Most (all) feeders will
use IHAVE if the receiving site rejects the MODE STREAM.

"real" feeds are always IHAVE and streaming feed. With those, the
sending side is controling what's beeing offered.

suck feeds is when a server uses the NNTP reading commands (ones
normally only used by the newsreader), to pull articles one at a
time from the other system.  Suck feeds sometimes use the NEWNEWS
command to figure out what to suck -- but many times, NEWNEWS
isn't available because it's a real resouce hog on many systems.

Writing code to do a suck feed is generally more complex than a straight
and simple IHAVE or streaming feed.  And sucking feeds just don't work
well for large volume feeding, but they have lots of advanrages for
small feeds.

One advantage is that you can do if you have normal user access to
a news server -- assuming the load you put on it isn't more than an
normal reader.

> I'm also interested in any other commonly used commands not specified
> in RFC 977.

Get a copy of inn.  read the source.

> If you can, please explain or send me URLs where these methods are
> specified.

Lots of stuff around.
Read the articles in this group.

The USEFOR page has lots of good stuff to start with:

http://www.landfield.com/usefor/

> Thanks

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000229174537.212$3B@newsreader.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-mail
References: <89hf84$e82$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <20000229174537.212$3B@newsreader.com>
Subject: Re: Questions on newsfeeds types
Date: Tue, 29 Feb 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <89hf84$e82$1@nnrp1.deja.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-mail
X-Deja-AN: 591504702
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp