🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by bill davidsen Wed, 29 Mar 2000 00:00
Can I do this with Diablo?
#45363
Author: bill davidsen
Date: Wed, 29 Mar 2000 00:00
42 lines
2335 bytes
  I would love to use Diablo caching reader machines. However, my core
is going to be INN for at least the next procurement cycle. Therefore a
few questions, based on Diablo reader servers off INN main servers.

- Is there any reason I can't or shouldn't do this?

- Is there a header only utility for INN, or should I write one?

- can I mix full and header article feed, such that the caching server
  will be preloaded with certain articles?

- are Diablo caching servers able to present the same article numbers
  (not msg-id) as the main server. Consistancy is needed?

- is there any way to "catch up" a caching server other than refeeding
  every article on the main server? Something like pulling the active
  file and then getting the overview for each group in demand.

  I have no problem using a small Diablo server to feed caching servers
if that would make it easier. As long as the demand article load can be
from INN server(s).

  INN => Diablo => Diablo
   ^                  |
   |__________________|
     demand article body

  I'm interested, but the ability to bring a server on line quickly is
vital. feeding the whole overview to a machine which has readers for
only a few hundred groups will waste more bandwidth than it saves.

  If this is possible and there's a unified Diablo source to grab, I'll
try this and load test it.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.
  "Doing interesting things with little computers since 1979"(tm)

Re: Can I do this with Diablo?
#45353
Author: Nickolai Zeldovich
Date: Wed, 29 Mar 2000 00:00
25 lines
1759 bytes
In article <8btsi8$85p$1@newssvr02.news.prodigy.com>, bill davidsen wrote:
>- can I mix full and header article feed, such that the caching server
>  will be preloaded with certain articles?

A single connection can only be in header-only or full mode at any time
("mode headfeed" tells Diablo it's going to receive just headers). But
if you set up two feeds to your Diablo machine, one header-only, and
one full, it'll work, even with a single incoming label.

>- are Diablo caching servers able to present the same article numbers
>  (not msg-id) as the main server. Consistancy is needed?

You'll need to have some server generate Xref: headers (either diablo or
INN), and then put the downstream servers in xref-slave mode (you have
to enable slave in diablo.config, and start dreaderd with -x xrefhost).

>- is there any way to "catch up" a caching server other than refeeding
>  every article on the main server? Something like pulling the active
>  file and then getting the overview for each group in demand.

I don't think dreaderd can pull overview data on demand.

-- kolya

Re: Can I do this with Diablo?
#45365
Author: Russell Vincent
Date: Wed, 29 Mar 2000 00:00
64 lines
3277 bytes
bill davidsen <davidsen@tmr.com> wrote:
>   I would love to use Diablo caching reader machines. However, my core
> is going to be INN for at least the next procurement cycle. Therefore a
> few questions, based on Diablo reader servers off INN main servers.
> 
> - Is there any reason I can't or shouldn't do this?

With a little effort, it works fine (I am using an INN machine as
a backup backend spool for Diablo readers). You need a patch for nnrpd
to not timeout connections, which I have lying around somewhere
and will try and drag up.

> - Is there a header only utility for INN, or should I write one?

I am not aware of one.

> - can I mix full and header article feed, such that the caching server
>   will be preloaded with certain articles?

No, it will only store the headers.

> - are Diablo caching servers able to present the same article numbers
>   (not msg-id) as the main server. Consistancy is needed?

Yes, they can work in Xref: slave mode.

> - is there any way to "catch up" a caching server other than refeeding
>   every article on the main server? Something like pulling the active
>   file and then getting the overview for each group in demand.

Nope - nothing exists yet.

>   I have no problem using a small Diablo server to feed caching servers
> if that would make it easier. As long as the demand article load can be
> from INN server(s).

If your Diablo reader has enough CPU (or you have a header-only hack
for INN), then you don't need the intermediate Diablo. However ...

You could use the middle Diablo machine as your 'pre-fetch' cache,
though.  i.e: Feed it full articles and have the dreader use it as the
first-level spool server and the INN as second-level (i.e: only
contact the INN machine if the Diablo machine doesn't have the
article.

>   I'm interested, but the ability to bring a server on line quickly is
> vital. feeding the whole overview to a machine which has readers for
> only a few hundred groups will waste more bandwidth than it saves.

That facility doesn't exist yet, but is on my long-term todo list.
Perhaps Joe wants to jump in and do it before me.  :-)

>   If this is possible and there's a unified Diablo source to grab, I'll
> try this and load test it.

There are a few bugs I am trying to pin down in the latest src tree
and then I will announce a beta. If you don't need any of the fancy
new reader features (you don't mention any above), then 1.29-REL will
work fine.

 -Russell


Re: Can I do this with Diablo?
#45415
Author: bill davidsen
Date: Thu, 30 Mar 2000 00:00
25 lines
1717 bytes
In article <myxE4.819$75.18975@ptah.visi.com>,
Mike Horwath <drechsau+usenet@yuck.net> wrote:
| bill davidsen <davidsen@tmr.com> wrote:

| :   I'm interested, but the ability to bring a server on line quickly is
| : vital. feeding the whole overview to a machine which has readers for
| : only a few hundred groups will waste more bandwidth than it saves.
|
| I concur.

  But it sounds as if the header feed will do just that. I'd like to
have the cache know how many articles are available (ala active), and
only fetch the overview when needed. Feeding all the headers I have will
wind up sending a lot of never used information.

  Thanks for the ideas!

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.
  "Doing interesting things with little computers since 1979"(tm)

Re: Can I do this with Diablo?
#45443
Author: Russell Vincent
Date: Fri, 31 Mar 2000 00:00
24 lines
1714 bytes
bill davidsen <davidsen@tmr.com> wrote:

>   But it sounds as if the header feed will do just that. I'd like to
> have the cache know how many articles are available (ala active), and
> only fetch the overview when needed. Feeding all the headers I have will
> wind up sending a lot of never used information.

You must remember that you can limit what groups you feed using the
normal newsfeed controls. It's a normal newsfeed, just without
the body beng transmitted.

A header feed is a tiny fraction of a full feed. It's in the order
of around 64kb/s for a full header feed. 30 days worth of headers
is a little over 10GB on my spool.

I see your point, though. It would be nice to have as an option.
I don't have the need, as I have redundant frontends, but it seems
to me just a matter of rewriting one of the available caching
newservers.

 -Russell


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