trying to fix bandwidth calculations
[oweals/gnunet.git] / TODO
diff --git a/TODO b/TODO
index fe9f791c4c404285cdbbc813d3862c7e6bbe4b99..c3b8aa051f382590243f89742b9300c1845d3e4e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,74 +1,63 @@
 Implementable right now (but not necessarily important), with caveats
 (unavailable components that will limit what can be implemented right
 away), in order in which they will likely be done:
-* TESTING
-* FS (DHT not available)
+* TESTING-TESTBED [Nate]
 * SETUP
-* DV (distributed testing not available)
-* TBENCH (distributed testing not available)
-* TRACEKIT (distributed testing not available)
+* DV [Nate]
+* TBENCH
+* TRACEKIT
+* FRAGMENTATION [Ji Lu]
 * HTTP transport
-* FRAGMENTATION
 * MySQL / Postgres plugins (datastore, datacache)
-* UPNP
-
+* UPNP [Milan]
+* ARM [Safey]
 
 Urgent items (before announcing ng.gnunet.org):
-* TESTING (needed for DV, DHT, Topology)
-  - implement library for local testing
-    + modify configuration to allow controlling
-      connections for non-local starts
-    + CORE service does not start with valid peer ID (all zeros)
-      -- testcase fails!
-    + consider changing API for peer-group termination
-      to call continuation when done
-    + testbed creation with topology (needs working F2F topology) [Nate]
-    + testbed with churn [Nate]
-  - implement testcases for library
-    + get test for basic peer start to work!
-    + test basic peer connect
-    + test group start
-    + test basic peer re-configure [Nate]
-    + test topology creation [Nate]
-    + test churn generation [Nate]
-* TOPOLOGY:
-  - implement testcases (needs TESTING)
-* HOSTLIST:
-  - implement testcases
 * FS (basic anonymous FS only)
-  - design network structs (P2P)
-    + query
-    + response
-  - implement FS service
-    + datastore request queueing mechanism
-    + CS-functions (search/download, index, get_indexed, unindex)
-    + P2P-functions (query, response)
-  - implement testcases 
-    + URI API
-    + getopt API
-    + sharing API
-      ~ file-information
-      ~ publish (insert, index)
-      ~ download
-      ~ search
-      ~ unindex
-    + directory API
+  - test multi-peer search/download
+    + existing bandwidth-reservation code does not work with FS: don't get
+      DBLOCK size bandwidth for reply for a while => trouble for testcase
+      => need to more aggressively increase bandwidth per connection 
+      => need to check that bandwidth is assigned properly to begin with
+    + Even with bandwidth-reservation code restricted, message is not
+      delivered to other core/peer/fs.  Why?
+    + Same query is sent to the same peer in rather rapid succession (10x/minute?),
+      should tune code to reduce repetition...
 * new webpage
-  - prevent?
-  - migrate Mantis!?
-  - Doxygen generation
   - run peer => have a 0.9.x hostlist
-  - improve basic documentation (configure, dependencies, what works, etc.)
-  - write minimal welcome/introduction to 0.9.x-development/webpage/status
 => Deploy(able) development network
 
 
 0.9.0pre0:
+* UTIL:
+  - load: need way to determine network load (up/down)
+  - trust: need *fast* way to check/update trust in peers
+           (async peerinfo would not be right)
+* TRANSPORT:
+  - disconnect notifications from TCP not always as nice as we might want
+    them to be (but how can we do this cleanly given that UDP is connectionless?)
+  - TCP not used bi-directionally (especially important also for PONG!)
+  - hostlist testcase shows that (randomly) we jump to an address that
+    seems to be a plugin function *after* the plugin has been unloaded
+    (directly from scheduler); check that *all* plugin tasks are cancelled
+    after plugin is unloaded! (need better testcases for that...)
+* STATISTICS:
+  - synchronous/asynchronous API (& implementation) is not nice;
+    => provide notification-based API
+  - does not seem to work with timeouts (especially if service is not running)
+* ARM:
+  - need to get rid of synchronous API for service starts (cause all kinds of problems)
+    [=> eliminate for need to tell ARM about service starts most of the time!] [Safey]
+* HELLO:
+  - need function to test "equivalency" of HELLOs; use in topology!
+* TOPOLOGY:
+  - needs more testing (especially F2F topology)
+* CORE:
+  - needs more testing
 * Module features to implement:
   - advanced FS API parts
-    + namespaces
-      ~ fundamental namespace API
-    + search: SBlocks, KSBlocks, probes
+    + namespaces: fundamental namespace API
+    + search: SBlocks, KSBlocks, probes, notify FS-service of known results
     + collection
     + location URIs (publish, search, download)
     + persistence support (publish, unindex, search, download)
@@ -78,8 +67,13 @@ Urgent items (before announcing ng.gnunet.org):
     + gnunet-publish (URI args)
     + gnunet-download (directory)
     + gnunet-search (options, incl. namespace search)
-    - gnunet-download (many options)
+    + gnunet-download (many options)
+    + gnunet-directory (man page, options)
+    + gnunet-pseudonym (all of it)
+    + gnunet-service-fs (remove failing on-demand blocks, stats, hot-path routing, load-based routing, nitpicks)
+    + datastore: do active migration support here?   
   - implement adv. FS testcases 
+    + getopt API
     + insert: sblocks, loc uris
     + download: loc uris
     + search: sblocks, skblocks, loc uris
@@ -98,8 +92,14 @@ Urgent items (before announcing ng.gnunet.org):
     + default generation
     + need to settle basic design; do we want to keep guile?
   - testing (RC-pre0)
+    + modify configuration to allow controlling connections for non-local starts
+    + testbed creation with topology (needs working F2F topology) [Nate]
+    + testbed with churn [Nate]
     + implement library for distributed testing [Nate]
     + implement testcases for distributed testing [Nate]
+    + test basic peer re-configure [Nate]
+    + test topology creation [Nate]
+    + test churn generation [Nate]
 
 0.9.0pre1:
 * Module features to implement:
@@ -150,7 +150,7 @@ Urgent items (before announcing ng.gnunet.org):
   - create good Drupal theme for GNUnet
   - make a NICE download page and figure out how to 
     enable developers to publish TGZs nicely
-  - port "contact" page; add impressum
+  - port "contact" page
   - add content type for "todo" items?
   - DNS activation
 * Plugins to implement:
@@ -170,3 +170,13 @@ Urgent items (before announcing ng.gnunet.org):
   - HTTPS transport backend
     + improved HTTPS support in MHD
     + actual plugin
+* Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
+* Allow checking of presence of search results and/or content via command-line tools
+  (add options to gnunet-search / gnunet-download to limit search to local peer)
+* STATISTICS:
+  - should use BIO instead of mmap
+* PEERINFO:
+  - expire 'ancient' HELLOs (those without valid addresses AND that 
+    we have not 'used' (for their public keys) in a while; need a way
+    to track actual 'use')
+  - make sue we also trigger notifications whenever HELLOs expire