Thread View: news.software.nntp
31 messages
31 total messages
Started by Curt Welch
Tue, 07 Mar 2000 00:00
Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
49 lines
2448 bytes
2448 bytes
I just noticed something interesting last night. I peer with AOL, and until recently, they have used modified versions of INN 1.4 for peering. And I'm still sending news to one of those machines. I've been looking carefully at the interaction latley because I've just switched from Diablo to my own custom news software for peering. What I noticed last night was that their servers couldn't deal correctly with pipelined IHAVE commands. What I do, is send the first IHAVE: [c] IHAVE <whatever> he responds with a send article: [s] 335 Then I send the article, but follow it with the next IHAVE without waiting for the response to the article: [c] data.... [c] . [c] IHAVE <nextarticle@some.isp> When I do that, their server just hangs and never responds. I'm guessing that this is because the code looking for the DOT CR LF just doesn't spot it for some reason (like it only looks at the end of the input buffer for it?). If I delay the IHAVE until after the response to the data, and don't pipeline it, it works fine. So, my point is, with all the discussion we have had about pipelining commands with NNTP, here's another real-world example of something that "should" work, but doesn't. So is/was this an INN 1.4 bug? Or is it just a bug in AOLs hacked version of INN? Anybody know if INN was every changed to "fix" this? I'm going to go off an look at some INN code to see what I can find... Also, does anyone know if other feeding software tries to pipeline IHAVE commands like mine does??? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
26 lines
1991 bytes
1991 bytes
Brad Knowles <brad@shub-internet.org> wrote: > In article <20000307112107.524$na@newsreader.com>, curt@kcwc.com (Curt > Welch) wrote: > > > Also, does anyone know if other feeding software tries to pipeline > > IHAVE commands like mine does??? > > My understanding is that IHAVE was never intended to be pipelined, > which is why we have CHECK. If pipelining IHAVE works, I would consider > this to be an undocumented "feature". I don't send a stream of IHAVEs. You have to wait for the response from the IHAVE before you know whether to send the article, or the next IHAVE. But when you do send an article, then you should be able to send the next IHAVE, without waiting for the accept/reject response for the article. Doing that cuts the round-trip waits down from two per article sent to just one and can make a significant difference. Of course, no one really uses IHAVE for real work anymore so trying to maximize the performance there isn't really very important. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Jeremy
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
13 lines
995 bytes
995 bytes
Brad Knowles <brad@shub-internet.org> wrote: > IHAVE is long since dead. There's no sense trying to optimize it's > performance. People still use IHAVE. But, this is probably as good as way as any to get Barry in here... :) -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
35 lines
2397 bytes
2397 bytes
In article <20000307144134.035$KD@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> I don't send a stream of IHAVEs. You have to wait for the response
> from the IHAVE before you know whether to send the article, or the
> next IHAVE. But when you do send an article, then you should be able
> to send the next IHAVE, without waiting for the accept/reject response
> for the article. Doing that cuts the round-trip waits down from two per
> article sent to just one and can make a significant difference.
IHAVE is long since dead. There's no sense trying to optimize it's
performance.
> Of course, no one really uses IHAVE for real work anymore so trying to
> maximize the performance there isn't really very important.
Yup, especially since the only real outcome would be a somewhat
higher "enlarged genitalia factor" on the Freenix list. ;-)
I take that back, I guess another outcome is that you might learn a
bit more about real-world implementation of things like pipelining, and
perhaps that might be useful. Or maybe not. Dunno.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
21 lines
1609 bytes
1609 bytes
In article <20000307112107.524$na@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> Also, does anyone know if other feeding software tries to pipeline IHAVE
> commands like mine does???
My understanding is that IHAVE was never intended to be pipelined,
which is why we have CHECK. If pipelining IHAVE works, I would consider
this to be an undocumented "feature".
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
21 lines
1707 bytes
1707 bytes
curt@kcwc.com (Curt Welch) wrote: > So, my point is, with all the discussion we have had about pipelining > commands with NNTP, here's another real-world example of something that > "should" work, but doesn't. > > So is/was this an INN 1.4 bug? Or is it just a bug in AOLs hacked > version of INN? Anybody know if INN was every changed to "fix" this? > I'm going to go off an look at some INN code to see what I can find... Looking at 1.5.1 source, I see no reason for pipelining of IHAVE commands after article data not to work. It checks the entire input buffer for the CR LF DOT CR LF pattern, and when it finds it, it preserves the rest of the buffer for further processing. So if 1.4 had the bug, it seems like it was fixed by 1.5.1. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Jeremy
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
27 lines
1853 bytes
1853 bytes
Curt Welch <curt@kcwc.com> wrote: > What did I miss with Barry and IHAVE? He's championed its use in the past. :) > Anyhow, I had my opinions about IHAVE vs streaming. My thought was that > streaming wasn't needed because there's nothing you can do with streaming > that can't be done with multiple parallel IHAVE streams. And the IHAVE > streams would even be better because you don't have those long delays > between the time you ask for permission to send an article, and the time > you actually get around to sending it. > > But after some experimentation, I figured out that it can easily take 10 > parallel IHAVE streams to equal one streamming connection. The worse the > latency, the more it takes. And if you are trying to peer with many > machines, you just can't afford 10x the number of connections. The higher your latency, the greater the win with streaming. Did you try a test on an extremely low-latency connection (like a local network)? It can work very well there, and it eliminates sending of duplicated articles, which with streaming is usually inevitable. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
40 lines
2489 bytes
2489 bytes
Jeremy <bofh@netscum.dk> wrote: > Brad Knowles <brad@shub-internet.org> wrote: > > > IHAVE is long since dead. There's no sense trying to optimize it's > > performance. > > People still use IHAVE. > > But, this is probably as good as way as any to get Barry in here... :) What did I miss with Barry and IHAVE? Maybe the trick to getting it going again is to say it three times in a row? Lets try it and see what happens. IHAVE IHAVE IHAVE Hmm, doesn't seem to have worked. I didn't see any smoke or flashes of light. Maybe that doesn't happen until I hit the post button? Anyhow, I had my opinions about IHAVE vs streaming. My thought was that streaming wasn't needed because there's nothing you can do with streaming that can't be done with multiple parallel IHAVE streams. And the IHAVE streams would even be better because you don't have those long delays between the time you ask for permission to send an article, and the time you actually get around to sending it. But after some experimentation, I figured out that it can easily take 10 parallel IHAVE streams to equal one streamming connection. The worse the latency, the more it takes. And if you are trying to peer with many machines, you just can't afford 10x the number of connections. So I believe in streaming feeds now :). But, IHAVE feeds are really better :). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Russ Allbery
Date: Tue, 07 Mar 2000 00:00
Date: Tue, 07 Mar 2000 00:00
12 lines
1122 bytes
1122 bytes
Brad Knowles <brad@shub-internet.org> writes: > IHAVE is long since dead. There's no sense trying to optimize it's > performance. I think you're summoning the ghost of pedophiles past here. Of course, that's not a bad thing. :) -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: Pipelining IHAVE commands with INN
Author: Jeremy
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
40 lines
2554 bytes
2554 bytes
Curt Welch <curt@kcwc.com> wrote: > Yes, that's what I do. I say that below. But if for example you have > a small number of peers (2 or 3) which offer you one class of articles (say > the large ones), then for some articles in the day, you can almost gurantee > that the other two feeds will offer you the article within that X seconds. > And then you are left trusting that first feed to actually deliver what it > said it had. If it ever fails to do so, you have lost the article for > good. Yes, that's a pain, and there's no perfect solution to it. In my case, I'd rather have the duplicated articles sent from multiple peers. I want all of the articles, and I don't particularly care about the inbound bandwidth usage. On the other hand, I'd rather not send out anything I don't need to, because I *do* care about outbound bandwidth usage. Other people may be in the opposite situation -- caring more about the inbound than the outbound, perhaps at a regular access-providing ISP. Or they might care about both. The protocol provides for "try again later," but I'm not sure how well it really works in the wild. I can back up a non-backlogged feed that's not dropping articles with an identical but delayed feed, and the delayed feed will usually manage to get a few articles through. I've also found that, under certain conditions, I can improve the performance of a large-article-only feed by shutting off streaming. > I'm not sure what you are saying here. But an IHAVE feed doesn't need > to put any extra load on the server. The only problem is that a busy > server can't service the incomming feed fast enough to make it work > well at 10 articles per second. Complicated by the fact that INN gives priority to incoming streaming connections. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
25 lines
1822 bytes
1822 bytes
In article <20000307170425.247$Qv@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> So I believe in streaming feeds now :).
Glad to see that you've finally joined the fold. ;-)
Now, what about multiple simultaneous parallel streaming feeds?
> But, IHAVE feeds are really
> better :).
How do you come to this conclusion?
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Russ Allbery
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
16 lines
1311 bytes
1311 bytes
Jeremy <bofh@netscum.dk> writes: > Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: >> I (news-feed.riddles, running INN) have Cyclone peers and NNTPRelay >> peers in addition to Diablo peers, and the only ones that have trouble >> with 431 responses are the Diablo peers. > Does Cyclone actually re-offer the article later? I was under the > impression that it didn't. So was I. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
56 lines
3766 bytes
3766 bytes
Jeremy <bofh@netscum.dk> wrote: > Curt Welch <curt@kcwc.com> wrote: > > > What did I miss with Barry and IHAVE? > > He's championed its use in the past. :) > > > Anyhow, I had my opinions about IHAVE vs streaming. My thought was that > > streaming wasn't needed because there's nothing you can do with > > streaming that can't be done with multiple parallel IHAVE streams. And > > the IHAVE streams would even be better because you don't have those > > long delays between the time you ask for permission to send an article, > > and the time you actually get around to sending it. > > > > But after some experimentation, I figured out that it can easily take > > 10 parallel IHAVE streams to equal one streamming connection. The worse > > the latency, the more it takes. And if you are trying to peer with > > many machines, you just can't afford 10x the number of connections. > > The higher your latency, the greater the win with streaming. Did you try > a test on an extremely low-latency connection (like a local network)? Yeah, I have. Even there, streaming still worked much better than IHAVE for me. Avg article size will make a big difference there as well. The larger the articles the better IHAVE works. But I think those tests were with earlier versions of my server and I've improved a lot of little, but important, performance realated things since then. Maybe it's time for some more tests... On local networks, the network latency isn't as big a factor as the receiving and sending server latency. With IHAVE, to offer 100 articles, the receiving server has to "wake up", and quickly respond 100 times. And likewise, the sending server has to also "wake up" and respond 99 times. With a streaming server, everything gets batched. So the servers only have to "wake up" a small fraction of the number of times (depending on how may outstanding CHECKS are sent). If you have fast servers doing nothing but dealing with the single feed, then IHAVE may not look too much worse than a streaming feed. But if the servers are busy doing other things (like lots of feeds, or supporting readers on the same box), then the IHAVE stream ends up suffering a lot more than the streaming feed. > It can work very well there, and it eliminates sending of duplicated > articles, which with streaming is usually inevitable. Streaming feeds will also send small articles without checks if the probability of a reject is low enough, so you can end up getting dups from those as well. They seem "bad", but in fact, when done correctly, are helping to reduce wasted bandwidth. Cyclone I know does that. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
27 lines
2022 bytes
2022 bytes
In article <952460805.821101@news.netscum.dk>, Jeremy <bofh@netscum.dk>
wrote:
> People still use IHAVE.
Okay, so what I should have said is that IHAVE is on its way out,
and that no new inventions relative to it are likely to have any
interest from the maintainers of various news spool/transit software.
> But, this is probably as good as way as any to get Barry in here... :)
He's certainly good at optimizing the performance of current systems
with the current capabilities of IHAVE, but if you've been keeping an
eye on the stats, you'll notice that I'm doing pretty well against him
lately. ;-)
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
86 lines
5051 bytes
5051 bytes
In article <20000308115245.420$Lt@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> The problem with streaming is that once a server says "yes, I want
> that article", there's no telling how long it might be before the
> article will actually be sent. And no real requirement that it be
> sent at all.
True enough, but if that's going into a precommit cache, you can
just age stuff out of that cache that is more than X seconds old without
being followed up by receiving the actual article.
> If it says, "238 Yes I want that article" to all duplicate checks, then
> there's going to be a lot of wasted bandwidth when all the feeds
> send the same article multiple times.
Yup, that's bad. You don't want to do this.
> If it says "431 Not now, try later", (the right think to do in my mind)
> it's unclear how many feeding sites will actually honor that correctly
> (i.e. actually hold it and try it again later).
I'd be willing to bet that INN is the only widely available news
transit software that handles this correctly. I'd like to see this get
fixed in Diablo, myself.
> I just stopped in the middle of writting this and checked the Diablo 1.11
> (a very old version of Diablo) source. Sure enough, it treats a 431 the
> same as a reject. Looking at the comments however, it looks like at one
> time, it used to treat it the same as a "OK, I want" it response.
Looking at the comments of dnewslink.c for 1.24-REL, it appears that
if the remote end responds with a 431, dnewslink will treat this as a
238 and will send the article.
I'd really like to see dnewslink put this back into a queue for
retrial at a later time. I'd also like to see diablo optionally respond
with a 431 (based on a per-feed configuration option), for articles that
are in the precommit cache, but are not yet in the history database.
> What my server is currently doing is answering "431 try again later" on
> the dups, but I have a 10 second time limit on that.
I believe that this will hurt you with your Diablo peers -- you'll
waste bandwidth. Although I do not have first-hand experience to back
up my belief, I suspect that this will also be a problem with
bCandid/Typhoon, DNews, and probably even NNTPRelay.
> That's why I say IHAVE is better. Understand?
If you could get the majority of news transit servers to properly
react to a 431, would that make you happy, and finally convince you that
CHECK really is better than IHAVE?
> You know, what we really should be doing is using IHAVE for all articles
> over a given size (5K I think would work). With larger articles, you
> don't need streaming.
But doesn't IHAVE also place a higher load on both the sending and
receiving ends, making it more difficult to serve a given number of
peers?
Also, you're the one who was talking about how streaming IHAVE made
more and more sense, as you got to larger and larger articles, or you
got higher and higher latency between peers. Wouldn't you be creating
exactly the problem that CHECK is supposed to solve relative to IHAVE,
since CHECK is designed to be streamed and IHAVE isn't?
> A few parallel IHAVE feeds will work fine and is
> likely to be far more relieable.
For those running news transit software that doesn't open more than
one connection to the remote end unless there is a backlog, doesn't this
pose a problem? INN would be fine, but Diablo would be hurt.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
95 lines
5700 bytes
5700 bytes
Brad Knowles <brad@shub-internet.org> wrote: > In article <20000307170425.247$Qv@newsreader.com>, curt@kcwc.com (Curt > Welch) wrote: > > > So I believe in streaming feeds now :). > > Glad to see that you've finally joined the fold. ;-) > > Now, what about multiple simultaneous parallel streaming feeds? That's just assumed :). > > But, IHAVE feeds are really > > better :). > > How do you come to this conclusion? Well, like I said, it's just not practical to use IHAVE in most cases for large feeds, but I say "IHAVE is better" because it doesn't have a lot of the complex issues that come with streaming. The problem with streaming is that once a server says "yes, I want that article", there's no telling how long it might be before the article will actually be sent. And no real requirement that it be sent at all. With IHAVE, once the server says "send it", the client must do it right then, or drop the connections. What this leads to is a complex set of issues where you either have to waste a lot of bandwidth with streaming feeds, or risk never getting some articles. I suspect that a lot of articles are being dropped today because of streaming servers that don't work correctly. But that's just an unproven hunch I have. The problems happen on the server side. If a server receives two CHECKS for the same article (from two different feeds of course), how should it repond to the second CHECK? If it says, "238 Yes I want that article" to all duplicate checks, then there's going to be a lot of wasted bandwidth when all the feeds send the same article multiple times. If you have a lot of fast peers, you will end up with a LOT of wasted bandwidth if the server works this way. And to make matters works, the larger the article, the more likely this is to happen. If it says "431 Not now, try later", (the right think to do in my mind) it's unclear how many feeding sites will actually honor that correctly (i.e. actually hold it and try it again later). I'm betting some will just treat that as a "no he doesn't want it". If they do that, articles will get lost. I just stopped in the middle of writting this and checked the Diablo 1.11 (a very old version of Diablo) source. Sure enough, it treats a 431 the same as a reject. Looking at the comments however, it looks like at one time, it used to treat it the same as a "OK, I want" it response. But I'm guessing that caused too much wasted bandwidth so he changed it to be the same as "no I don't want it". I have no idea what the current version of Diablo does. If the server says "438 no" to all but the first CHECK, then you run the risk that the aritcle may never actually show up. I've seen some evidence that someone feeding me has a bad habbit of offering lots of articles and then never delivering them. But even for well behaved servers, it's always possible for the sending site to crash/die/be-killed/whatever in the middle of a stream and not send something you were expecing. And once that happens, you've lost the article for good (if the sending site that died isn't very careful about how it manages it's queues). What my server is currently doing is answering "431 try again later" on the dups, but I have a 10 second time limit on that. So if the article doesn't show up withing 10 seconds from the time it's first offered, I'll then start saying "yes send it" again. But of course, by then, it may be too late :)... So what's a server to do with this streaming shit. Either you waste TONS of bandwidth on dups, or you run the risk of never getting some articles. I suspect most the world would rather drop a few articles than waste bandwidth (being of the false assumption that the flooding algorithm will "fix" the lost article problems). And I bet this "problem" is much worse that many people realize for the large articles. That's why I say IHAVE is better. Understand? You know, what we really should be doing is using IHAVE for all articles over a given size (5K I think would work). With larger articles, you don't need streaming. A few parallel IHAVE feeds will work fine and is likely to be far more relieable. The 5K size number, which may seem small, should work because at that size the number of articles per second drops to about 1 at todays volume. And an IHAVE stream (or two) should have no problem keeping up with that rate. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Jeremy
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
13 lines
1091 bytes
1091 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > I (news-feed.riddles, running INN) have Cyclone peers and NNTPRelay > peers in addition to Diablo peers, and the only ones that have trouble > with 431 responses are the Diablo peers. Does Cyclone actually re-offer the article later? I was under the impression that it didn't. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: Pipelining IHAVE commands with INN
Author: Andrew Gierth
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
44 lines
2861 bytes
2861 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:
>> Looking at the comments of dnewslink.c for 1.24-REL, it appears
>> that if the remote end responds with a 431, dnewslink will treat
>> this as a 238 and will send the article.
Curt> The comments in my version say the same thing. The code
Curt> howerver doesn't match the comments.
Given that the observed behaviour _does_ match the comments, I suspect
you're misreading the code.
Curt> Does your code look like this:
Curt> case ERR_RESEND:
Curt> if ((s = LocateStream(ptr, STATE_POSTED)) != NULL) {
Curt> delMe = 1;
Curt> r = T_REJECTED; /* XXX */
Curt> if (s->st_DumpRCode < 0)
Curt> r = T_REJECTED;
Curt> break;
Curt> }
Curt> /*
Curt> * fall through. Consider a resend-later response to a check,
Curt> * which is really a completely illegal response, to be the
Curt> * same as OK_STRMCHECK and let the 'takethis' statemachine
Curt> * deal with it.
Curt> */
Curt> The translation of that C code is:
Curt> "if the article matching the message-id in the response is
Curt> in my list of outstanding articles which I have sent a check
Curt> for, delete it, and count it as a reject."
Incorrect. The article is only in STATE_POSTED _after_ it has been
transmitted. If the article has only been CHECKed (the case under
discussion), then LocateStream returns NULL and the code falls through
to the 238 case.
--
Andrew.
Re: Pipelining IHAVE commands with INN
Author: Jeremy
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
16 lines
1267 bytes
1267 bytes
Brad Knowles <brad@shub-internet.org> wrote: >> But, this is probably as good as way as any to get Barry in here... :) > > He's certainly good at optimizing the performance of current systems > with the current capabilities of IHAVE, but if you've been keeping an > eye on the stats, you'll notice that I'm doing pretty well against him > lately. ;-) Yeah, but freenix numbers aren't everything. You have to be careful not to lose articles with streaming, as is being discussed in this thread. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: Pipelining IHAVE commands with INN
Author: Andrew Gierth
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
19 lines
1880 bytes
1880 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes: >> What my server is currently doing is answering "431 try again >> later" on the dups, but I have a 10 second time limit on that. Brad> I believe that this will hurt you with your Diablo peers -- Brad> you'll waste bandwidth. Although I do not have first-hand Brad> experience to back up my belief, I suspect that this will also Brad> be a problem with bCandid/Typhoon, DNews, and probably even Brad> NNTPRelay. I (news-feed.riddles, running INN) have Cyclone peers and NNTPRelay peers in addition to Diablo peers, and the only ones that have trouble with 431 responses are the Diablo peers. -- Andrew.
Re: Pipelining IHAVE commands with INN
Author: Russell Vincent
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
15 lines
1580 bytes
1580 bytes
Brad Knowles <brad@shub-internet.org> wrote: > I'd be willing to bet that INN is the only widely available news > transit software that handles this correctly. I'd like to see this get > fixed in Diablo, myself. I have a patch for the development branch of Diablo that requeues the article (in memory) and sends it after all the other articles + a few seconds delay. Still fine-tuning it and plucking up the courage to try it out on my peering server. :-) -Russell
Re: Pipelining IHAVE commands with INN
Author: BARRY BOUWSMA IS A BUTT-BANGING ...
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
20 lines
1873 bytes
1873 bytes
On Tue 2380 Sep 1993, Jeremy wrote:
> Curt Welch <curt@kcwc.com> wrote:
> > What did I miss with Barry and IHAVE?
>
> He's championed its use in the past. :)
I HEARTILY ENDORSE THIS PRODUCT AND/OR SERVICE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--
*** This was posted with the express permission of ***
******************************************************
** HIS HIGHNESS KAAZMANN LORD AND MASTER OF USENET **
******************************************************
********* We are simple servants of his will *********
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
189 lines
9666 bytes
9666 bytes
Brad Knowles <brad@shub-internet.org> wrote:
> In article <20000308115245.420$Lt@newsreader.com>, curt@kcwc.com (Curt
> Welch) wrote:
>
> > The problem with streaming is that once a server says "yes, I want
> > that article", there's no telling how long it might be before the
> > article will actually be sent. And no real requirement that it be
> > sent at all.
>
> True enough, but if that's going into a precommit cache, you can
> just age stuff out of that cache that is more than X seconds old without
> being followed up by receiving the actual article.
Yes, that's what I do. I say that below. But if for example you have
a small number of peers (2 or 3) which offer you one class of articles (say
the large ones), then for some articles in the day, you can almost gurantee
that the other two feeds will offer you the article within that X seconds.
And then you are left trusting that first feed to actually deliver what it
said it had. If it ever fails to do so, you have lost the article for
good.
> > If it says, "238 Yes I want that article" to all duplicate checks, then
> > there's going to be a lot of wasted bandwidth when all the feeds
> > send the same article multiple times.
>
> Yup, that's bad. You don't want to do this.
>
> > If it says "431 Not now, try later", (the right think to do in my mind)
> > it's unclear how many feeding sites will actually honor that correctly
> > (i.e. actually hold it and try it again later).
>
> I'd be willing to bet that INN is the only widely available news
> transit software that handles this correctly. I'd like to see this get
> fixed in Diablo, myself.
Mine does. But it's not widely available.
> > I just stopped in the middle of writting this and checked the Diablo
> > 1.11 (a very old version of Diablo) source. Sure enough, it treats a
> > 431 the same as a reject. Looking at the comments however, it looks
> > like at one time, it used to treat it the same as a "OK, I want" it
> > response.
>
> Looking at the comments of dnewslink.c for 1.24-REL, it appears that
> if the remote end responds with a 431, dnewslink will treat this as a
> 238 and will send the article.
The comments in my version say the same thing. The code howerver doesn't
match the comments. Does your code look like this:
case ERR_RESEND:
if ((s = LocateStream(ptr, STATE_POSTED)) != NULL) {
delMe = 1;
r = T_REJECTED; /* XXX */
if (s->st_DumpRCode < 0)
r = T_REJECTED;
break;
}
/*
* fall through. Consider a resend-later response to a check,
* which is really a completely illegal response, to be the
* same as OK_STRMCHECK and let the 'takethis' statemachine
* deal with it.
*/
The translation of that C code is:
"if the article matching the message-id in the response is in my
list of outstanding articles which I have sent a check for, delete it,
and count it as a reject."
> I'd really like to see dnewslink put this back into a queue for
> retrial at a later time.
Sure, that would be nice. But it would require a bit work I belive to
add that.
> I'd also like to see diablo optionally respond
> with a 431 (based on a per-feed configuration option), for articles that
> are in the precommit cache, but are not yet in the history database.
Yeah, I didn't check that. It seems to just use the "438 NO" answer
for articles in the precommit cache. A very dangerous thing to do if
you actually want "all" the articles.
> > What my server is currently doing is answering "431 try again later" on
> > the dups, but I have a 10 second time limit on that.
i.e. I answer try again for articles in the precommit cache and time out
message-ids from the cache after 10 seconds if they haven't shown up.
> I believe that this will hurt you with your Diablo peers -- you'll
> waste bandwidth.
I'm guessing you read the code wrong. So instead of wasting bandwidth,
I'm risking loosing articles. But either way, it's a problem.
> Although I do not have first-hand experience to back
> up my belief, I suspect that this will also be a problem with
> bCandid/Typhoon, DNews, and probably even NNTPRelay.
It would be interesting to know more about this. What I want to do if I
can find the time is add code to analize more of this on my incomming
feeds. i.e., keep track, by Message-ID of what was offered from who
and when. Then watch for re-transmits, or articles that were never
delivered even though I got the CHECK for them. That would tell me what
these other servers were doing without having to dig into their code.
> > That's why I say IHAVE is better. Understand?
>
> If you could get the majority of news transit servers to properly
> react to a 431, would that make you happy, and finally convince you that
> CHECK really is better than IHAVE?
:). We'll see.
> > You know, what we really should be doing is using IHAVE for all
> > articles over a given size (5K I think would work). With larger
> > articles, you don't need streaming.
>
> But doesn't IHAVE also place a higher load on both the sending and
> receiving ends, making it more difficult to serve a given number of
> peers?
No, not at all.
A IHAVE is the same load as a CHECK + TAKETHIS. It's actually a little
less because you only have to process one command instead of two.
The reason IHAVE's don't work well is not because they put more load
on the server, but because when the server is loaded down, it can't
respond quick enough to the IHAVE's. And that lag causes the overall
thoughput of a single connection to drop to unworkable levels because
the pipe is sitting there unused while we wait for the server to answer
the question.
streaming just allows you to make better use of a single pipe. The client
can be stuffing articles into the pipe while waiting for the server to
respond to that last check etc.
Overall, both sides have to do just as much work either way.
> Also, you're the one who was talking about how streaming IHAVE made
> more and more sense, as you got to larger and larger articles, or you
> got higher and higher latency between peers.
streaming makes more sense for _small_ article and high latency.
Think of an extreme case; A single 100GB article being sent to the moon.
Who cares if it takes 16 seconds for the server to respond to the IHAVE
if you are going to spend the next 3 days sending the article?
But 100 million 1K articles to the moon will take forever with an IHAVE
stream if each response took 16 seconds but transmitting the data only took
.1 seconds. The pipe to the moon would be unused 99% of the time.
> Wouldn't you be creating
> exactly the problem that CHECK is supposed to solve relative to IHAVE,
> since CHECK is designed to be streamed and IHAVE isn't?
I'm not sure what you are saying here. But an IHAVE feed doesn't need
to put any extra load on the server. The only problem is that a busy
server can't service the incomming feed fast enough to make it work
well at 10 articles per second. But if you are only sending large
articles on the IHAVE feed, then the IHAVE's per second drops from 10
to 1. And that shouldn't be a problem for an IHAVE feed to a busy server.
> > A few parallel IHAVE feeds will work fine and is
> > likely to be far more relieable.
>
> For those running news transit software that doesn't open more than
> one connection to the remote end unless there is a backlog, doesn't this
> pose a problem? INN would be fine, but Diablo would be hurt.
Diablo can can do it. You just set up multiple feed definitions. In one
you include all the small files. In the other you include only the large
files (did Diablo ever get the minsize command added? You would need that
to exclude the small files from the large file feed). Then just set up the
nostream option in the dnntpspool.ctl file for the large file feed. If it
has minsize working, you could do it today.
If one IHAVE feed isn't enough for the large articles then Diablo will
open more after it backlogs. I'm guessing it will work fine.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
23 lines
2136 bytes
2136 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > >>>>> "Curt" == Curt Welch <curt@kcwc.com> writes: > Curt> "if the article matching the message-id in the response is > Curt> in my list of outstanding articles which I have sent a check > Curt> for, delete it, and count it as a reject." > > Incorrect. The article is only in STATE_POSTED _after_ it has been > transmitted. If the article has only been CHECKed (the case under > discussion), then LocateStream returns NULL and the code falls through > to the 238 case. Opps, I missed that. I guess I should have spent 20 minutes with the code instead of 10. :) My mistake. Well that makes me feel better however. At least that way we are talking about wasted bandwidth instead of lost articles. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
25 lines
2065 bytes
2065 bytes
In article <8a6di4$ccv$1@wave.pipex.net>, Russell Vincent
<russellv-n@uk.uu.net> wrote:
> I have a patch for the development branch of Diablo that requeues the
> article (in memory) and sends it after all the other articles + a few
> seconds delay.
That's exactly what I was looking for!
> Still fine-tuning it and plucking up the courage to try
> it out on my peering server. :-)
Or submitting it for inclusion in the new CVS archive? ;-)
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
40 lines
3016 bytes
3016 bytes
In article <20000309000551.289$gX@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> Bulk by article acount, not by volume. If I read that chart correctly,
> if you take all the aritcles 16KB or smaller, they make less than 1.5%
> of the total volume of news.
Correct. I should have said "...the bulk of the articles..."
> > Again, once you start talking about multiple streaming connections
> > to a peer, you want to make certain that they never get backlogged,
> > otherwise you're going to have a serious problem ever clearing that
> > backlog.
>
> And why's that?
If you've only got a small number of simultaneous streams you're
normally using to a particular feed, but they have a larger number of
streams that they allow, then it may not be so hard. As soon as their
line comes back up, or their server isn't congested anymore, you can
fire up some extra streams to deal with the backlog.
However, the more simultaneous streams you normally have to a peer,
and the closer you get to the total maximum that they allow you to have,
the more difficult it is to catch up. They are more likely to refuse
additional connections from you, and you'll empty your current real-time
streams to them only so fast, so you might as well just throw away any
backlog you have for them.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
25 lines
2159 bytes
2159 bytes
In article <87ityxwabf.fsf@erlenstar.demon.co.uk>, Andrew Gierth
<andrew@erlenstar.demon.co.uk> wrote:
> I (news-feed.riddles, running INN) have Cyclone peers and NNTPRelay
> peers in addition to Diablo peers, and the only ones that have trouble
> with 431 responses are the Diablo peers.
Well then, hopefully we can get Diablo fixed with regards to this
problem, and then you shouldn't have any problems with any peers running
widely available software.
I'm glad to hear that I am wrong with regards to Cyclone and
NNTPRelay on this issue.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
87 lines
5179 bytes
5179 bytes
Brad Knowles <brad@shub-internet.org> wrote: > In article <20000308144707.860$xL@newsreader.com>, curt@kcwc.com (Curt > Welch) wrote: > > It would be interesting to know more about this. What I want to do if > > I can find the time is add code to analize more of this on my incomming > > feeds. i.e., keep track, by Message-ID of what was offered from who > > and when. > > You'd need to do this with good accuracy -- at least down to the > millisecond level. That's the only way you can be sure to know which > peer offered you what article at what time. I think INN logs this level > of information by default, but I suspect that you might have to add this > code to your server. My server is single threaded like INN so there's no confusion about the order in which things are processed. I would use millisecond time stamps to allow measures to that degree, but it wouldn't be required to "know" who the article was seen from first for my architecture. > Which is the bulk of the news we have to receive or transmit -- > according to > <http://www.news-feed.inet.tele.dk/innreport/news-notice.2000.03.07-05_29 > _33.html#inn_dist>, about 75% of all articles are 16KB or smaller, and > about 55% of them are 2KB or smaller. Bulk by article acount, not by volume. If I read that chart correctly, if you take all the aritcles 16KB or smaller, they make less than 1.5% of the total volume of news. It's that high article count, small volume part of Usenet that really needs streaming feeds. But the bulk of the volume of usenet would work very well with IHAVE feeds. A feed like that would spend most it's time streaming data anyway. > Since most of the good news servers I peer with are in the US, and > routes between our site and others over here in Europe can easily wind > up going through the US and back, I'd say that I tend to have pretty > high latency. You could still move most the "bulk" of usenet with IHAVE feeds even with that high latency. But you don't need to defend your use of streaming feeds to me. I'm not trying to talk you into switching, I'm just thinking out loud. > > I'm not sure what you are saying here. But an IHAVE feed doesn't need > > to put any extra load on the server. The only problem is that a busy > > server can't service the incomming feed fast enough to make it work > > well at 10 articles per second. But if you are only sending large > > articles on the IHAVE feed, then the IHAVE's per second drops from 10 > > to 1. And that shouldn't be a problem for an IHAVE feed to a busy > > server. > > Okay, so with large enough articles, IHAVE would be a more secure > way of transmitting those articles -- especially for small sites with a > limited number of peers. > > But for sites that have a lot of peers (95), I would tend to believe > that the article arrival times would be sufficiently distributed that > properly handling precommit cache collisions should be a more than > adequate method of dealing with the problem. Yeah I'm assuming so. But I don't really know. The less peers, the more danger of a problem. But since I have no idea how much "danger" really exists, it's hard to say anything about how many peers would be needed to reduce that danger to a "safe" level. 95 sure "sounds" safe. Since I seem to have read the Diablo code wrong, and it does send articles on a "send later" request instead of dropping them, then the dangers there are one of wasted bandwidth and not dropped articles. > Again, once you start talking about multiple streaming connections > to a peer, you want to make certain that they never get backlogged, > otherwise you're going to have a serious problem ever clearing that > backlog. And why's that? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
31 lines
2242 bytes
2242 bytes
In article <952551069.924069@news.netscum.dk>, Jeremy <bofh@netscum.dk>
wrote:
> Yeah, but freenix numbers aren't everything. You have to be careful not
> to lose articles with streaming, as is being discussed in this thread.
True enough, however I haven't dropped any IHAVE feeds and switched
them to CHECK (except for one peer that recently put up a new Cyclone
server), although I have set things up so that I have multiple parallel
streams to my better rated peers.
For outbound, since dnewslink runs as a separate process for each
feed, I would assume that the probability of losing more articles than I
used to should be just about nil.
On the receiving end, I haven't changed anything (except to add a
new peer or two), and therefore I would presume that there is no
increased probability of losing articles.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Re: Pipelining IHAVE commands with INN
Author: Curt Welch
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
41 lines
3217 bytes
3217 bytes
Brad Knowles <brad@shub-internet.org> wrote: > In article <20000309000551.289$gX@newsreader.com>, curt@kcwc.com (Curt > Welch) wrote: > > > Bulk by article acount, not by volume. If I read that chart correctly, > > if you take all the aritcles 16KB or smaller, they make less than 1.5% > > of the total volume of news. > > Correct. I should have said "...the bulk of the articles..." > > > > Again, once you start talking about multiple streaming > > > connections to a peer, you want to make certain that they never get > > > backlogged, otherwise you're going to have a serious problem ever > > > clearing that backlog. > > > > And why's that? > > If you've only got a small number of simultaneous streams you're > normally using to a particular feed, but they have a larger number of > streams that they allow, then it may not be so hard. As soon as their > line comes back up, or their server isn't congested anymore, you can > fire up some extra streams to deal with the backlog. > > However, the more simultaneous streams you normally have to a peer, > and the closer you get to the total maximum that they allow you to have, > the more difficult it is to catch up. They are more likely to refuse > additional connections from you, and you'll empty your current real-time > streams to them only so fast, so you might as well just throw away any > backlog you have for them. Yeah, I figured out what you were talking about after I posted. In general if you need lots of connections just to keep up with the normal load, it's an indication that you are near the limit of the systems already (be it Bandwidth or server performance). So trying to catch up from a backlog will be hard to impossible for many reasons. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Pipelining IHAVE commands with INN
Author: Brad Knowles
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
131 lines
7238 bytes
7238 bytes
In article <20000308144707.860$xL@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> Yes, that's what I do. I say that below. But if for example you have
> a small number of peers (2 or 3) which offer you one class of articles
> (say
> the large ones), then for some articles in the day, you can almost
> gurantee
> that the other two feeds will offer you the article within that X
> seconds.
> And then you are left trusting that first feed to actually deliver what
> it
> said it had. If it ever fails to do so, you have lost the article for
> good.
True enough. I guess small sites should use IHAVE and not CHECK.
Or, they should ensure that for all the categories of feeds they have,
they have at least one feed which is real-time and one that is
time-delayed (either intentionally or by the transmission method, such
as satellite).
> The comments in my version say the same thing. The code howerver doesn't
> match the comments. Does your code look like this:
Hmm. I think I was looking at different code. I'll have to
re-check this.
> It would be interesting to know more about this. What I want to do if I
> can find the time is add code to analize more of this on my incomming
> feeds. i.e., keep track, by Message-ID of what was offered from who
> and when.
You'd need to do this with good accuracy -- at least down to the
millisecond level. That's the only way you can be sure to know which
peer offered you what article at what time. I think INN logs this level
of information by default, but I suspect that you might have to add this
code to your server.
> A IHAVE is the same load as a CHECK + TAKETHIS. It's actually a little
> less because you only have to process one command instead of two.
Except IHAVE is not streaming, whereas CHECK+TAKETHIS is, and the
former may cause problems with processes getting paged out or not as
much CPU when they want it on a busy server (as they sit there waiting
for input from the other end), whereas a streaming feed shouldn't have
that problem.
> Overall, both sides have to do just as much work either way.
Considering that I have a lot of high-latency peerings, I'm rather
fond of streaming CHECK/TAKETHIS. I hope you'll understand. ;-)
> streaming makes more sense for _small_ article and high latency.
Which is the bulk of the news we have to receive or transmit --
according to
<http://www.news-feed.inet.tele.dk/innreport/news-notice.2000.03.07-05_29
_33.html#inn_dist>, about 75% of all articles are 16KB or smaller, and
about 55% of them are 2KB or smaller.
Since most of the good news servers I peer with are in the US, and
routes between our site and others over here in Europe can easily wind
up going through the US and back, I'd say that I tend to have pretty
high latency.
> I'm not sure what you are saying here. But an IHAVE feed doesn't need
> to put any extra load on the server. The only problem is that a busy
> server can't service the incomming feed fast enough to make it work
> well at 10 articles per second. But if you are only sending large
> articles on the IHAVE feed, then the IHAVE's per second drops from 10
> to 1. And that shouldn't be a problem for an IHAVE feed to a busy
> server.
Okay, so with large enough articles, IHAVE would be a more secure
way of transmitting those articles -- especially for small sites with a
limited number of peers.
But for sites that have a lot of peers (95), I would tend to believe
that the article arrival times would be sufficiently distributed that
properly handling precommit cache collisions should be a more than
adequate method of dealing with the problem.
> Diablo can can do it. You just set up multiple feed definitions. In one
> you include all the small files.
At least with version 1.24-REL, Diablo does have the "minsize"
command, and you can set up multiple different feed definitions for a
particular peer. You can group all articles less than a certain size
separate from those between other certain sizes, etc....
However, this is quite a bit more work than letting INN fire up
multiple innfeed processes for a single feed definition, and letting INN
handle the round-robin (or whatever) method of parcelling out articles
to be offerred to a peer by which process.
This method is also sensitive to being backlogged. If you have a
maximum of X connections that you can open to a particular peer and you
want to open up X-n (where "n" is a small number) connections to your
peer, you have to restrict the number of queue files that can be created
and the number of dnewslink processes that can be running
simultaneously, and then once that peer gets behind they're likely to
semi-permanently stay behind.
> Then just set up
> the nostream option in the dnntpspool.ctl file for the large file feed.
That's assuming the peer in question wants you (or is willing) to
use IHAVE, in order to get the increased reliability and delivery of
articles. If they've got sufficient numbers of peers, they may not be
interested in doing that.
> If one IHAVE feed isn't enough for the large articles then Diablo will
> open more after it backlogs. I'm guessing it will work fine.
Again, once you start talking about multiple streaming connections
to a peer, you want to make certain that they never get backlogged,
otherwise you're going to have a serious problem ever clearing that
backlog.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
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