On 2009-07-02 18:53, Duncan wrote:
Ron Johnson <ron.l.john...@cox.net> posted
4a4cf8fc.8030...@cox.net, excerpted below, on Thu, 02 Jul 2009 13:14:20
-0500:
Because giganews has such a long retention period, some groups can have
a very *large number* of messages. If you subscribe to two or more of
them, you could run out of memory.
As it is, pan seems to sequentially scan thru all messages when marking
a group of them as Read.
There needs to be a better and less memory intensive method of handling
huge groups. B-trees, hash tables, SQL-Lite, I don't know, but
*something* better than the status quo.
This is true, tho pan is far better than it used to be (it deals with
multi-million messages now, where old-pan had problems with 100k).
One of the problems seems to be his use of big flat files. It's
great for being able to peek into the inner working of tasks.nzb,
but every time an article gets successfully downloaded, pan must
make a copy of the file in order to get ride of that one article.
If tasks.nzb is large, that takes a while.
Similar problems in groups/.
This reminds me of mbox files in the email world, and it's why
Maildir (where each email is a separate file) is so much more
efficient at doing things other than adding new emails to the end of
the file.
Also (and maybe because I'm a DBA), this problem just *screams* for
SQLite and a database in the "First Normal Form".
--
Scooty Puff, Sr
The Doom-Bringer
_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users