Thread View: news.software.nntp
9 messages
9 total messages
Started by Eric Edwards
Tue, 31 Aug 1999 00:00
Looking for minimal bandwidth news puller
Author: Eric Edwards
Date: Tue, 31 Aug 1999 00:00
Date: Tue, 31 Aug 1999 00:00
32 lines
1876 bytes
1876 bytes
I'm looking for a news puller that will put minimal load on my network, my ISP's news server, and my system, in that order. I don't care about connect time as I have a full time link. Suck and Newsx want to pull all the news across and create a batch file before checking to see if the article is actually wanted. Ugly. Pullnews shows promise. But it still wants to retrieve the article before checking to see if it's wanted. What I really want is for the puller to operate in a very sequential fashion: 1) Get message-id 2) ihave <message-d> 3) Fetch the article if and only if the local server responds positively to the ihave. I currently use suck to supplement 2 major push feeds so the condition where the article is already here is quiet real and common. A delay between articles may be useful to smooth the load. It's scary how much my load suck puts on my system when it starts up. I may just try and hack Pullnews but, being a lazy bastard, I would be pleased to find that someone else has already done the work. :-) -- Real courtesy requires human effort and understanding. Never let your machine or your habit send courtesy copies.
Re: Looking for minimal bandwidth news puller
Author: Eric Edwards
Date: Tue, 31 Aug 1999 00:00
Date: Tue, 31 Aug 1999 00:00
17 lines
1471 bytes
1471 bytes
On 31 Aug 1999 12:19:37 +0200, Sven Paulus <sven@karlsruhe.org> wrote: >Eric Edwards <ese002@news9.exile.org> wrote: >|> Suck and Newsx want to pull all the news across and create a batch file >|> before checking to see if the article is actually wanted. Ugly. > >At least suck can be compiled in a way to check INN's history befora >actually pulling the article. I think that's what you want. Closer. But, it's still batching. That means by the time it gets around to delivering the article, it may have already arrived from another source. -- Real courtesy requires human effort and understanding. Never let your machine or your habit send courtesy copies.
Re: Looking for minimal bandwidth news puller
Author: Sven Paulus
Date: Tue, 31 Aug 1999 00:00
Date: Tue, 31 Aug 1999 00:00
15 lines
1188 bytes
1188 bytes
Eric Edwards <ese002@news9.exile.org> wrote: |> Suck and Newsx want to pull all the news across and create a batch file |> before checking to see if the article is actually wanted. Ugly. At least suck can be compiled in a way to check INN's history befora actually pulling the article. I think that's what you want. |> A delay between articles may be useful to smooth the load. It's scary |> how much my load suck puts on my system when it starts up. Use the source, adding a sleep(1) is usually very simple :) Sven
Re: Looking for minimal bandwidth news puller
Author: Frank Slootweg
Date: Tue, 31 Aug 1999 00:00
Date: Tue, 31 Aug 1999 00:00
16 lines
1111 bytes
1111 bytes
Sven Paulus (sven@karlsruhe.org) wrote: > Eric Edwards <ese002@news9.exile.org> wrote: > |> Suck and Newsx want to pull all the news across and create a batch file > |> before checking to see if the article is actually wanted. Ugly. > > At least suck can be compiled in a way to check INN's history befora > actually pulling the article. I think that's what you want. Indeed. AFAIK, it is even the default, at least for 3.9.2: $ grep CHECK_HISTORY suck_config.h #define CHECK_HISTORY 1 $
Re: Looking for minimal bandwidth news puller
Author: John Saunders
Date: Wed, 01 Sep 1999 00:00
Date: Wed, 01 Sep 1999 00:00
46 lines
2452 bytes
2452 bytes
Eric Edwards wrote: > [ ... ] > Suck and Newsx want to pull all the news across and create a batch file > before checking to see if the article is actually wanted. Ugly. > > Pullnews shows promise. But it still wants to retrieve the article > before checking to see if it's wanted. > > What I really want is for the puller to operate in a very sequential > fashion: > > 1) Get message-id > 2) ihave <message-d> > 3) Fetch the article if and only if the local server responds positively > to the ihave. May I suggest PNF? <http://home1.gte.net/jrs/pnf>. That's pretty much how PNF operates. From the README: "It can send articles directly to an NNTP server through IHAVE, avoiding intermediate storing and batching." > I currently use suck to supplement 2 major push feeds so the condition > where the article is already here is quiet real and common. > > A delay between articles may be useful to smooth the load. It's scary > how much my load suck puts on my system when it starts up. If you can do perl, you can cause PNF to execute arbitrary perl code to, for example, examine an article's header to see if you want it, or in your case, calculate a bytes/second figure and then sleep to slow down. > > I may just try and hack Pullnews but, being a lazy bastard, I would be > pleased to find that someone else has already done the work. :-) That'd be me. :-) -- jrs
Re: Looking for minimal bandwidth news puller
Author: Pauline Middelink
Date: Thu, 02 Sep 1999 00:00
Date: Thu, 02 Sep 1999 00:00
27 lines
1763 bytes
1763 bytes
Sven Paulus wrote: > > Eric Edwards <ese002@news9.exile.org> wrote: > |> Suck and Newsx want to pull all the news across and create a batch file > |> before checking to see if the article is actually wanted. Ugly. > > At least suck can be compiled in a way to check INN's history befora > actually pulling the article. I think that's what you want. I've written a small perl thingy which just does an XHDR on the feeding server and an IHAVE for every article-id in it on the local server (ofcourse remembering where it was last time!) When the IHAVE returns OK, we fetch the entire article from the feeding server and feed it to local server. Its about 50 lines long, using Net::NNTP This way our UUCP feeds still operate correctly and we don't have to be fed the non-local (for us non-alt.*) groups anymore... We went from 350kbps to ~70kpbs, and since we pay for /used/ bandwidth, we're happy :) Pauline
Re: Looking for minimal bandwidth news puller
Author: Pauline Middelink
Date: Thu, 02 Sep 1999 00:00
Date: Thu, 02 Sep 1999 00:00
22 lines
1580 bytes
1580 bytes
Pauline Middelink wrote: > I've written a small perl thingy which just does an XHDR on the feeding > server and > an IHAVE for every article-id in it on the local server (ofcourse > remembering where > it was last time!) When the IHAVE returns OK, we fetch the entire > article from the > feeding server and feed it to local server. Its about 50 lines long, > using Net::NNTP > > This way our UUCP feeds still operate correctly and we don't have to be > fed the > non-local (for us non-alt.*) groups anymore... We went from 350kbps to > ~70kpbs, and > since we pay for /used/ bandwidth, we're happy :) Due to some requests, I placed the util at my home page, you can find it at: http://www.polyware.nl/~middelin/En/hobbies.html#News Pauline
Re: Looking for minimal bandwidth news puller
Author: Eric Edwards
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
35 lines
2440 bytes
2440 bytes
On 1 Oct 1999 04:00:27 GMT, Marc Newman <mknewman@blkbox.com> wrote: >Eric Edwards <ese002@news9.exile.org> wrote: >> I'm looking for a news puller that will put minimal load on my network, >> my ISP's news server, and my system, in that order. I don't care about >> connect time as I have a full time link. > >Try nntpcache, it works well, and keeps the bandwidth down to 1 copy of each >message that is actually read traversing the network. While a appreciate the suggestion, nntpcache is really a solution to a different problem. I run a local newsfeed for reasons of latency, reliability, and control over expire time. NNTPcache intrinsically can't do anything about reliability or expire time. And, unless you have a significant user population (vs, say, 1) it doesn't help with latency either. Additionally, NNTPcache does not coexist well with a local feed. There is no way to tell it to cache everything that isn't local. The best you can do is tie specific hierarchies to specific servers. If locally served are not confined to a specific hierarchy, the whole thing becomes huge and unmaintainable. It's really a shame too. I would really, really like to get it to work but neither NNTPcache or NewsCache can properly overlay a local feed. But, back to my problem: Ultimately, I decided that nothing out there was quite right but Kai Henningsen's "backupfeed" was closest and easiest to work with. I'm still tuning it to my needs but it's working pretty well. -- Real courtesy requires human effort and understanding. Never let your machine or your habit send courtesy copies.
Re: Looking for minimal bandwidth news puller
Author: Marc Newman
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
18 lines
1829 bytes
1829 bytes
Eric Edwards <ese002@news9.exile.org> wrote: > I'm looking for a news puller that will put minimal load on my network, > my ISP's news server, and my system, in that order. I don't care about > connect time as I have a full time link. Try nntpcache, it works well, and keeps the bandwidth down to 1 copy of each message that is actually read traversing the network. Marc -- Marc K. Newman (N5SLG) |Is UNIX pronounced "UNIQUES" or "EUNUCHS"? mknewman@blkbox.com |281-480-2684 voice, 800-BLKBOX-1 toll free PO BOX 591822 |Serving the Houston Internet community since 1992 Houston, Texas 77259-1822 |Email info@blkbox.com for 713/281/409 Internet! GB/CM/CS d H s+:+ g- p#2+ au+ a39 w+ v--- C++++ UBISC++++ P+ L- 3- E- N++ K W M V po++ Y++ t++ 5+ jx R- G? tv+++ b+++ D- B--- e- u+ h---- f- r+++ n--- x++++
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