🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82390

Re: nntp Software Inadequacy

#82390
From: tribalzidane
Date: Thu, 02 Aug 2001 22:35
156 lines
10923 bytes
curt@kcwc.com (Curt Welch) posted:

> When you try to combine multiple servers into one with your "virtual
> server", you will have to create your own local article numbers.  You can't
> use the article numbers from any of your downstream servers.  And when
> agent connects and issues a "GROUP news.software.readers" command, your
> server has to already have the correct answer to that question.  It has to
> know what the current high article number is for your server, which means
> it has to have already figured out how many new articles there are on all
> the servers it's trying to act as a virtual server for.

Are you clear on the fact that I'm not worried about doing what hamster
and NewsPlex do?  I want to use ONE news server to access ONE newsgroup.
I do NOT want to use five news servers to access one newsgroup.  I'm
more concerned with actual access to groups more than completion.

For example, let's say I set up news.earthlink.net and
msnews.microsoft.com in this virtual server.  The program downloads a
list of newsgroups from news://news.earthlink.net, then it downloads a
list of newsgroups from news://msnews.microsoft.com.  I then would see a
list of duplicated newsgroups and which servers the groups are on.  I
would be able to sort the list by name or by server by clicking in the
column headings.  If I wanted to access all groups duplicated between
the two servers on the msnews.microsoft.com server, I'd simply highlight
all those newsgroups from the Microsoft server, right-click and select
Preferred.  The virtual server program would then keep a record of which
server I wish to use for those particular newsgroups, but it would keep
track of the fact that both servers carry the group.  It's just that the
groups normally accessed on the Earthlink server would be rendered
inactive from the Earthlink server since I prefer using Microsoft
servers.  If I obtain an active list from a third server and find that
it duplicates newsgroups from both the Microsoft and the Earthlink
servers, then when I sort the duplicate list by server again, selecting
this new server as preferred for the selected groups would deactivate
the preferred status on the Earthlink and Microsoft servers for the
selected groups.

Then I tell Agent, aimed at 127.0.0.1, to refresh its newsgroups list
and this list would contain groups from all three servers.  There would
be no duplicate newsgroups in the global active list because the
microsoft.* newsgroups would be flagged as inactive on the Earthlink
server and removed from the global active list, though still stored in
the Earthlink-specific active list in case I decide later I want to set
those groups to retrieve from Earthlink.  Same thing for the third
server.  Since the program would use the global active list to store
preferred news server options, and since there would only be one copy of
each newsgroup in the global active list, there would be no chance of
the program accidentally routing commands to the wrong server for a
given newsgroup.

Additionally, if I happen to configure additional servers, the program
will parse the new active list and decide which ones are duplicates and
which ones are not.  Any newsgroups which are unique to the new server
will be set as preferred for that server since they cannot be had
anywhere else.  If there are duplicate newsgroups, I get a window with a
list of all currently duplicated newsgroups and which servers they are
available on.  If I choose not to make any changes, then all duplicated
newsgroups from the new server are not activated, but they are stored in
the server-specific global list.  I would always be able to see a global
list of groups which are available on multiple servers and I could sort
them by server and select ranges of newsgroups so I can set a preferred
server.  The program would also make sure that all available newsgroups
have a server set to make sure there are no groups without a server to
pull from.

I could subscribe to newsgroups as usual with Agent.  This "virtual
server" would not care whether I'm subscribed to a newsgroup or not.
The intent of the program is *NOT* to try to combine the feeds of both
servers to get a more complete feed from individual newsgroups, nor is
the intent of the program to cache article data for access by Agent.
The intent of the program is simply to keep track of which newsgroups
belong to which servers, which servers I wish to access for any given
newsgroup, and route NNTP commands accordingly.  Agent would behave as
it normally does.  This "virtual server" would simply be tricking Agent
into thinking it's accessing all these newsgroups on one server, while
this extra program might be accessing 20 or 30 servers, but only ONE
server per newsgroup would be allowed.  I realize this defeats the
purpose for which people use Hamster and NewsPlex, but it fits my
purposes perfectly and I think there are others out there who are
looking for the same thing.

