Thread View: news.software.nntp
27 messages
27 total messages
Started by Simon Lindsay
Sun, 07 Sep 1997 00:00
Cacheing News Server
Author: Simon Lindsay
Date: Sun, 07 Sep 1997 00:00
Date: Sun, 07 Sep 1997 00:00
28 lines
1409 bytes
1409 bytes
Hello. I run a small ISP in australia, we co-locate with a very large ISP, and currently use their news server via ethernet, as we can't justify a full machine for the purpose. However, we've been thinking about the future, and it would be nice to have a sort of "proxy" news server, which will grab articles on demand from the large server, and keep them for a number of days, on the off chance that more of our users want them, and then expire them as normal. My question then, is: Does such a program exist? I've looked at NewsX, Leafnode etc, but they don't go quite as far as I'd like. Your thoughts would be appreciated. Simon Lindsay - Technical Manager, InterWeb Connections Ph. (08) 8221 5444 Fax. (08) 8221 5450 Support. (04) 1462 2204 E-Mail. slim@iweb.net.au ICQ. 1485568 Quality Internet Connections
Re: Cacheing News Server
Author: Trevor Fiatal
Date: Mon, 08 Sep 1997 00:00
Date: Mon, 08 Sep 1997 00:00
36 lines
2093 bytes
2093 bytes
On Sun, 07 Sep 1997 10:09:17 GMT, slim@iweb.net.au (Simon Lindsay) spake thusly: > >Hello. > >I run a small ISP in australia, we co-locate with a very large ISP, and >currently use their news server via ethernet, as we can't justify a full >machine for the purpose. > >However, we've been thinking about the future, and it would be nice to have a >sort of "proxy" news server, which will grab articles on demand from the large >server, and keep them for a number of days, on the off chance that more of our >users want them, and then expire them as normal. Try nntpcache, at ftp://suburbia.net someplace. I'm testing it internally right now (as a matter of fact, the server I'll be posting this article to is running nntpcache) and it seems to be an excellent package. Very tunable, very robust, and an amazingly good alternative to running a full server. For your application, it even comes with a perl script called (IIRC) 'newshound', which can be used to cause certain commonly-accessed groups to be pre-loaded into the cache by recursively accessing them during off hours. Have fun! -Trevor /--------------------------------=-----------------------------------\ |Trevor Fiatal - trevor@home.net | | |Internet Applications Architect | "Entropy sucks." | |@Home Network, SF Bay Area, CA | | \--------------------------------|-----------------------------------/
Re: Cacheing News Server
Author: Matthew Stein
Date: Mon, 08 Sep 1997 00:00
Date: Mon, 08 Sep 1997 00:00
15 lines
1035 bytes
1035 bytes
Trevor Fiatal <trevor@home.net> wrote: > Try nntpcache, at ftp://suburbia.net someplace. I'm testing it internally > right now (as a matter of fact, the server I'll be posting this article to is The only problem with nntpcache, is that it doesn't work on many MMAP crippled OS'. HPUX to name one. Other than that, it's great! -- mat.
Re: Cacheing News Server
Author: Vidar Hokstad
Date: Mon, 08 Sep 1997 00:00
Date: Mon, 08 Sep 1997 00:00
35 lines
2098 bytes
2098 bytes
In article <5uu26a$o4d$1@news.adl.auslink.net>,
slim@iweb.net.au (Simon Lindsay) writes:
[...]
> However, we've been thinking about the future, and it would be nice to have a
> sort of "proxy" news server, which will grab articles on demand from the large
> server, and keep them for a number of days, on the off chance that more of our
> users want them, and then expire them as normal.
>
> My question then, is:
>
> Does such a program exist?
Yes. nntpcache was mentioned by someone else. Also, we are days away from
a public beta of "Evil Purple NewsCache", which is what I'm posting this
article through. Actually we have an archive for 1.0 ready, but we are
delaying the release a bit longer since it seems the beta of 1.1 will be
ready in a couple of days, and it includes extensive code cleanup as well
as lot of extra features.
(For those who wonder, "Evil Purple" is the name of an orchid ;)
The URL for the cache software is <URL:http://a.ncg.net/newscache/>
--
--- Vidar Hokstad <v@ncg.net> ------+-+-- NorConnect Internet Services AS ---
DrStrange on Undernet / EFnet |+| Consulting on Internet and intranets
<URL:http://a.ncg.net/DrStrange/> |+| <URL:http://www.norconnect.no/>
------------------------------------+-+--------------------------------------
--
Posted through a BETA of NCG NewsCache. For info or complaints:
<URL:mailto:newscache@ncg.net> or <URL:http://www.ncg.net/newscache/>
Re: Cacheing News Server
Author: Alexis Rosen
Date: Thu, 11 Sep 1997 00:00
Date: Thu, 11 Sep 1997 00:00
29 lines
2087 bytes
2087 bytes
In <5v0ogq$2hb$1@nntp.newmedia.no> vidarh@ncg.net (Vidar Hokstad) writes: >Yes. nntpcache was mentioned by someone else. Also, we are days away from >a public beta of "Evil Purple NewsCache", which is what I'm posting this >article through. Actually we have an archive for 1.0 ready, but we are >delaying the release a bit longer since it seems the beta of 1.1 will be >ready in a couple of days, and it includes extensive code cleanup as well >as lot of extra features. Hm. My news reader machine currently takes half a million articles a day from the transfer box, which takes a whole lot more. Even if I'm serving 250,000 articles/day to reader clients, I'll bet that only 20-40K of them are unique. (Think about cancels, *.jobs.*, zillions of spams nobody reads before they're canceled, etc.) Would it be reasonable to run a news cache box as a main reader, if we preloaded some of the most popular hierarchies? Has anyone tried this? It should be easy enough to identify the candidates for preloading simply by using the more extensive article stats available in the daily report. I wonder how much the reader load on the reader box, when translated through the cache-filler, would be reduced. I suspect that the benefits of limited long-open connections to the transfer server would be sizeable. You could do a dbzincore on the reader process on the transfer server, which would help too (after all, you'll only have a few nnrpds running). /a
Re: Cacheing News Server
Author: Vidar Hokstad
Date: Fri, 12 Sep 1997 00:00
Date: Fri, 12 Sep 1997 00:00
74 lines
4629 bytes
4629 bytes
In article <5vacao$6lr@panix4.panix.com>, alexis@panix.com (Alexis Rosen) writes: > Hm. My news reader machine currently takes half a million articles a day > from the transfer box, which takes a whole lot more. Even if I'm serving > 250,000 articles/day to reader clients, I'll bet that only 20-40K of them > are unique. (Think about cancels, *.jobs.*, zillions of spams nobody reads > before they're canceled, etc.) Not to mention that the groups people read daily is only a very small subset of groups - one of the newsservers I run take about 12.000 groups now, and the daily average is accesses to 500 groups, with a core of 3-400 that are read every day. > Would it be reasonable to run a news cache box as a main reader, if we > preloaded some of the most popular hierarchies? Has anyone tried this? I don't think you would gain much from preloading, since the articles would be cached the first time a user requests the articles anyway, and with a resonable number of readers for the popular groups only the few articles that has arrived since someone else downloaded the group (presuming lots of people use offliners) will be uncached. So the actual impact for the readers will be small. Also by preloading the cache, and thus "always" having articles that have never been read in the cache, you use space that I believe would be better utilized by keeping other data for a longer time period. We will support preloading quite soon though, but mainly for people that want to use the cache for dial on demand solutions where downloading the most read groups in larger chunks will reduce the number of placed calls a lot. > It should be easy enough to identify the candidates for preloading simply > by using the more extensive article stats available in the daily report. > > I wonder how much the reader load on the reader box, when translated through > the cache-filler, would be reduced. I suspect that the benefits of limited > long-open connections to the transfer server would be sizeable. You could > do a dbzincore on the reader process on the transfer server, which would > help too (after all, you'll only have a few nnrpds running). It depends very much on what kind of newsreaders your users use. I use knews, which is *extremely* inefficient in it's use of the newsserver. It frequently "rescans", which translates to a "LIST ACTIVE"... It also requests *all* overview records for the groups it enters (at least by default, I'm on the same LAN as the newsserver so I haven't bothered messing with it :) etc. With newsreaders like that, and my newsreading pattern (check groups frequently, which implies a full transfer of all overview records each time... Sigh.), I've experienced reductions of up to 80% of traffic between the server and the cache compared to between the cache and the reader. And that's on my development setup of Evil Purple, which only I use. (Homepage at <URL:http://a.ncg.net/newscache/> :-) You won't see that kind of reductions with more sensible newsreaders, of course. Not for _one_ user anyway, but since the caching of actual articles only give a very minor payoff for one user (after all I don't spend all day reading the same articles again and again), you will start seeing substantial reductions in the traffic caused by the most popular groups as the numbers of users increase. -- --- Vidar Hokstad <v@ncg.net> ------+-+-- NorConnect Internet Services AS --- DrStrange on Undernet / EFnet |+| Consulting on Internet and intranets <URL:http://a.ncg.net/DrStrange/> |+| <URL:http://www.norconnect.no/> ------------------------------------+-+-------------------------------------- -- Posted through a BETA of NCG Evil Purple NewsCache. Info or complaints: <URL:mailto:newscache@ncg.net> or <URL:http://www.ncg.net/newscache/>
Re: Cacheing News Server
Author: Stephen Pugmire
Date: Wed, 17 Sep 1997 00:00
Date: Wed, 17 Sep 1997 00:00
28 lines
1648 bytes
1648 bytes
On 11 Sep 1997 23:18:48 -0400, alexis@panix.com (Alexis Rosen) wrote: >Hm. My news reader machine currently takes half a million articles a day >from the transfer box, which takes a whole lot more. Even if I'm serving >250,000 articles/day to reader clients, I'll bet that only 20-40K of them >are unique. (Think about cancels, *.jobs.*, zillions of spams nobody reads >before they're canceled, etc.) > >Would it be reasonable to run a news cache box as a main reader, if we >preloaded some of the most popular hierarchies? Has anyone tried this? The DNEWS News Server using the Dynamic sucking feed option effectively does this on an ongoing basis. Pulling and cacheing only those news groups that are actually being read on your server... providing the savings in Network bandwidth and diskspace. The latest versions have some really good spam protection so you can get rid of an awful lot of junk which users appreciate not receiveing. Info http://netwinsite.com/dnews steve Netwin ( the developers of DNEWS)
Re: Cacheing News Server
Author: Aaron Nabil
Date: Thu, 18 Sep 1997 00:00
Date: Thu, 18 Sep 1997 00:00
43 lines
2724 bytes
2724 bytes
Trevor Fiatal <trevor@corp.home.net> writes: >- It was not intended to be a strict comparison between and INN-type > architecture and an nntpcache reader-only server, but rather a test > of nntpcache as a resource-efficient replacement for an INN server. > This includes bandwidth savings and host resource savings. "News caching" and "nntpcache" are different things, just as "News serving" and "INN" are. The latter of the two is one possible implementation of the software to perform the former. Whether or not news caching is a win for an organization is a different question than if nntpcache is a good news cache. If "bandwidth savings" is the reason people are considering news caching, then what they need to be comparing is running a cache versus reading news remotely via NNTP. With my tests, I wasn't doing any better than a 50% savings on bandwidth, a neglible amount considering how little of our pipe was being used for news and how inexpensive bandwidth is in the US. I'm sure someone in New Zealand with a 256k pipe would view these savings as a win, but it wasn't for us. As to resource saving, that would be a choice between news cache boxes and news reader boxes. If a "reader box" is simply another copy INN running at the end of a pipe, sure, cache. But unless your bandwith is _really_ expensive, just NFS mount another reader box off you netapp and have those remote readers read remotely via NNTP back at the central hub. As to whether nntpcache is a good news cache, it's certainly good for a first stab at implementing a news cache. On an absolute scale, it's not production quality, has some fundemental problems with support and maintainance, and in general a lot of things I'd (and I think most people) would do differently. The way you gush on about it, I can't believe you have actually tried using it. Maybe you are using it, but just never looking at the logs, or purhaps your test user base is just keeping their mouths shut. -- Aaron Nabil nabil@teleport.com
Re: Cacheing News Server
Author: Trevor Fiatal
Date: Thu, 18 Sep 1997 00:00
Date: Thu, 18 Sep 1997 00:00
57 lines
3538 bytes
3538 bytes
Aaron Nabil wrote: > > trevor@home.net (Trevor Fiatal) writes: > >On 11 Sep 1997 23:18:48 -0400, alexis@panix.com (Alexis Rosen) spake thusly: > >>I wonder how much the reader load on the reader box, when translated through > >>the cache-filler, would be reduced. I suspect that the benefits of limited > >>long-open connections to the transfer server would be sizeable. You could > >>do a dbzincore on the reader process on the transfer server, which would > >>help too (after all, you'll only have a few nnrpds running). > > > >The box, a 128MB dual-CPU SS20, was having difficulty taking a full-bore feed > >while running (shudder) the Netscape news server abomination, and the load > >ranged from 1.3 to 6+. Now, with nntpcache, preloading, and no expires, it > >shows an average load of about 0.2 with a dozen or so active clients. > > One would suspect that you were running the netscape news server and > handling multiple incoming feeds. If this was just a "reader" box, with > either just one feed or a NFS mounted spool (and you doubled the ram) you > should be able to handle, what, maybe a hundred readers? It's not exactly > a fair comparision, pitting INN on a memory-starved machine processing > multiple incoming feeds AND readers, and nntpcache processing just readers. Perhaps I was inadequately clear. - This box accepted a single feed from a Cyclone newshub, and was chronically behind, despite all we had done to tweak it. - I do not consider a 2-CPU SS20 with 128MB of memory and a disk array to be insufficient for the purposes of taking a single aggregated feed and serving a small audience of newsreaders. - It was not intended to be a strict comparison between and INN-type architecture and an nntpcache reader-only server, but rather a test of nntpcache as a resource-efficient replacement for an INN server. This includes bandwidth savings and host resource savings. > When you write "and no expires", do you mean you have DISABLED nntpcache's > expire? I mean, you do know it expires articles, right? Oh, come now. If you've used nntpcache, you know what I mean -- it's an ongoing, efficient background expiration process vs. the complex monster that is INN expiration. By "no expires" I meant that there was no failure-prone daily event which caused some degree of server unavailability and the regular requirement for sysadmin time cycles. -Trevor -- /--------------------------------=-----------------------------------\ |Trevor Fiatal - trevor@home.net | A left... A feint... A jab... | |Internet Applications Architect | The postman hits! | |@Home Network, SF Bay Area, CA | You have new mail. | \--------------------------------|-----------------------------------/
Re: Cacheing News Server
Author: Trevor Fiatal
Date: Thu, 18 Sep 1997 00:00
Date: Thu, 18 Sep 1997 00:00
53 lines
3470 bytes
3470 bytes
On 11 Sep 1997 23:18:48 -0400, alexis@panix.com (Alexis Rosen) spake thusly: >Hm. My news reader machine currently takes half a million articles a day >from the transfer box, which takes a whole lot more. Even if I'm serving >250,000 articles/day to reader clients, I'll bet that only 20-40K of them >are unique. (Think about cancels, *.jobs.*, zillions of spams nobody reads >before they're canceled, etc.) > >Would it be reasonable to run a news cache box as a main reader, if we >preloaded some of the most popular hierarchies? Has anyone tried this? >It should be easy enough to identify the candidates for preloading simply >by using the more extensive article stats available in the daily report. We're doing this as a pilot project internally, with an eye towards deploying into the customer path if it seems like a good fit. The corporate news server was converted a few weeks ago to use nntpcache 1.0.7.1; it's rock stable, and the only complaint I've had is that it doesn't support XPAT, which is what the Netscape NNRP client uses for its 'search messages' feature. No biggie. I have a script which parses the daily logs of retrieved articles into a group-list, and this gets fed to the contrib/newshound program to preload the cache. Seems to work very well, even on a relatively small population of users -- around 300. >I wonder how much the reader load on the reader box, when translated through >the cache-filler, would be reduced. I suspect that the benefits of limited >long-open connections to the transfer server would be sizeable. You could >do a dbzincore on the reader process on the transfer server, which would >help too (after all, you'll only have a few nnrpds running). The box, a 128MB dual-CPU SS20, was having difficulty taking a full-bore feed while running (shudder) the Netscape news server abomination, and the load ranged from 1.3 to 6+. Now, with nntpcache, preloading, and no expires, it shows an average load of about 0.2 with a dozen or so active clients. I would say that the improvement in impact versus having the corporate users directly access the news repository is around an order of magnitude. Our induhvidual customers who perennially download large quantities of articles consume radically more CPU than the nntpcache pseudo-user. I'll post further experiences on this topic if we put it into the field, assuming anyone is interested. -Trevor /--------------------------------=-----------------------------------\ |Trevor Fiatal - trevor@home.net | | |Internet Applications Architect | "Entropy sucks." | |@Home Network, SF Bay Area, CA | | \--------------------------------|-----------------------------------/
Re: Cacheing News Server
Author: Aaron Nabil
Date: Thu, 18 Sep 1997 00:00
Date: Thu, 18 Sep 1997 00:00
31 lines
2092 bytes
2092 bytes
trevor@home.net (Trevor Fiatal) writes: >On 11 Sep 1997 23:18:48 -0400, alexis@panix.com (Alexis Rosen) spake thusly: >>I wonder how much the reader load on the reader box, when translated through >>the cache-filler, would be reduced. I suspect that the benefits of limited >>long-open connections to the transfer server would be sizeable. You could >>do a dbzincore on the reader process on the transfer server, which would >>help too (after all, you'll only have a few nnrpds running). > >The box, a 128MB dual-CPU SS20, was having difficulty taking a full-bore feed >while running (shudder) the Netscape news server abomination, and the load >ranged from 1.3 to 6+. Now, with nntpcache, preloading, and no expires, it >shows an average load of about 0.2 with a dozen or so active clients. One would suspect that you were running the netscape news server and handling multiple incoming feeds. If this was just a "reader" box, with either just one feed or a NFS mounted spool (and you doubled the ram) you should be able to handle, what, maybe a hundred readers? It's not exactly a fair comparision, pitting INN on a memory-starved machine processing multiple incoming feeds AND readers, and nntpcache processing just readers. When you write "and no expires", do you mean you have DISABLED nntpcache's expire? I mean, you do know it expires articles, right? -- Aaron Nabil nabil@teleport.com
Re: Cacheing News Server
Author: Vidar Hokstad
Date: Fri, 19 Sep 1997 00:00
Date: Fri, 19 Sep 1997 00:00
85 lines
5397 bytes
5397 bytes
In article <5vsgs8$h3s$1@kelly.teleport.com>, nabil@kelly.teleport.com (Aaron Nabil) writes: > If "bandwidth savings" is the reason people are considering news caching, > then what they need to be comparing is running a cache versus reading > news remotely via NNTP. With my tests, I wasn't doing any better than > a 50% savings on bandwidth, a neglible amount considering how little of > our pipe was being used for news and how inexpensive bandwidth is in the > US. I'm sure someone in New Zealand with a 256k pipe would view these > savings as a win, but it wasn't for us. Since I don't really have any credible stats for our product (Evil Purple NewsCache <URL:http://www.ncg.net/newscache/>), I won't discuss whether 50% is good or bad for actual "real life" caching. I've seen ratios as high as 80%, but it depends heavily on what newsreaders are used, and how many users are on. However, comparing running a cache versus reading news remotely isn't always a good comparison. We manage the newsserver of a Norwegian ISP as part of our consulting work. If they were to sign up with a commercial news service providing NNTP reader access, their customers would complain of slow responses. Not because the news service was bad, but because of network latency and bandwidth limitations beyond our control between the ISP and the closest acceptable news reader service. So in that case, it's a matter of administrating an INN box with multiple feeds, or running a cache. Considering the INN server we administer, it takes only about 12000 groups. Of them, about 6000 is actually being read. But only occasionally. Only about 500 groups are read each day, and 200-300 of them are groups that are read nearly every day. If we were to remove groups, we'd get complaints (we've tried ;), even if we check that the groups being removed hasn't been read for ages. In _that_ case, there can be major bandwidth savings. At most, we'd transfer the contents of 500 groups a day, compared to the contents of 12000 groups going to and from several other newsservers. But there's also the matter of speed. Running a cache here, would instantly make commercial news reader services, even in the US, acceptable speedwise. Another issue is of course caching at customer sites. If a customer use ISDN dial on demand, or even analog modem dial on demand, caching can do wonders, both speedwise and when considering how long you keep the link up... > As to resource saving, that would be a choice between news cache boxes > and news reader boxes. If a "reader box" is simply another copy INN running > at the end of a pipe, sure, cache. But unless your bandwith is _really_ > expensive, just NFS mount another reader box off you netapp and have those > remote readers read remotely via NNTP back at the central hub. Back to bandwidth prices... In Norway, I'd estimate the average bandwidth costs are 5-7 times the cost in the US. And Norway isn't that expensive compared to some other countries. But anyway, NFS will always perform worse than a well written specialized cache, and isn't always an option. And I don't talk about bandwidth waste - that aside, using NFS implementations are of highly variable quality speedwise, which is also an important concern. > As to whether nntpcache is a good news cache, it's certainly good for > a first stab at implementing a news cache. I agree. I've seen nntpcache setups that have been really good (hey, I shouldn't say that, I'm competing with them :-). What made us implement our own news cache was in part because there is very high interest in it - more and more ISPs seem to want to throw out their newsservers, and while bandwidth concerns are very valid for some, administration costs can amount to just as much, or more. Of course we also believe we can do as good or better as nntpcache, but whether we're right or not our users will have to judge when the public release is out. (For now, the 1.0.01 beta will be available to registered beta testers sometime today :-) -- --- Vidar Hokstad <v@ncg.net> ------+-+-- NorConnect Internet Services AS --- DrStrange on Undernet / EFnet |+| Consulting on Internet and intranets <URL:http://a.ncg.net/DrStrange/> |+| <URL:http://www.norconnect.no/> ------------------------------------+-+-------------------------------------- -- Posted through a BETA of NCG Evil Purple NewsCache. Info or complaints: <URL:mailto:newscache@ncg.net> or <URL:http://www.ncg.net/newscache/>
Re: Cacheing News Server
Author: Eric Edwards
Date: Sun, 21 Sep 1997 00:00
Date: Sun, 21 Sep 1997 00:00
13 lines
1193 bytes
1193 bytes
Ideally, news chacheing would work with a conventional feed and some kind of automated feed managed sytem. Frequently accessed groups should be fed through a normal feed. When access frequency drops below some threashold, the group is dropped from the inbound feeds it reverts to chacheing. Cacheing everything may be simpler but I would really hate to be the early bird who happens to reads news at, say 6:00am, and finds that half the articles are being fetched, on demand, from a distant site.
Re: Cacheing News Server
Author: Forrest J. Cavalier III
Date: Mon, 22 Sep 1997 00:00
Date: Mon, 22 Sep 1997 00:00
35 lines
2380 bytes
2380 bytes
In article <602881$7am$1@spica.exile.org>, ese002@news9.exile.org wrote...
>
>Ideally, news chacheing would work with a conventional feed and some
>kind of automated feed managed sytem. Frequently accessed groups should
>be fed through a normal feed. When access frequency drops below some
>threashold, the group is dropped from the inbound feeds it reverts to
>chacheing. Cacheing everything may be simpler but I would really hate
>to be the early bird who happens to reads news at, say 6:00am, and finds
>that half the articles are being fetched, on demand, from a distant
>site.
>
If you are reading an active group, it will already have been cached
throughout the day by people reading at 9am, 1pm, 5pm, 7pm, 11pm, etc.
Even if you are not, average time to read (and even skip some) articles
is over 10 seconds per article. This is a very healthy amount of time
that a pre-fetch could be used: Once you request the group, the server could
start pre-fetch. More than likely it would stay ahead of you.
But right now "value" in the major backbone peers and Top 1000 is based on
getting the article to you fastest. If caching is going to work,
then somehow the value of retention time is going to have to be
emphasized instead of push. Without being able to request articles
from peers, caching will really benefit only the large sites with
more than one machine servicing readers.
Forrest Cavalier, Mib Software, INN customization and consulting
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages:
http://www.mibsoftware.com/userkt/forprov.htm
Commercial support for INN: http://www.mibsoftware.com/innsup.htm
Re: Cacheing News Server
Author: bill davidsen
Date: Mon, 22 Sep 1997 00:00
Date: Mon, 22 Sep 1997 00:00
23 lines
1763 bytes
1763 bytes
In article <602881$7am$1@spica.exile.org>,
Eric Edwards <ese002@news9.exile.org> wrote:
| Ideally, news chacheing would work with a conventional feed and some
| kind of automated feed managed sytem. Frequently accessed groups should
| be fed through a normal feed. When access frequency drops below some
| threashold, the group is dropped from the inbound feeds it reverts to
| chacheing. Cacheing everything may be simpler but I would really hate
| to be the early bird who happens to reads news at, say 6:00am, and finds
| that half the articles are being fetched, on demand, from a distant
| site.
The beauty of caching is that you reduce bandwidth used on the
central server. I doubt that you would be able to tell if a given
article was local or fetched, unless the central server was
misconfigured.
--
bill davidsen <davidsen@tmr.com>
Carolyn replied, "But I'm not that silly girl you roomed with for four
years anymore! I've cleaned up my act! I've given up hallucinogenic
drugs, and only have sex with vertebrate mammals."
Re: Cacheing News Server
Author: Eric Edwards
Date: Tue, 23 Sep 1997 00:00
Date: Tue, 23 Sep 1997 00:00
40 lines
2418 bytes
2418 bytes
On 22 Sep 1997 16:05:36 GMT, bill davidsen <davidsen@tmr.com> wrote: >In article <602881$7am$1@spica.exile.org>, >Eric Edwards <ese002@news9.exile.org> wrote: >| Ideally, news chacheing would work with a conventional feed and some >| kind of automated feed managed sytem. Frequently accessed groups should >| be fed through a normal feed. When access frequency drops below some >| threashold, the group is dropped from the inbound feeds it reverts to >| chacheing. Cacheing everything may be simpler but I would really hate >| to be the early bird who happens to reads news at, say 6:00am, and finds >| that half the articles are being fetched, on demand, from a distant >| site. > >The beauty of caching is that you reduce bandwidth used on the >central server. I doubt that you would be able to tell if a given >article was local or fetched, unless the central server was >misconfigured. ...or far away or accessible only via a slow link. The way I see it, there are two major reasons to cache news. 1) It helps very large sites to distribute their news readers among multiple machines. 2) It provides very small sites with a "virtual" full newsfeed without the cpu, disk, and network resources a that a real full feed would require. My comments are directed at the latter, whereas I suspect that you are thinking of the former. Rest assured. When my next article has to come off a satalite and down a PPP link, I'm going to notice. >-- > bill davidsen <davidsen@tmr.com> >Carolyn replied, "But I'm not that silly girl you roomed with for four >years anymore! I've cleaned up my act! I've given up hallucinogenic >drugs, and only have sex with vertebrate mammals."
Re: Cacheing News Server
Author: bill davidsen
Date: Tue, 23 Sep 1997 00:00
Date: Tue, 23 Sep 1997 00:00
27 lines
1858 bytes
1858 bytes
In article <607fku$iqr$1@spica.exile.org>,
Eric Edwards <ese002@news9.exile.org> wrote:
| On 22 Sep 1997 16:05:36 GMT, bill davidsen <davidsen@tmr.com> wrote:
| >The beauty of caching is that you reduce bandwidth used on the
| >central server. I doubt that you would be able to tell if a given
| >article was local or fetched, unless the central server was
| >misconfigured.
|
| ...or far away or accessible only via a slow link.
| My comments are directed at the latter, whereas I suspect that you are
| thinking of the former. Rest assured. When my next article has to come
| off a satalite and down a PPP link, I'm going to notice.
I think the number of servers doing something like that and feeding
the readers over some significantly faster link is fairly small.
Perhaps small enough that I wouldn't base my server design on them.
--
bill davidsen <davidsen@tmr.com>
The net serves four of the five physical senses. You can get sight, and
sound, and to a limited extent tactile feedback. No one would deny that
some portions of the net smell, but I see no signs that taste will ever
come to the net. -me
Re: Cacheing News Server
Author: Vidar Hokstad
Date: Wed, 24 Sep 1997 00:00
Date: Wed, 24 Sep 1997 00:00
32 lines
2407 bytes
2407 bytes
In article <602881$7am$1@spica.exile.org>, ese002@news9.exile.org (Eric Edwards) writes: > Ideally, news chacheing would work with a conventional feed and some > kind of automated feed managed sytem. Frequently accessed groups should > be fed through a normal feed. When access frequency drops below some > threashold, the group is dropped from the inbound feeds it reverts to > chacheing. Cacheing everything may be simpler but I would really hate > to be the early bird who happens to reads news at, say 6:00am, and finds > that half the articles are being fetched, on demand, from a distant > site. nntpcache supports prefetching through a separate utility, and Evil Purple (URL appended to this post) will have it shortly too. For small sites, it might give some win if the upstream servers are really slow. For large sites the fetching should be fairly evenly distributed over different readers. But of course, if you want to devote disk to prefetching, and you know that certain groups are read close to 100%, it won't hurt to do prefetching. -- --- Vidar Hokstad <v@ncg.net> ------+-+-- NorConnect Internet Services AS --- DrStrange on Undernet / EFnet |+| Consulting on Internet and intranets <URL:http://a.ncg.net/DrStrange/> |+| <URL:http://www.norconnect.no/> ------------------------------------+-+-------------------------------------- -- Posted through a BETA of NCG Evil Purple NewsCache. Info or complaints: <URL:mailto:newscache@ncg.net> or <URL:http://www.ncg.net/newscache/>
Re: Cacheing News Server
Author: Vidar Hokstad
Date: Wed, 24 Sep 1997 00:00
Date: Wed, 24 Sep 1997 00:00
56 lines
3875 bytes
3875 bytes
In article <606ccu$t6m$1@news1.epix.net>, mibsoft@epix.net (Forrest J. Cavalier III) writes: > Even if you are not, average time to read (and even skip some) articles > is over 10 seconds per article. This is a very healthy amount of time > that a pre-fetch could be used: Once you request the group, the server could > start pre-fetch. More than likely it would stay ahead of you. And more than likely, it would perform badly bandwidth wise in way to many cases... (Such as binaries groups where few people download the entire group). Of course, you could do a few more tests, such as start prefetching if the reader requests articles in sequence, and stay just a bit ahead, and stop prefetching again once the user start skipping articles again. I think that if you want prefetching, it should be done primarily based on percentage of articles read, though. So that you prefetch groups if more than 90% (or whatever number suits your site) of the articles in that group are being read at least once. > But right now "value" in the major backbone peers and Top 1000 is based on > getting the article to you fastest. If caching is going to work, > then somehow the value of retention time is going to have to be > emphasized instead of push. Without being able to request articles > from peers, caching will really benefit only the large sites with > more than one machine servicing readers. I don't really agree. Caching makes the business of maintaining a newsserver for providing commercial access more affordable for the customers (their access speed is improved and their bandwidth costs go down), and drive cost down for the provider (less server load and bandwidth use), and should make it easier for many small sites to throw out their newsserver, and thus saving hardware costs, and maintenance (stipulating that they won't be using cache software that costs a lot to maintain). In addition, backbone providers such as GlobalOne (Sprint, Deutsche Telekom and France Telecom, for those who don't know) in many areas provide free _read_ access to their newsservers for customers who request it, which give you a newsserver just a few hops away you can use. Small to medium corporate customers of ISPs, who today read news straight for their ISPs newsserver may benefit from caching (and their ISP will too). But of course, the ability to request articles for peers might be interesting to look into... But for now it's reader access I'm interested in. -- --- Vidar Hokstad <v@ncg.net> ------+-+-- NorConnect Internet Services AS --- DrStrange on Undernet / EFnet |+| Consulting on Internet and intranets <URL:http://a.ncg.net/DrStrange/> |+| <URL:http://www.norconnect.no/> ------------------------------------+-+-------------------------------------- -- Posted through a BETA of NCG Evil Purple NewsCache. Info or complaints: <URL:mailto:newscache@ncg.net> or <URL:http://www.ncg.net/newscache/>
Re: Cacheing News Server
Author: Leslie Mikesell
Date: Wed, 24 Sep 1997 00:00
Date: Wed, 24 Sep 1997 00:00
23 lines
1554 bytes
1554 bytes
In article <60aidq$2v4$1@nntp.newmedia.no>, Vidar Hokstad <vidarh@ncg.net> wrote: > >nntpcache supports prefetching through a separate utility, and Evil >Purple (URL appended to this post) will have it shortly too. For small >sites, it might give some win if the upstream servers are really slow. >For large sites the fetching should be fairly evenly distributed over >different readers. > >But of course, if you want to devote disk to prefetching, and you know >that certain groups are read close to 100%, it won't hurt to do prefetching. Is it common for news providers to allow read access instead of a customary feed so you can use caching software? I've got a small office that doesn't really justify a full feed but I'd like to make it look like they did... MCI doesn't seem to have any provision for this. Or did I ask the wrong question? Les Mikesell les@mcs.com
Re: Cacheing News Server
Author: Eric Edwards
Date: Thu, 25 Sep 1997 00:00
Date: Thu, 25 Sep 1997 00:00
32 lines
2355 bytes
2355 bytes
On 24 Sep 1997 08:19:06 GMT, Vidar Hokstad <vidarh@ncg.net> wrote: >In article <602881$7am$1@spica.exile.org>, > ese002@news9.exile.org (Eric Edwards) writes: >> Ideally, news chacheing would work with a conventional feed and some >> kind of automated feed managed sytem. Frequently accessed groups should >> be fed through a normal feed. When access frequency drops below some >> threashold, the group is dropped from the inbound feeds it reverts to >> chacheing. Cacheing everything may be simpler but I would really hate >> to be the early bird who happens to reads news at, say 6:00am, and finds >> that half the articles are being fetched, on demand, from a distant >> site. > >nntpcache supports prefetching through a separate utility, and Evil >Purple (URL appended to this post) will have it shortly too. For small >sites, it might give some win if the upstream servers are really slow. >For large sites the fetching should be fairly evenly distributed over >different readers. Unless the upstream server is very close (netwise) to the cache site, the upstream server *is* going to be really slow. >But of course, if you want to devote disk to prefetching, and you know >that certain groups are read close to 100%, it won't hurt to do prefetching. But if you *know* that certains groups are read close to 100%, why cache them at all? Just get a normal feed. The real win is for all the groups that you don't know how much your customers read. They may be read very little, maybe a lot, perhaps not at all. It may (and probably does) change from week to week.
Re: Cacheing News Server
Author: Vidar Hokstad
Date: Thu, 25 Sep 1997 00:00
Date: Thu, 25 Sep 1997 00:00
41 lines
2943 bytes
2943 bytes
In article <60crvl$vr$1@spica.exile.org>, ese002@news9.exile.org (Eric Edwards) writes: > On 22 Sep 1997 18:11:42 GMT, Forrest J. Cavalier III <mibsoft@epix.net> wrote: >>In article <602881$7am$1@spica.exile.org>, ese002@news9.exile.org wrote... >>> >>>Ideally, news chacheing would work with a conventional feed and some >>>kind of automated feed managed sytem. Frequently accessed groups should >>>be fed through a normal feed. When access frequency drops below some >>>threashold, the group is dropped from the inbound feeds it reverts to >>>chacheing. Cacheing everything may be simpler but I would really hate >>>to be the early bird who happens to reads news at, say 6:00am, and finds >>>that half the articles are being fetched, on demand, from a distant >>>site. >>> >> >>If you are reading an active group, it will already have been cached >>throughout the day by people reading at 9am, 1pm, 5pm, 7pm, 11pm, etc. > > Except that the "etc" generally stops at midnight or close. With a > corporate news server the "etc" may stop as early at 6:00pm. The news > travels all night long. So the early bird faces 6-12 hours of unacached > news. Hmm... About time someone write an AI that learn the news reading pattern of different users and adjust the prefetch after it :-) Imagine connecting each morning at 8:00 am, and find that the cache learn it after a few days, and start prefetching your favorite groups at 7:58... Too bad I don't have time to start messing with something like that - it would be fun. -- --- Vidar Hokstad <v@ncg.net> ------+-+-- NorConnect Internet Services AS --- DrStrange on Undernet / EFnet |+| Consulting on Internet and intranets <URL:http://a.ncg.net/DrStrange/> |+| <URL:http://www.norconnect.no/> ------------------------------------+-+-------------------------------------- -- Posted through a BETA of NCG Evil Purple NewsCache. Info or complaints: <URL:mailto:newscache@ncg.net> or <URL:http://www.ncg.net/newscache/>
Re: Cacheing News Server
Author: Vidar Hokstad
Date: Thu, 25 Sep 1997 00:00
Date: Thu, 25 Sep 1997 00:00
57 lines
3419 bytes
3419 bytes
In article <60css2$13n$1@spica.exile.org>, ese002@news9.exile.org (Eric Edwards) writes: > Unless the upstream server is very close (netwise) to the cache site, > the upstream server *is* going to be really slow. Don't know what you consider close, but with a cache, I have no problems reading news from msnews.microsoft.com at decent speeds. The "problem" would be the overview data, which takes a while the first time a user enter a group. But since the transfer speed between us and msnews.microsoft.com are more than high enough to saturate the connections of a couple of users connected with PPP at 28.8k By the way, msnews.microsoft.com are more than 12 hops away, with the real traffic bottleneck being dog slow transatlantic links. Speeds are even quite acceptable for starnews.stardivision.com... Even though traffic goes from Oslo, through Stockholm, to London, across UUnets transatlantic links once, then through Alternet, accross the Atlantic once more, and through half of Germany... 17 hops. But how often to people read their news from sites that far from their own network? >>But of course, if you want to devote disk to prefetching, and you know >>that certain groups are read close to 100%, it won't hurt to do prefetching. > > But if you *know* that certains groups are read close to 100%, why cache > them at all? Because you also want to take 10.000 groups that are read less than 1%, and don't want to mess with two setups, for example? > Just get a normal feed. The real win is for all the > groups that you don't know how much your customers read. They may be > read very little, maybe a lot, perhaps not at all. It may (and probably > does) change from week to week. Exactly. But many people also want a cache because it's *way* less maintenance - you let whoever let you read news from their server take the trouble of administering the messier aspects of news. <PLUG> Evil Purple 1.0.02 *BETA* is now available. URL below. </PLUG> -- --- Vidar Hokstad <v@ncg.net> ------+-+-- NorConnect Internet Services AS --- DrStrange on Undernet / EFnet |+| Consulting on Internet and intranets <URL:http://a.ncg.net/DrStrange/> |+| <URL:http://www.norconnect.no/> ------------------------------------+-+-------------------------------------- -- Posted through a BETA of NCG Evil Purple NewsCache. Info or complaints: <URL:mailto:newscache@ncg.net> or <URL:http://www.ncg.net/newscache/>
Re: Cacheing News Server
Author: Vidar Hokstad
Date: Thu, 25 Sep 1997 00:00
Date: Thu, 25 Sep 1997 00:00
26 lines
2039 bytes
2039 bytes
In article <60c7aa$ovi$1@venus.mcs.net>, les@MCS.COM (Leslie Mikesell) writes: > Is it common for news providers to allow read access instead of a customary > feed so you can use caching software? I've got a small office that doesn't > really justify a full feed but I'd like to make it look like they did... > MCI doesn't seem to have any provision for this. Or did I ask the > wrong question? It's common in Norway... Don't know how common it is in the US. But here I don't know any providers that won't let their customers get read access. Even the multinational backbone providers like Global One provide it as a free extra service. Some charge a small amount for it, but those providers usually charge the same amount for a feed. -- --- Vidar Hokstad <v@ncg.net> ------+-+-- NorConnect Internet Services AS --- DrStrange on Undernet / EFnet |+| Consulting on Internet and intranets <URL:http://a.ncg.net/DrStrange/> |+| <URL:http://www.norconnect.no/> ------------------------------------+-+-------------------------------------- -- Posted through a BETA of NCG Evil Purple NewsCache. Info or complaints: <URL:mailto:newscache@ncg.net> or <URL:http://www.ncg.net/newscache/>
Re: Cacheing News Server
Author: Eric Edwards
Date: Thu, 25 Sep 1997 00:00
Date: Thu, 25 Sep 1997 00:00
45 lines
2970 bytes
2970 bytes
On 22 Sep 1997 18:11:42 GMT, Forrest J. Cavalier III <mibsoft@epix.net> wrote: >In article <602881$7am$1@spica.exile.org>, ese002@news9.exile.org wrote... >> >>Ideally, news chacheing would work with a conventional feed and some >>kind of automated feed managed sytem. Frequently accessed groups should >>be fed through a normal feed. When access frequency drops below some >>threashold, the group is dropped from the inbound feeds it reverts to >>chacheing. Cacheing everything may be simpler but I would really hate >>to be the early bird who happens to reads news at, say 6:00am, and finds >>that half the articles are being fetched, on demand, from a distant >>site. >> > >If you are reading an active group, it will already have been cached >throughout the day by people reading at 9am, 1pm, 5pm, 7pm, 11pm, etc. Except that the "etc" generally stops at midnight or close. With a corporate news server the "etc" may stop as early at 6:00pm. The news travels all night long. So the early bird faces 6-12 hours of unacached news. >Even if you are not, average time to read (and even skip some) articles >is over 10 seconds per article. This is a very healthy amount of time >that a pre-fetch could be used: Once you request the group, the server could >start pre-fetch. More than likely it would stay ahead of you. Most newsreaders display the subject and From: lines from every article upon entering a newsgroup. That means that, at minimum, you will need to transfer the xover information from the remote server for every article. The pre-fetch can't stay ahead of you unless you jump in and out of the same group. The first time, you always have to wait. >But right now "value" in the major backbone peers and Top 1000 is based on >getting the article to you fastest. If caching is going to work, >then somehow the value of retention time is going to have to be >emphasized instead of push. Without being able to request articles >from peers, caching will really benefit only the large sites with >more than one machine servicing readers. True. I would actually expect to see this offered by organizations like Supernews in liu of complete outsourceing of news.
Re: Cacheing News Server
Author: Stephen Pugmire
Date: Fri, 26 Sep 1997 00:00
Date: Fri, 26 Sep 1997 00:00
42 lines
2424 bytes
2424 bytes
On 24 Sep 1997 18:21:46 -0500, les@MCS.COM (Leslie Mikesell) wrote: >Is it common for news providers to allow read access instead of a customary >feed so you can use caching software? I've got a small office that doesn't >really justify a full feed but I'd like to make it look like they did... >MCI doesn't seem to have any provision for this. Or did I ask the >wrong question? They support DNEWS servers with a pull feed and were one of the first large providers to respond to users requests. DNEWS can be set up to dynamically suck and cache those news groups that are actually read by your users. So from the users perspective it looks exactly like a full feed but doesn't need anything like the bandwidth and diskspace you need to take a full feed. The break even point depends on readers habits and how important the binary groups are to your users. If your looking at less than about 3000 groups actively being read and binary groups aren't and issue then a Dynamic Sucking Feed Option offers real advantages. ISP's generally didn't use to support suck type software because it was (and can be) inefficient. The DNEWS news server dynamic sucking feed (unlike some other suck type feeds) won't overload their news system. In fact its requires significantly less network bandwidth and CPU time than a full feed. So the provider can actually support many more feeds with their current set up. In the vast majority of cases now most ISP's are happy to provide this type of access for DNEWS anyway. Providing access for DNEWS to suck news is trivial to setup, all the provider does is enable news reader access to his customers ip address. Check MCI info page http://infopage.mci.net/News/ Cheers Steve
Re: Cacheing News Server
Author: Leslie Mikesell
Date: Sat, 27 Sep 1997 00:00
Date: Sat, 27 Sep 1997 00:00
35 lines
2293 bytes
2293 bytes
In article <342af887.432255770@news.iconz.co.nz>, Stephen Pugmire <netwin@netwinsite.com> wrote: >ISP's generally didn't use to support suck type software because it >was (and can be) inefficient. The DNEWS news server dynamic sucking >feed (unlike some other suck type feeds) won't overload their news >system. In fact its requires significantly less network bandwidth and >CPU time than a full feed. So the provider can actually support many >more feeds with their current set up. In the vast majority of cases >now most ISP's are happy to provide this type of access for DNEWS >anyway. > >Check MCI info page >http://infopage.mci.net/News/ Thanks! Now can anyone comment on the available caching software? I might have 100 people using the system at all, perhaps 50 seriously. I'd like to include the microsoft.* groups direct from Microsoft and local groups from a copy on INN on another machine transparently, and perhaps pretend that alt.binaries.* doesn't exist (this is a business environment). I set something like this up with nntpcache a while back but never put it in production use. I don't think nntpcache had the ability to pre-fetch the frequently read groups at the time but a glance at the current version suggests that it does now. How does DNEWS compare, and what other alternatives exist that don't require configuring the specific groups to fetch (beyond wild-cards to allow/deny and which to pre-fetch)? This will be sitting on a T1 and the machine will have a reasonable amout of disk space to allow tuning the cache for best performance. Les Mikesell les@mcs.com
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