🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
26 messages
26 total messages Started by Galen Boyer Mon, 04 Jun 2001 17:08
INN Capabilities?
#52685
Author: Galen Boyer
Date: Mon, 04 Jun 2001 17:08
16 lines
1248 bytes
I'm seriously thinking about moving my IIS nntp server to INN
cause I can't find how to do the following:

Can I enable article editing?  Does the message-id stay the same?

Can I move articles from one group to another?  Do the
message-ids stay the same.

Can I have a server per branch, all replicating the same posts,
with all having the same message-ids?

-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Re: INN Capabilities?
#52687
Author: Jeffrey M. Vinocur
Date: Mon, 04 Jun 2001 17:23
38 lines
2041 bytes
In article <u7kys9nvd.fsf@primix.com>,
Galen Boyer  <galenboyer@yahoo.com> wrote:
>

This sounds like you're using a news server for internal traffic
only.  I'll answer questions under that assumption.


>Can I enable article editing?  Does the message-id stay the same?

You can use the Supersedes mechanism, but the new article has a
different message-ID.


>Can I move articles from one group to another?  Do the
>message-ids stay the same.

Not easily.  You can halt the server, use a script to move
articles around (using traditional spool) and edit the headers to
be appropriate, and then rebuild the overview database, but you
can't, say, sort articles if you think they were posted in the
wrong place.


>Can I have a server per branch, all replicating the same posts,
>with all having the same message-ids?

You're asking for servers in different physical locations or
something?  Then yes, of course.  You can even use the xrefslave
option to make the article numbers the same on the various
servers.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN Capabilities?
#52688
Author: Andrew Gierth
Date: Mon, 04 Jun 2001 18:39
17 lines
1712 bytes
>>>>> "Jeffrey" == Jeffrey M Vinocur <jeff@litech.org> writes:

 >> Can I have a server per branch, all replicating the same posts,
 >> with all having the same message-ids?

 Jeffrey> You're asking for servers in different physical locations or
 Jeffrey> something?  Then yes, of course.  You can even use the
 Jeffrey> xrefslave option to make the article numbers the same on the
 Jeffrey> various servers.

Though if you do that, you have to have a designated "master" server
that all the others post back to. If it's not necessary to sync the
article numbers this way, then you can run everything decentralised.

-- 
Andrew.
Re: INN Capabilities?
#52690
Author: Galen Boyer
Date: Mon, 04 Jun 2001 21:35
52 lines
2719 bytes
On Mon, 4 Jun 2001, jeff@litech.org wrote:

> This sounds like you're using a news server for internal
> traffic only.  I'll answer questions under that assumption.

Yes, exactly.  Though, I may start bringing external groups
in-house when they make sense, but internal is my focus.

>>Can I enable article editing?  Does the message-id stay the
>>same?
> 
> You can use the Supersedes mechanism, but the new article has a
> different message-ID.

Hm...  Bit of a bummer, but seaching a newserver has to happen
through a database, so just have a clean-up for the defunct
message-ids.  Just want to be able to fix dead URLS and such.

>>Can I move articles from one group to another?  Do the
>>message-ids stay the same.
> 
> Not easily.  You can halt the server, use a script to move
> articles around (using traditional spool) and edit the headers
> to be appropriate, and then rebuild the overview database, but
> you can't, say, sort articles if you think they were posted in
> the wrong place.

Damn.  So, there's no intentional crossposting allowed as well?

>>Can I have a server per branch, all replicating the same posts,
>>with all having the same message-ids?
> 
> You're asking for servers in different physical locations or
> something?  Then yes, of course.  


I assumed so, since, I believe, INN runs most of the servers that
replicate all over the world?  This is most important.  When our
organization grows, and we have branches all over the world, I
want to be able to converse with everybody in an appropriate
group and then our "in-house google searching" to find the same
info.

> You can even use the xrefslave option to make the article
> numbers the same on the various servers.

Can the message-ids remain the same?
-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Re: INN Capabilities?
#52691
Author: Jeffrey M. Vinocur
Date: Mon, 04 Jun 2001 22:03
47 lines
2596 bytes
In article <ur8x0kk1k.fsf@primix.com>, Galen Boyer  <gboyer@primix.com> wrote:
>On Mon, 4 Jun 2001, jeff@litech.org wrote:
>
>>>article editing?  Does the message-id stay the same?
> 
>Hm...  Bit of a bummer, but seaching a newserver has to happen
>through a database, so just have a clean-up for the defunct
>message-ids.  Just want to be able to fix dead URLS and such.