I MIGHT build in a ping system to find out what kind of response time
each server has, and the program would keep a log of all ping times so
when you display a list of duplicate newsgroups you can see average ping
times for, say, the last 30 times the server was pinged or accessed.
But I'm more concerned with access to newsgroups than speed.  Which news
server gets selected would depend greatly on hands-on experience with
it.  For example, I would have an extra installation of Agent handy
which I'd use to directly access the news server, retrieve an active
list, pull headers from a few newsgroups to check completion, then
download some articles to see how fast they come in and how the
completion is.  If I like the server, or if it carries newsgroups I
can't get anywhere else, I'll add it to the virtual server and retrieve
the active list, then select which newsgroups I want to access on that
server.  I then go to Agent and refresh the newsgroups list and all the
newsgroups from the added server would then show up in Agent's group
list.

When Agent requests headers from a particular newsgroup, then the
command most certainly contains something identifying the newsgroup it
wants headers from.  Since the command would be routed to 127.0.0.1,
this "nntp command router / virtual server" would parse the command and
check its option set to find out which server I've decided I want to
pull the headers from.  Since msnews.microsoft.com carries all the
news:microsoft.* newsgroups, I would have previously set up this
"virtual server" to access all microsoft.* newsgroups from
msnews.microsoft.com, *NOT* news.earthlink.net.  This virtual server
would simply route the information.  Perhaps it would be more accurate
to call this program an NNTP command router, since that's basically all
it would do.  But to Agent, it would act like one, giant news server.
When a response is received from msnews.microsoft.com, the information
would be passed right through to Agent, which would then store all
necessary information to keep up with which articles have been
retrieved.  As long as Agent always accesses uses the same server to
access a given newsgroup, then where it actually came from shouldn't
matter.

I mean, the reason I think this would work is, I can take a single
installation of Agent and get an active list with 92,000 newsgroups from
Altnet.  I can then keep track in my mind which subscribed newsgroups
are carried on which servers.  I can change the server in the Agent
options and get headers and bodies for one newsgroup, then change the
server and get headers and bodies from a different newsgroup.  As long
as I don't accidentally access the wrong server for a particular
newsgroup, Agent keeps track of everything just as it should.  I can
keep going back to the same old newsgroups, changing the server
configured in Agent each time, and it always gets the headers it should
get.  This program I want to write would simply take out the steps of
changing the news server configured in the Agent options every time I
want to access a different server.

> The only way to do that, is to download all the headers from all the
> severs, then sort though them and figure out which articles are duplicates
> and which are not.  You then have to build your own local database which
> maps your local article numbers into the server/article numbers of the
> remote server.  And you have to store all the headers locally so that when
> agent asks for them, you can get them easilly.  You could fetch them one at
> a time from the remote servers, but that would be so slow as to be mostly
> unworkable.

But what you describe here would not be necessary if my intent is *NOT*
to combine newsfeeds for thread completion, right?  I do *NOT* want to
use ten different news servers to access one newsgroup.  I want to
access one newsgroup from ONE server only, not nine or ten servers.  I
can see why the above quoted would be necessary to combine newsfeeds for
one newsgroup, but I can't see why it would be necessary for simply
combining active lists from multiple servers.

I know that was long-winded, but I hope it clears things up.  Does that
sound like a simple enough task to pull off?  I figured the reason it
hasn't been done is because people are normally concerned with
completion.  I already have completion.  I just want more newsgroups
than Earthlink offers.

Damaeus
Technical Details
Message-ID: <0hhjmtodlqa25g1f12eggpit1f4ns01vai@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!cyclone2.usenetserver.com!usenetserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
References: <u71jmt4omd1m09n2dab2m68p4dkdbcee87@4ax.com> <20010802164042.176$E3@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <0hhjmtodlqa25g1f12eggpit1f4ns01vai@4ax.com>
Subject: Re: nntp Software Inadequacy
Date: Thu, 02 Aug 2001 22:35:51 GMT
From: tribalzidane@earthlink.net
References: <u71jmt4omd1m09n2dab2m68p4dkdbcee87@4ax.com> <20010802164042.176$E3@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!cyclone2.usenetserver.com!usenetserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
Newsgroups: news.software.readers,microsoft.public.vb.controls.internet
Organization: Prefix that with "Dis"
Reply-To: tribalzidane@earthlink.net
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 155
NNTP-Posting-Host: 158.252.159.179
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.prod.itd.earthlink.net 996791751 158.252.159.179 (Thu, 02 Aug 2001 15:35:51 PDT)
NNTP-Posting-Date: Thu, 02 Aug 2001 15:35:51 PDT
X-Received-Date: Thu, 02 Aug 2001 15:33:22 PDT (newsmaster1.prod.itd.earthlink.net)