[or-cvs] Instead of adding servers and v1 directories to buffers en ...

Nick Mathewson nickm at seul.org
Sun Jun 18 07:38:57 UTC 2006


Update of /home/or/cvsroot/tor/doc
In directory moria:/tmp/cvs-serv23626/doc

Modified Files:
	TODO 
Log Message:
Instead of adding servers and v1 directories to buffers en masse, directory servers add them on the fly as their outbufs are depleted.  This will save ram on busy dirservers.

Index: TODO
===================================================================
RCS file: /home/or/cvsroot/tor/doc/TODO,v
retrieving revision 1.457
retrieving revision 1.458
diff -u -p -d -r1.457 -r1.458
--- TODO	16 Jun 2006 15:40:57 -0000	1.457
+++ TODO	18 Jun 2006 07:38:54 -0000	1.458
@@ -31,21 +31,23 @@ Items for 0.1.2.x:
 N   . Improve memory usage on tight-memory machines.
       - Directory-related fixes.
         o Remember offset and location of each descriptor in the cache/journal
-        - When sending a big pile of descs to a client, don't shove them all
+        o When sending a big pile of descs to a client, don't shove them all
           on the buffer at once. Keep a list of the descriptor digests for
           the descriptors we still want to send.  We might end up truncating
           some replies by returning fewer descriptors than were requested (if
           somebody requests a desc that we throw away before we deliver it),
           but this happens only when somebody wants an obsolete desc, and
           clients can already handle truncated replies.
-        - But what do we do about compression? That's the part that makes
+        . But what do we do about compression? That's the part that makes
           stuff hard.
-          - Implement compress/decompress-on-the-fly support.
-          - Use it for returning lists of descriptors and lists of
-            network status docs.
+          o Implement compress/decompress-on-the-fly support.
+          o Use it for returning lists of descriptors.
+          - Use it for returning lists of network status docs. (This will
+            take a hybrid approach; let's get the other bits working first.)
           o Make clients handle missing Content-Length tags.  (Oh, they do.)
             o Verify that this has happened for a long time.
-        - Try a similar trick for spooling out v1 directories.
+        o Try a similar trick for spooling out v1 directories.  These we
+          _uncompress_ on the fly.
         - Look into pulling serverdescs off buffers as they arrive.
         - Mmap cache files where possible.
           - Mmap cached-routers file; when building it, go oldest-to-newest.
@@ -54,7 +56,7 @@ N   . Improve memory usage on tight-memo
           - Save and mmap v1 directories; store them zipped?
 
     - "bandwidth classes", for incoming vs initiated-here conns.
-N   - Asynchronous DNS
+    o Asynchronous DNS
 
   - Security improvements
     - Directory guards



More information about the tor-commits mailing list