Wait, is all you want to do have the administrator edit the
content of articles?  If you're using tradspool, I see no reason
you couldn't just edit the article in a text editor.  (Mmm, wait,
changing the article size might break something since the bytecount
stored in the overview database wouldn't change.  Probably not, I
think.)

I thought you wanted users to be able to edit articles from a
newsreader.


>>>Can I move articles from one group to another?
>> 
>> Not easily.
>
>Damn.  So, there's no intentional crossposting allowed as well?

I don't see how that follows -- certainly you can crosspost.  It
might help to keep in mind that news software is not designed for
changes-afer-the-fact (like moving articles or renaming groups)
since such things don't happen much in Usenet.


>> You can even use the xrefslave option to make the article
>> numbers the same on the various servers.
>
>Can the message-ids remain the same?

Most certainly -- the Message-ID is _the_ identifying piece of
information about an article.  This article I'm posting now will
have the same Message-ID on every normal server on usenet.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN Capabilities?
#52693
Author: Galen Boyer
Date: Tue, 05 Jun 2001 02:41
54 lines
2713 bytes
On Mon, 4 Jun 2001, jeff@litech.org wrote:

> Wait, is all you want to do have the administrator edit the
> content of articles?  

I would like to allow the users to do this, if possible, but I
would want to be able to do it as administrator.

> If you're using tradspool, I see no reason you couldn't just
> edit the article in a text editor.  

Hm... Not sure what  tradspool is.  Searched google and it looks
like it comes with INN.  Haven't looked at INN other than the
website, so, I have a long way to go.

With Gnus, I can edit mail articles by hitting `e in the summary
buffer, but when I try it on the newsserver, I get

(error "The current newsgroup does not support article editing")

I assumed that this was telling me that some newservers allow
article editing, but it may just be saying that this "virtual
server" doesn't support it.

> (Mmm, wait, changing the article size might break something
> since the bytecount stored in the overview database wouldn't
> change.  Probably not, I think.)

I was thinking about trying that with this IIS server as well,
but then thought, the date on the file would change and IIS might
just assume it has been compromised and shut down or something,
and I can't get a sole to answer anything about NNTP questions on
the iis group (One of the main reasons that I want to move to
INN.  Open source has awesome support)
  
> I don't see how that follows -- certainly you can crosspost.

I want to do it after the fact.

>>Can the message-ids remain the same?
> 
> Most certainly -- the Message-ID is _the_ identifying piece of
> information about an article.  This article I'm posting now
> will have the same Message-ID on every normal server on usenet.

That's a very important piece for me.

Thanks.

-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Re: INN Capabilities?
#52694
Author: Jeffrey M. Vinocur
Date: Tue, 05 Jun 2001 04:22
49 lines
2571 bytes
In article <uae3nk5vy.fsf@primix.com>,
Galen Boyer  <galenboyer@yahoo.com> wrote:
>On Mon, 4 Jun 2001, jeff@litech.org wrote:
>
>> Wait, is all you want to do have the administrator edit the
>> content of articles?  
>
>I would like to allow the users to do this, if possible, but I
>would want to be able to do it as administrator.

The mechanism in NNTP for modifying articles is Supersedes, in
which a new article (different Message-ID) replaces an old
article.  And no client would support anything such edit
operation, so adding it to INN (which might be possible, I guess)
wouldn't get you anywhere.

(Before you get too deep into this, might some sort of web forum
work for your needs?)


>Hm... Not sure what  tradspool is.

There are various methods INN can use to store articles.  One of
them is traditional spool, where each article is simply a file on
disk.  It's the easiest method in a lot of ways, but it doesn't
scale to the hundreds of GB/day that a full news server has to
deal with.


>With Gnus [...]
>(error "The current newsgroup does not support article editing")

I don't do Emacs...can anybody shed any light on this?


>> I don't see how that follows -- certainly you can crosspost.
>
>I want to do it after the fact.

Oh.  Again, not something that happens in Usenet, and thus
has no support.  (However, moderation may be useful...do you want
to do the crossposting as the articles come in, or far into the
future?)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN Capabilities?
#52696
Author: Bill Cole
Date: Tue, 05 Jun 2001 05:53
86 lines
4837 bytes
In article <uae3nk5vy.fsf@primix.com>,
 Galen Boyer <galenboyer@yahoo.com> wrote:

>On Mon, 4 Jun 2001, jeff@litech.org wrote:
>
>> Wait, is all you want to do have the administrator edit the
>> content of articles?  
>
>I would like to allow the users to do this, if possible, but I
>would want to be able to do it as administrator.

This is not really something news is designed to support. A message can 
supersede another one, but it will be a new message in every sense. 

>> If you're using tradspool, I see no reason you couldn't just
>> edit the article in a text editor.  
>
>Hm... Not sure what  tradspool is.  Searched google and it looks
>like it comes with INN.  Haven't looked at INN other than the
>website, so, I have a long way to go.

"Tradspool" is news admin jargon for 'traditional spool.' This storage 
format for news articles uses the filesystem for structure: directory 
names are group name elements, and filenames are article numbers. So 
article number 1234 in this group would be stored in the file named  
$SPOOL_PATH/news/software/nntp/1234 (where $SPOOL_PATH is likely to be 
/var/spool/news.)  This storage model goes back to the earliest days of 
news.

Tradspool is pretty and accessible, but it is not terribly efficient. 
Modern news servers use article databases of various sorts with larger 
files holding many articles each, generally optimized for fast addition 
of new articles, expiry of old articles, and random retrieval of 
articles, while tradspool is optimized solely for the ability of the 
human mind to understand it. One advantage of tradspool is that you can 
easily get to each article on its own and work with it in a text editor 
and have no fear of really messing anything up. 

>With Gnus, I can edit mail articles by hitting `e in the summary
>buffer, but when I try it on the newsserver, I get
>
>(error "The current newsgroup does not support article editing")
>
>I assumed that this was telling me that some newservers allow
>article editing, but it may just be saying that this "virtual
>server" doesn't support it.

