[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Look, we"re alpha again! Time for some delayed perform...



Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv6726

Modified Files:
	TODO 
Log Message:
Look, we're alpha again!  Time for some delayed performance work.

(Some of this still needs docs and tests)

Common, ServerMain:
- To make the server shut down faster, abandon pending work in the 
  processing and cleaning threads when we're shutting down.

  (Formerly, if we got behind cleaning files or processing messages,
  we'd wait to finish before we shut down.  Now we shut down almost
  immediately.  This is safe, because the code is written to be safe
  in the presence of SIGKILL's anyway.)

test, MMTPServer, Modules, ServerMain
- When we had N messages to deliver, we used to suck all N into
  memory.  Clearly, this was a pretty rotten idea: instead, we now
  lazy-load messages as they're needed.  This makes the mixminion
  server use even less memory under load than it did before.

  The code is a little hairy, but it seems to work for me.  It still
  needs documentation.



Index: TODO
===================================================================
RCS file: /home/minion/cvsroot/src/minion/TODO,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- TODO	12 Jun 2003 06:30:40 -0000	1.122
+++ TODO	13 Jun 2003 01:03:45 -0000	1.123
@@ -23,13 +23,20 @@
                 - From (limited)
                 - In-Reply-To
                 - References
+        - Security improvements
+                - Add ability to mark nodes as having same
+                  administrative domain.
+                - Change pathgen to avoid two nodes with same domain
+                  in a row.
+                - Change pathgen to avoid using same node for entry
+                  and exit.
         - Support for large messages and K-of-N
         - UI improvements:
-                - Audit exceptions: which should be UIError
+                - Audit exceptions: which should be UIError?
                 - Quiet server startup; should be by default if daemon
                   mode.
-                - Notice when out of disk space, die more cleanly
-                - 'Iffy mode' messages are confusing
+                - Notice when out of disk space, die more cleanly.
+                - 'Iffy mode' messages are confusing.
         - Configurability:
                 - Ability to disable or relax directory paranoia.
                 - Trusted groups, trusted users for directory permissions
@@ -38,9 +45,10 @@
                 - Tests for ServerInbox and Directory.py
                 - Tests for checkConsistency
         - Make 'SIGHUP' reload, (and 'SIGUSR' dump).
-        - Performance
-                - Lazy-load deliverable messages.
-                - Don't block while shredding messages at startup.
+        . Performance
+                o Lazy-load deliverable messages.
+                o Don't block while shredding messages at startup.
+                o Shutdown faster on SIGTERM.
 
 
 For 0.0.6: