Mercurial > noffle
annotate TODO @ 121:a0a96e1021c3 noffle
[svn] Performance of group database
author | enz |
---|---|
date | Wed, 19 Jul 2000 19:20:35 +0100 |
parents | 32ba1198c6fa |
children | 7c7a7c96d35b |
rev | line source |
---|---|
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
1 ------------------------------------------------------------------------------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
2 NOFFLE Todolist |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
3 ------------------------------------------------------------------------------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
4 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
5 Urgent |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
6 ------ |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
7 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
8 * Has Client_connect resource leaks if it fails? |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
9 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
10 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
11 Later |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
12 ----- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
13 |
121 | 14 * Improve performance of group database. Using GDBM is a bad choice, |
15 better use a btree from the Berkeley db library in libc. | |
16 This will be a good time for a redesign of the group.h interface | |
17 with respect to process concurrency if the simple global locking strategy | |
18 will be changed in the future. | |
19 | |
42
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
20 * Add "hostname" config option for setting the FQHN in generated message IDs. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
21 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
22 * Read timeout when running as server and automatically close if client |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
23 does not send data for a longer time. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
24 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
25 * Implement simple filter using popen or fifos. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
26 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
27 * Make compatible to latest NNTP draft. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
28 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
29 * Improve speed of online mode: Keep connection to server open for a while |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
30 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
31 * Check all in |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
32 http://mars.superlink.net/user/tal/writings/news-software-authors.html |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
33 (Use NOV library? Use inews for validating posted articles? ... ) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
34 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
35 * Store requested articles by group + number. This would allow to create |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
36 pseudo-groups (like <groupname>.requested) that contained only fully |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
37 downloaded articles in overview mode (very nice and clever |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
38 idea sent in by a user, it would make using overview mode much easier). |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
39 Second advantage: Noffle would work with servers that have retrieving |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
40 articles by message-id disabled. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
41 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
42 * Expire should clean up empty request/outgoing directories, so they will not |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
43 exists forever after a server change. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
44 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
45 * Do not log program abortion due to SIGINT, if no inconsistency can occur, |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
46 (e.g. when calling 'noffle -d' to a pipe and next program terminates or |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
47 pressing ^C). |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
48 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
49 * Improve www page and documentation. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
50 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
51 * Keeping the content list for several lock/unlock times could lead to |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
52 inconsistent results, because content list is maybe modified by |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
53 pseudo articles. Check this! |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
54 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
55 * Optimize NEWGROUPS (extra list?) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
56 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
57 * Add noffle query option for checking all groups, if they are still |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
58 available at the remote server(s) and delete them otherwise. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
59 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
60 * In online mode, retrieve full article header from remote server if client |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
61 sends a HEAD command. Presently, only the header lines from the overview |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
62 are returned and the article is only retrieved on an ARTICLE or BODY command. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
63 The reason for this was that some readers (like pine) retrieve the group |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
64 overview by sending lots of HEAD commands and their performance would badly |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
65 suffer. On the other hand, some readers (like slrn) cache the header from |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
66 a HEAD command, even if a following ARTICLE command gets more header lines, |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
67 so that not all header lines are available when reading news in online mode, |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
68 before the next start of the reader. But some header lines (e.g. Reply-To) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
69 are important. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
70 Maybe make the behaviour configurable. |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
71 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
72 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
73 Some day far away |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
74 ----------------- |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
75 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
76 * Understand supersedes header (useful for reading news.answers group) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
77 |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
78 * Get and execute cancel messages (read control.cancel, but use xpat to get |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
79 only cancels for groups in fetchlist). Seems to be expensive (20000 headers |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
80 a day, takes the remote server to search through) |
2467ff423c15
[svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff
changeset
|
81 |