No news server does. I'm unclear on what Gnus is trying to do there. 
There is no facility in NNTP for editing existing articles. 

>> (Mmm, wait, changing the article size might break something
>> since the bytecount stored in the overview database wouldn't
>> change.  Probably not, I think.)

I think not. I don't believe the overview is doing anything more than 
serving headers. THAT might get bollixed (overview thinks the article is 
10 lines and sends that to clients, but the edited article is 100...) 

>I was thinking about trying that with this IIS server as well,
>but then thought, the date on the file would change and IIS might
>just assume it has been compromised and shut down or something,

I doubt that IIS is anything like that smart. 

 
>> I don't see how that follows -- certainly you can crosspost.
>
>I want to do it after the fact.

Kinky. Again you could use tradspool and do this to some extent, but 
you'd need tradspool because you'd be spending a lot of time with a text 
editor fiddling with files. You'd have to turn overviews off complet3ely 
though, because they would be broken badly by this. 

I don't think news is the solution for you. I'm a fan of a commercial 
package called "FirstClass" that really sounds more like what you need. 
Lotus Notes could do it too, and I guess MS Exchange could as well, both 
rather more expensively than FC. With ANY news server, you'd be looking 
at doing a lot manually because the functions you are looking for just 
aren't part of news.

-- 
Bill Cole
This message is the official opinion of the voices in my head. 
Re: INN Capabilities?
#52698
Author: Russ Allbery
Date: Tue, 05 Jun 2001 09:36
18 lines
1761 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> Wait, is all you want to do have the administrator edit the content of
> articles?  If you're using tradspool, I see no reason you couldn't just
> edit the article in a text editor.  (Mmm, wait, changing the article
> size might break something since the bytecount stored in the overview
> database wouldn't change.  Probably not, I think.)

INN doesn't internally use the byte or line count in overview, so as long
as your reading clients don't care (which generally they wouldn't), that
should be fine.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN Capabilities?
#52699
Author: Russ Allbery
Date: Tue, 05 Jun 2001 09:37
19 lines
1767 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Galen Boyer  <galenboyer@yahoo.com> wrote:

>> With Gnus [...]
>> (error "The current newsgroup does not support article editing")

> I don't do Emacs...can anybody shed any light on this?

