🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jeff Garzik Fri, 06 Dec 1996 00:00
nntpsend and backup feeds
#13033
Author: Jeff Garzik
Date: Fri, 06 Dec 1996 00:00
34 lines
1894 bytes
I am currently fed via a main feed and a backup feed.  I implemented the
"backup feed" by running nntpsend in cron [on the backup feed news
server] once every 30 minutes.

Since the main feed is very up-to-date and close to the hubs, this works
out well.  Most of the backup feed's articles are refused (since they
already arrived), and the rest fill in the gaps.

This is at hack at best, however.  Since nntpsend only runs once every
30 minutes, user posts to the backup server only get transmitted once
every 30 minutes.

Ideally, I would like some way to tell nntpsend to "send batched news to
all sites _but_ Jeff's site", and then once every hour or two, "send
batched news only to Jeff's site".

I'm running INN 1.5 on Linux, and the backup feed is running INN 1.4 on
Linux.

My questions,
(a) Can I finagle nntpsend to do what I want?

(b) Is there a better way to implement a backup feed?  I don't really
care about timeliness of article delivery, so connecting once every hour
or two to the backup server is fine.  That gives my main feed plenty of
time to feed me news.
-- 
Jeff Garzik                         Jeff.Garzik@spinne.com
Spinne, Inc.                        http://www.spinne.com/

   State-of-the-art efficient systems for the Internet.

Re: nntpsend and backup feeds
#13076
Author: Jesper Skriver
Date: Sat, 07 Dec 1996 00:00
45 lines
1958 bytes
Jeff Garzik <jeff.garzik@spinne.com> wrote:

>I am currently fed via a main feed and a backup feed.  I implemented the
>"backup feed" by running nntpsend in cron [on the backup feed news
>server] once every 30 minutes.
>
>Since the main feed is very up-to-date and close to the hubs, this works
>out well.  Most of the backup feed's articles are refused (since they
>already arrived), and the rest fill in the gaps.
>
>This is at hack at best, however.  Since nntpsend only runs once every
>30 minutes, user posts to the backup server only get transmitted once
>every 30 minutes.
>
>Ideally, I would like some way to tell nntpsend to "send batched news to
>all sites _but_ Jeff's site", and then once every hour or two, "send
>batched news only to Jeff's site".
>
>I'm running INN 1.5 on Linux, and the backup feed is running INN 1.4 on
>Linux.
>
>My questions,
>(a) Can I finagle nntpsend to do what I want?

You can have 2 nntpsend's

Take a copy of /news/bin/nntpsend to /news/bin/nntpsend.new
Edit /news/bin/nntpsend.new 
and change the line
CTLFILE=${NEWSLIB}/nntpsend.ctl
to
CTLFILE=${NEWSLIB}/nntpsend.new.ctl

and copy nntpsend.ctl to nntpsend.new.ctl

and edit nntpsend.ctl to include all sites but Jeff's
and nntpsend.new.ctl to include only Jeff's site

now you can run /news/bin/nntpsend every 1 or 5 minutes, and
/news/bin/nntpsend.new every hour or so.

/Jesper

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads