Thread View: news.software.nntp
4 messages
4 total messages
Started by Richard A. Muirden
Mon, 25 Nov 1996 00:00
INN with New DB??
Author: Richard A. Muirden
Date: Mon, 25 Nov 1996 00:00
Date: Mon, 25 Nov 1996 00:00
22 lines
1525 bytes
1525 bytes
OK guys, this might seem like a really dumb question and not worthy of
a reaponse, but like all weenies I shall ask anyway :-) Has anyone either
thought of, or tried using the new Berkeley DB libraries with INN rather
than the ndbm files for the history database? I'm curious as I believe
the new db stuff is faster than the ndbm? With a Sparc10 groaning under
the weight of its newsfeed and nnrping I'm trying to find every possible
way to improve performance (because guess who isn't being given a better
machine for news? *sigh*). So anyway the thought had been wondering around
in my head, so I thought I'd pitch it.
Comments?
-richard
--
Richard A. Muirden, RMIT ITS Unix Snr Systems Admin: Web+News+Post -Master
mailto: richard@rmit.EDU.AU phone: 9660 3814, Fax: 9662 5652
Likes: Shostakovich (131 CD's), 'planes, sci-fi, cats, romance, cuddles and...
http://www.rmit.edu.au/richard
Re: INN with New DB??
Author: Dave Barr
Date: Mon, 25 Nov 1996 00:00
Date: Mon, 25 Nov 1996 00:00
17 lines
1248 bytes
1248 bytes
In article <57bs8a$4h8$1@aggedor.rmit.EDU.AU>, Richard A. Muirden <richard@bofh.its.rmit.EDU.AU> wrote: >OK guys, this might seem like a really dumb question and not worthy of >a reaponse, but like all weenies I shall ask anyway :-) Has anyone either >thought of, or tried using the new Berkeley DB libraries with INN rather >than the ndbm files for the history database? It's not worth it. dbz is a special-purpose library which is specificially designed for news. ndbm is general purpose. Being general-purpose, it has to provide features news doesn't need or want. The upshot is that ndbm would be slower overall and the database would take more disk space. --Dave
Re: INN with New DB??
Author: Jared Mauch
Date: Thu, 28 Nov 1996 00:00
Date: Thu, 28 Nov 1996 00:00
30 lines
1964 bytes
1964 bytes
[Posted and mailed] In article <57cfao$7pl@augusta.math.psu.edu>, barr@math.psu.edu (Dave Barr) writes: > In article <57bs8a$4h8$1@aggedor.rmit.EDU.AU>, > Richard A. Muirden <richard@bofh.its.rmit.EDU.AU> wrote: >>OK guys, this might seem like a really dumb question and not worthy of >>a reaponse, but like all weenies I shall ask anyway :-) Has anyone either >>thought of, or tried using the new Berkeley DB libraries with INN rather >>than the ndbm files for the history database? > > It's not worth it. dbz is a special-purpose library which is specificially > designed for news. ndbm is general purpose. Being general-purpose, > it has to provide features news doesn't need or want. The upshot is > that ndbm would be slower overall and the database would take more disk > space. unfortunately there are many problems also when the history file grows over a certain size. It is just something that has come about. Once we hit a million articles a day standard, and people keep them around for 15 days, how big will the history files be? There are people now with problems with expires taking 18 hours or more. Perhaps there are some rewrites that could be done to help make things scale better. Not many would have thought that a full news feed wouldn't fit over a uucp link 5 years ago. - Jared
Re: INN with New DB??
Author: Dave Barr
Date: Sat, 30 Nov 1996 00:00
Date: Sat, 30 Nov 1996 00:00
13 lines
1020 bytes
1020 bytes
In article <57j29q$kpn@news.cic.net>, Jared Mauch <jared@nic.hq.cic.net> wrote: [db vs dbz] > unfortunately there are many problems also when the history file >grows over a certain size. It is just something that has come about. Right, and it came about due to a bug, not to a design problem. Maybe the database someday needs to be re-thought, but I don't think db is the answer. --Dave
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