Gnus supports article editing in mail backends; you won't be able to use
Gnus's article editing commands to edit articles stored in the news spool
unless you're actually running Gnus on the news server and you do a bit of
Lisp hacking.  (There isn't any way of editing articles over protocol.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN Capabilities?
#52701
Author: Galen Boyer
Date: Tue, 05 Jun 2001 12:42
14 lines
1267 bytes
On 05 Jun 2001, rra@stanford.edu wrote:

> INN doesn't internally use the byte or line count in overview,
> so as long as your reading clients don't care (which generally
> they wouldn't), that should be fine.

Beautiful!  So, I could just use nneething to make the files look
like newsgroups, and edit away.

-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Re: INN Capabilities?
#52700
Author: Galen Boyer
Date: Tue, 05 Jun 2001 12:54
45 lines
2674 bytes
On Tue, 5 Jun 2001, jeff@litech.org wrote:

> (Before you get too deep into this, might some sort of web
> forum work for your needs?)

I mainly am worried about dead URL's that have been posted.  The
other thing I would want is to fix the OE garbage, but I think
Hamster will help me on the way in.

I don't really want to move to a browser except for searching.
NNTP is just way faster for getting at the information.  A
browser refreshes on every click, plus, the message composition,
citing, ... is already very powerful in newsreaders.  NNTP
rocks, and I just want to make sure I have explored all avenues
of functionality before I commit to more homegrown solutions for
what I might need to augment the forum.

>>Hm... Not sure what  tradspool is.
> 
> There are various methods INN can use to store articles.  One
> of them is traditional spool, where each article is simply a
> file on disk.  It's the easiest method in a lot of ways, but it
> doesn't scale to the hundreds of GB/day that a full news server
> has to deal with.

I see.  Thanks for the explanation.

> do you want to do the crossposting as the articles come in, or
> far into the future?)

Either but far into the future is most probable.  This isn't the
most important thing in the world.  I have just had some groups
that didn't really need to be created and were cluttering up the
server, and I wanted to take whatever messages were existing and
move them to another group and delete the unnessary group.  I was
thinking that if I could crosspost them, I wouldn't lose the
current message-id.  The way I do it currently is, for each
message, pose as the poster, and post his message in the
appropriate group until done.

-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Re: INN Capabilities?
#52702
Author: Galen Boyer
Date: Tue, 05 Jun 2001 12:56
14 lines
1308 bytes
On 05 Jun 2001, rra@stanford.edu wrote:

> Gnus supports article editing in mail backends; 

So, it was looking at the Gnus virtual server and saw that it was
of type NNTP and telling me that that group type didn't
allow/support editing.

Thanks.
-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Re: INN Capabilities?
#52703
Author: Galen Boyer
Date: Tue, 05 Jun 2001 13:19
96 lines
4247 bytes
On Tue, 05 Jun 2001, bill@scconsult.com wrote:

> This is not really something news is designed to support. A
> message can supersede another one, but it will be a new message
> in every sense.

That's okay.  I am going to propose as an internal project, a
googleized database searching of the posts and part of this
process will be to get rid of message-ids that don't exist
anymore.  That should do it.  The whole message-id worry was for
the effect of losing that reference somewhere.  This should do
it.

> "Tradspool" is news admin jargon for 'traditional spool.' 

[snip very nice explanation]

I appreciate your taking the time.  I understand it quite well
now.

> No news server does. I'm unclear on what Gnus is trying to do
> there.  There is no facility in NNTP for editing existing
> articles.

As has been pointed out to me, this was functionality only for
mail backends.  The message I got made me think that NNTP allowed
it as well.
  
>>I was thinking about trying that with this IIS server as well,
>>but then thought, the date on the file would change and IIS
>>might just assume it has been compromised and shut down or
>>something,
> 
> I doubt that IIS is anything like that smart. 

:-)  I'm just afraid to try it.  Might mean that the help
response would be "Reinstall entire operating system and pray"

>>I want to do it after the fact.
> 
> Kinky. 

HeHe.

> Again you could use tradspool and do this to some extent, but
> you'd need tradspool because you'd be spending a lot of time
> with a text editor fiddling with files. You'd have to turn
> overviews off complet3ely though, because they would be broken
> badly by this.

I think I will spend sometime making my little lisp code work so
that I can pose as the posters of a thread and repost the entire
thing to another group.  Right now, I post each one manually.

> I don't think news is the solution for you. 

Oh, it is definitely the solution.  Just looking for ways to not
have to write my home grown stuff.

> I'm a fan of a commercial package called "FirstClass" that
> really sounds more like what you need.  

I took a look.  Looks a bit like Oulook although the coolness
factor looks high. 

