summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-18 07:38:55 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-18 07:38:55 +0000
commit1d9923da7c197724d453ff315289c3c70536ee09 (patch)
treee350b26733a666c8052b73415bfd2adaa61c3f4b /doc
parent73ada60d64d9a97309cbf01b4b1b2c4b1bb3b8b3 (diff)
downloadtor-1d9923da7c197724d453ff315289c3c70536ee09.tar.gz
tor-1d9923da7c197724d453ff315289c3c70536ee09.zip
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.
svn:r6641
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/TODO b/doc/TODO
index a971c10949..5b44825316 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -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-memory machines.
- 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