Thread View: news.software.nntp
4 messages
4 total messages
Started by Thomas Schnider
Mon, 24 Aug 1998 00:00
no new msg's in groups on cnfs
Author: Thomas Schnider
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
21 lines
1109 bytes
1109 bytes
Hello all What happens with messages on cnfs when no more new messages arrive in it? Will they exist as long as the group exists on the server or is there also a maximum ttl I can set? I am on the way to find out which is the best storage method of articles for us. We are an ISP and provide a big amount of groups, but not all. A would appreciate any advise or help Thomas -- ________________________________ Thomas Schnider e-mail: tschnider@bluewin.ch
Re: no new msg's in groups on cnfs
Author: Thomas Schnider
Date: Tue, 25 Aug 1998 00:00
Date: Tue, 25 Aug 1998 00:00
46 lines
2723 bytes
2723 bytes
Ron Jarrell wrote:
> The messages will hang around in the group as long as no more new
> messages arrive *in the entire metacycbuff*. I.e., if you have
> a metacycbuff defined for just alt.foo, and alt.foo never gets another
> post, then whatever was in the metacycbuff will stick around. However
> if it's alt.foo,alt.bar, then if alt.foo stops getting posts, but
> alt.bar is still active, the messages in alt.bar will eventually push
> everything in alt.foo out...
Thanx, this explains me exactly what I wanted to know.
> CNFS rules for pure raw speed. It's a complete pain in the arse if
> you want any sort of control over when things expire, other than
> based on the amount of space they take up. I'm quite easily, with
> CPU and bandwidth to burn, keeping up with 13-14G/day or more.
>
> It's not without its foibles... The code isn't completely bulletproof
> yet; I've already had one group go completely bonkers on me beause something
> is corrupted in the index...
>
> If you want a more traditional approach, for a busy feed, and want to
> avoid some of the problems like bloated directories from control.cancel,
> or *.jobs, or news.lists.filter slowing you down, timehash is probably
> a better choice; not the same raw performance, but does provide some
> benefits, and a reasonable amount of expire flexibility.
I see. CNFS is fast, but doesn't give you a lot of control over the stored
messages. Further, if I understand correctly the timehash method is similar to
the traditional. So, I have for each message one file. Anyway, do I have also
the possibility to delete (find) just one message of a group on the server in
order to its identifier? This should be possible in order to delete a message
which is against the law. May be there are also other, automatical methods, but
sometimes it has be done by hand.
I guess I have to decide now between the timehash and the traditional method for
our needs, don't I?
Regards
Thomas
--
Re: no new msg's in groups on cnfs
Author: Ron Jarrell
Date: Tue, 25 Aug 1998 00:00
Date: Tue, 25 Aug 1998 00:00
34 lines
2435 bytes
2435 bytes
Thomas Schnider <tschnider@bluewin.ch> wrote: > Hello all > What happens with messages on cnfs when no more new messages arrive in > it? Will they exist as long as the group exists on the server or is > there also a maximum ttl I can set? The messages will hang around in the group as long as no more new messages arrive *in the entire metacycbuff*. I.e., if you have a metacycbuff defined for just alt.foo, and alt.foo never gets another post, then whatever was in the metacycbuff will stick around. However if it's alt.foo,alt.bar, then if alt.foo stops getting posts, but alt.bar is still active, the messages in alt.bar will eventually push everything in alt.foo out... > I am on the way to find out which is the best storage method of articles > for us. We are an ISP and provide a big amount of groups, but not all. CNFS rules for pure raw speed. It's a complete pain in the arse if you want any sort of control over when things expire, other than based on the amount of space they take up. I'm quite easily, with CPU and bandwidth to burn, keeping up with 13-14G/day or more. It's not without its foibles... The code isn't completely bulletproof yet; I've already had one group go completely bonkers on me beause something is corrupted in the index... If you want a more traditional approach, for a busy feed, and want to avoid some of the problems like bloated directories from control.cancel, or *.jobs, or news.lists.filter slowing you down, timehash is probably a better choice; not the same raw performance, but does provide some benefits, and a reasonable amount of expire flexibility.
Re: no new msg's in groups on cnfs
Author: Ron Jarrell
Date: Tue, 25 Aug 1998 00:00
Date: Tue, 25 Aug 1998 00:00
22 lines
2062 bytes
2062 bytes
Thomas Schnider <tschnider@bluewin.ch> wrote: > I see. CNFS is fast, but doesn't give you a lot of control over the stored > messages. Further, if I understand correctly the timehash method is similar to > the traditional. So, I have for each message one file. Anyway, do I have also > the possibility to delete (find) just one message of a group on the server in > order to its identifier? This should be possible in order to delete a message > which is against the law. May be there are also other, automatical methods, but > sometimes it has be done by hand. "ctlinnd cancel msgid" works regardless of which method you chose... With cycbufs it doesn't actually delete the article, but it marks it as "gone" and you can't get to it anymore, which is effectivel the same thing. timehash is similar to traditional, except the files are stored in "buckets" based on your storage.ctl (or storage.conf in the next version) where all the buckets expire on the same schedule. The files are arranged by a hash of the time they arrived, thus you don't have the directory contention issues, but still have the issues of actually using the filesystem to write to directories on the spool...
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