I really want all our internal communication on an NNTP forum
because I want all of our branches to have quick replication of
these conversations so that we can have worldwide conversations.
INN looks like the solution for this.

Hm...  The "learning" idea seemed nice.  Where would you say NNTP
falls down as far as "a classroom" is concerned and FirstClass
shines?

> Lotus Notes could do it too

$$$

> , and I guess MS Exchange could as well, both rather more
> expensively than FC. 

I have no admin rights to our exchange server.  This is
completely a grass-roots effort to get people conversing on this
forum.

> With ANY news server, you'd be looking at doing a lot manually
> because the functions you are looking for just aren't part of
> news.

That's okay.  I'll just find other ways.

-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Re: INN Capabilities?
#52705
Author: Andrew Gierth
Date: Tue, 05 Jun 2001 14:34
18 lines
1974 bytes
>>>>> "Galen" == Galen Boyer <galenboyer@yahoo.com> writes:

 Galen> I really want all our internal communication on an NNTP forum
 Galen> because I want all of our branches to have quick replication
 Galen> of these conversations so that we can have worldwide
 Galen> conversations.  INN looks like the solution for this.

Be aware that editing articles after-the-fact is only really feasible
on a single server. If you supersede an article with another one, then
the replacement will propagate to your other servers; but there is no
mechanism to propagate a modification to an existing article.

(News is pretty much based around the assumption that articles will
not be modified after posting.)

-- 
Andrew.
Re: INN Capabilities?
#52704
Author: Jeffrey M. Vinocur
Date: Tue, 05 Jun 2001 14:36
29 lines
2094 bytes
In article <ulmn7ytrh.fsf@primix.com>,
Galen Boyer  <galenboyer@yahoo.com> wrote:
>
>I mainly am worried about dead URL's that have been posted.  

You could just post a followup with a correction...the trouble
with editing articles in place is that many newsreaders
(especially the ones for Windows) download the articles to local
hard drive and thus will not see any update you might make.


>I have just had some groups
>that didn't really need to be created and were cluttering up the
>server, and I wanted to take whatever messages were existing and
>move them to another group and delete the unnessary group.

