🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61730

Re: How to feed hamster 2 hamster

#61730
From: Juergen Helbing
Date: Thu, 31 Oct 2002 15:51
76 lines
3688 bytes
Heiko Studt <UsenetBecky@goldpool.org> wrote:

>> 1) impossibility of stream mode
>
>? You mean "MODE STREAM"?
>The command is implemented, but I don't know what different is. 

MODE STREAM would permit to send a bunch of commands without
waiting for the responses. One could for example send out
article 567 CRLF article 568 CRLF article 569 ....  as one send()
Then the server could answer much faster - because the latency
time (ping time) when waiting for all response codes would 
be no longer important. The reader can then evaulate the 
"answer_stream" and pick the articles (and those reponse codes
which indicate that the article could not be retrieved).
Of course this is HARD for the server - and there will be also 
(undocumented) restrictions because you cannot expect to
send out 100.000 article commands in one stream. 

MODE STREAM combined with an XHDR Subject 1- command
is the fastest method for a sucking feed from a server.
Unfortunately it is a pain to write it for multiple simultanously 
running parallel sucking tasks.

For feeding with MODE STREAM you could also 
send a bunch of commands (CHECKTHIS) and then feed also
the articles without waiting for every single reply.....

The programming is difficult because complete queues 
must be implemented. And I doubt that the throughput
is really necessary for "private servers".....

>I don't know much of feeding, I was on the very first steps 
>of looking around how to do such things while this was programmed.

I dont know how much data the Hamster can meanwhile handle
properly. But offering "streaming mode" would be also a step
to a "full news server" - and people who need 100.000 messages
(or more) might not be the targeted usergroup.

>> 2) Hamster not recognize difference of binary or text files
>
>How should he do? He don't know the size of an article before the feed sends
>the article. It only get the message-ID, wether it is used IHAVE or TAKETHIS.

There are good reasons why we programmers for "private servers"
are using sucking feeds :-))   <giggle>

>> 3) Any newsreader can join any header with hamster
>
>You mean newsreaders can make any headers of their wish?
>What is bad on such a thing?

I believe he is talking about authentication and access-security.

>BTW: IMO we should be here, cause most people with knowing 
>     of feeding and it's
>     implementation in INN are reading here.

Yes, some "grandmasters" of full feeds are here.
But I dont believe that "stream feeding" is a good method
for Hamsters (or other personal newsservers). 

In MyNews I did implement the command "request upload"
which causes the feedee to start a regular sucking feed.
The feedee knows better what he wants than the feeder.
So he should be always the active part - as long as it does
not come to 500 Gigs/day  ;-)


Good Luck & HTH

-- 
Juergen

Technical Details
Message-ID: <0551g.va2201@archiver.winews.net>
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!newsfeed.stanford.edu!logbridge.uoregon.edu!uunet!sea.uu.net!sac.uu.net!news.alt.net!usenet
References: <Xns92B7DD2309D3Akakenxjsjkknen812jbc@192.168.123.162> <aprcbo.1rc.1@Heiko.Studt.dialin.t-online.de>

Show Full Headers
Complete Article Headers
Message-ID: <0551g.va2201@archiver.winews.net>
Subject: Re: How to feed hamster 2 hamster
Date: Thu, 31 Oct 2002 15:51:05 +0000
From: archiver@i3w.com (Juergen Helbing)
References: <Xns92B7DD2309D3Akakenxjsjkknen812jbc@192.168.123.162> <aprcbo.1rc.1@Heiko.Studt.dialin.t-online.de>
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!newsfeed.stanford.edu!logbridge.uoregon.edu!uunet!sea.uu.net!sac.uu.net!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 75
X-Newsreader: MyNews