Ah.  Well, if it's a rare thing it _is_ possible to do something
like this (you have to assign the articles new numbers that won't
conflict with the destination group, and then have some script go
in and modify the text of each article to have the correct Xref:
and Newsgroups: headers, and then rebuild the overview database
-- probably an afternoon's worth of work).



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN Capabilities?
#52707
Author: Russ Allbery
Date: Tue, 05 Jun 2001 15:11
15 lines
1626 bytes
Galen Boyer <galenboyer@yahoo.com> writes:

> Beautiful!  So, I could just use nneething to make the files look like
> newsgroups, and edit away.

Yup, that would quite probably work.  nndir would probably work, for that
matter, or even nnmh (although I'm not sure whether the latter expects
some of the mh control files to be present).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN Capabilities?
#52709
Author: Galen Boyer
Date: Tue, 05 Jun 2001 17:20
12 lines
1305 bytes
On 05 Jun 2001, andrew@erlenstar.demon.co.uk wrote:

> Be aware that editing articles after-the-fact is only really
> feasible on a single server. 

Hey, thanks for the heads up.  I will not edit articles at all.
I will only repost if needed.
-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Re: INN Capabilities?
#52724
Author: Bill Cole
Date: Wed, 06 Jun 2001 17:05
64 lines
3692 bytes
In article <ud78jysl3.fsf@primix.com>,
 Galen Boyer <galenboyer@yahoo.com> wrote:

>On Tue, 05 Jun 2001, bill@scconsult.com wrote:

[...]
>> I don't think news is the solution for you. 
>
>Oh, it is definitely the solution.  Just looking for ways to not
>have to write my home grown stuff.

From what you've said, I don't think that's possible to avoid if you use 
a news system (like INN) as your base. 

>> I'm a fan of a commercial package called "FirstClass" that
>> really sounds more like what you need.  
>
>I took a look.  Looks a bit like Oulook although the coolness
>factor looks high. 
>
>I really want all our internal communication on an NNTP forum
>because I want all of our branches to have quick replication of
>these conversations so that we can have worldwide conversations.
>INN looks like the solution for this.

That's why I suggested FirstClass. It will do replication among multiple 
servers, very similarly to news. That's a mature feature too: I was 
involved in a 600-site network of FC servers in 1994, exchanging 
messages cross modem links and over TCP/IP.  

>Hm...  The "learning" idea seemed nice.  Where would you say NNTP
>falls down as far as "a classroom" is concerned and FirstClass
>shines?

News is designed for a large number of independently managed servers 
accessed through diverse clients, and so the integration between servers 
is pretty loose and the functionality is minimal to keep it easy for 
developers to implement clients. The design of news is for discussion 
fora, not for a collaboration or training environment. Groupware systems 
like FC (or Notes) are aimed at the corporate market and so offer 
features like shared documents and complex access control that news just 
doesn't have.  By a somewhat accidental chance in the early 90's, FC has 
developed a very strong educational focus and market, and its users have 
driven the development of both its feature set and a 3rd-party 
consulting/integration/add-on market aimed at educational systems. 

With a news-based system, you will have a lot of stuff to build 
yourself. With a FC or Notes base, you are likely to be able to buy more 
of the functionality you want. 

>> Lotus Notes could do it too
>
>$$$

Yes. FC isn't free either. It is likely to be a lot less expensive than 
Notes. Using INN as your core will be even cheaper, but you will need to 
figure out how to do everything you want and perhaps write a significant 
amount of code.

-- 
Bill Cole
This message is the official opinion of the voices in my head. 
Re: INN Capabilities?
#52814
Author: those who know me have no need o...
Date: Tue, 12 Jun 2001 03:00
18 lines
1587 bytes
<ud78jysl3.fsf@primix.com> divulged:

>> , and I guess MS Exchange could as well, both rather more
>> expensively than FC. 
>
>I have no admin rights to our exchange server.  This is
>completely a grass-roots effort to get people conversing on this
>forum.

you don't need them, provided you have rights to a public folder and all
the servers you want involved are replicating them.

editing articles after the fact is still a bad idea, as that can cause
people that had already read the original to become confused.

-- 
okay, have a sig then
Re: INN Capabilities?
#53227
Author: Stuart Krivis
Date: Wed, 11 Jul 2001 11:35
40 lines
2922 bytes
On Tue, 05 Jun 2001 01:53:36 -0400, Bill Cole <bill@scconsult.com> wrote:
> 
> "Tradspool" is news admin jargon for 'traditional spool.' This storage 
> format for news articles uses the filesystem for structure: directory 
> names are group name elements, and filenames are article numbers. So 
> article number 1234 in this group would be stored in the file named  
> $SPOOL_PATH/news/software/nntp/1234 (where $SPOOL_PATH is likely to be 
> /var/spool/news.)  This storage model goes back to the earliest days of 
> news.
> 

I'm not that familiar with INN, so I could be way off base here...

Older filesystems like Berkeley FFS or UFS have trouble handling large
numbers of files. Tradspool simply won't scale because of the underlying
FS. So, cyclical buffers are used. I assume that indexing is done by
offset in a large file? And then expiry would just mark some space as
available, then INN places new articles wherever it finds the first
space that's large enough?

Might it now be more efficient to use a modified tradspool with
something like SGI's XFS? XFS eliminates a lot of the problems tradspool
had with older filesystems. You'd only need to modify expiry to happen
in real-time. Set a spool size, then a limit (90%?) at which expiry
starts occuring. 

Am I way off base? I'm just guesstimating based on how I would do
cyclical buffers, along with some conversations overheard here and
there. (I actually ignore the INN threads here normally since I don't
use it.)




-- 


Stuart Krivis

Re: INN Capabilities?
#53229
Author: Russ Allbery
Date: Wed, 11 Jul 2001 11:59
42 lines
2917 bytes
Stuart Krivis <jd@mongo.krivis.com> writes:

> Older filesystems like Berkeley FFS or UFS have trouble handling large
> numbers of files. Tradspool simply won't scale because of the underlying
> FS.

That's one of the problems, yes.

> So, cyclical buffers are used. I assume that indexing is done by offset
> in a large file?

Right.

> And then expiry would just mark some space as available, then INN places
> new articles wherever it finds the first space that's large enough?

Actually, it's even simpler than that; innd just writes articles to the
cycbuff until it's full and then starts over at the beginning, overwriting
articles.  Expire just figures out what doesn't exist any more and makes
the appropriate changes in the other databases.  So CNFS has the
additional advantage that the amount of disk space taken by the spool is
fixed.

> Might it now be more efficient to use a modified tradspool with
> something like SGI's XFS? XFS eliminates a lot of the problems tradspool
> had with older filesystems. You'd only need to modify expiry to happen
> in real-time. Set a spool size, then a limit (90%?) at which expiry
> starts occuring.

XFS does work much better and basically increases the speed of tradspool
to the point where it probably can compete with timehash.  However, it
still can't match CNFS because you still have the system call overhead of
searching down through a path and opening a file for every article as
opposed to just dumping data into an already open file.  It's very
difficult to get faster or simpler than CNFS.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN Capabilities?
#53251
Author: bill davidsen
Date: Wed, 11 Jul 2001 23:46
42 lines
3121 bytes
In article <slrn9koegp.ru0.jd@poof.apk.net>,
Stuart Krivis <netnews@krivis.com> wrote:

| Older filesystems like Berkeley FFS or UFS have trouble handling large
| numbers of files. Tradspool simply won't scale because of the underlying
| FS. So, cyclical buffers are used. I assume that indexing is done by
| offset in a large file? And then expiry would just mark some space as
| available, then INN places new articles wherever it finds the first
| space that's large enough?

  The number of files issue is only a small part of it... the problem is
that you are creating and deleting tons of files, adding the overhead of
all that inode work. That's the real benefit of CNFS, not creating and
deleting 1.2 million files a day.

  The buffer is circular, the next available space is at the "add"
pointer, and as many articles as are needed are deleted to make room for
the next.

| Might it now be more efficient to use a modified tradspool with
| something like SGI's XFS? XFS eliminates a lot of the problems tradspool
| had with older filesystems. You'd only need to modify expiry to happen
| in real-time. Set a spool size, then a limit (90%?) at which expiry
| starts occuring. 

  "only need to modify" is lovely, like the algorithm which includes
"here a miracle occurs." There is no way to create and delete millions
of files a day as well as not doing it. Work avoidance is the fastest
way to do almost anything.

| Am I way off base? I'm just guesstimating based on how I would do
| cyclical buffers, along with some conversations overheard here and
| there. (I actually ignore the INN threads here normally since I don't
| use it.)

  You have the idea if not the detail.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"I am lost. I am out looking for myself. If I should come back before I
return, please ask me to wait."  -seen in a doctor's office
Re: INN Capabilities?
#53252
Author: Stuart Krivis
Date: Thu, 12 Jul 2001 01:28
17 lines
1782 bytes
On 06 Jun 2001 18:29:55 +0100, Graeme Mathieson <graeme+usenet@mathie.cx> wrote:
> 
> Having watched this thread, I'm wondering if perhaps what you're actually
> looking for is something like IMAP shared folders?  It would satisfy
> your article-editing requirement.  Replication could be icky, but given
> the fact that you seem only to want to make small changes[1] it could
> be hacked up with rsync between servers.

Anonymous IMAP also works for this, but I'm not sure how many MUAs can
handle it.

-- 


Stuart Krivis

Re: INN Capabilities?
#53254
Author: Stuart Krivis
Date: Thu, 12 Jul 2001 02:01
27 lines
2277 bytes
On Wed, 11 Jul 2001 23:46:52 +0000 (UTC), bill davidsen <davidsen@tmr.com> wrote:

>| had with older filesystems. You'd only need to modify expiry to happen
>| in real-time. Set a spool size, then a limit (90%?) at which expiry
>| starts occuring. 
> 
>   "only need to modify" is lovely, like the algorithm which includes
> "here a miracle occurs." There is no way to create and delete millions
> of files a day as well as not doing it. Work avoidance is the fastest
> way to do almost anything.

I didn't realize that expiry was done in such a simple manner. FIFO.
Write articles into the file sequentially and when you get to the end,
you just start over at the beginning. It really is an elegant solution.

However, tradspool does still seem more flexible in that you can deal
with individual articles at any point. That's a curse or a blessing,
depending upon how you look at it. :-)


-- 


Stuart Krivis

Re: INN Capabilities?
#53256
Author: Russ Allbery
Date: Thu, 12 Jul 2001 02:50
14 lines
1605 bytes
Stuart Krivis <jd@mongo.krivis.com> writes:

> However, tradspool does still seem more flexible in that you can deal
> with individual articles at any point. That's a curse or a blessing,
> depending upon how you look at it. :-)

Yup, that's why I still use tradspool for everything except binaries.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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