X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=TODO;h=6cd4b7240720f27e4932e0fe59f7981aee6859fb;hb=f4c9fdda81d61cc8a8119faf7f624650137b43ee;hp=cb98442d6337957744cd1dba71e3d7909a5121fd;hpb=5e07ad9cf3ec17e0b8d33b7686c81bbb5e79c986;p=oweals%2Fgnunet.git diff --git a/TODO b/TODO index cb98442d6..6cd4b7240 100644 --- a/TODO +++ b/TODO @@ -1,18 +1,17 @@ 0.9.0pre1: -* PEERINFO: [CG] - - trust: need *fast* way to check/update trust in peers - (async peerinfo would not be right; certainly not with the current API) -* TOPOLOGY: [CG] - - needs more testing (especially F2F topology) & transport blacklisting +* DATASTORE [CG] + - move request queuing functionality into the API library +* MIGRATION [CG] + - on-demand encoding => move logic to block-library!? + - peer selection => how to consider latency/bw/etc? + - content transmission => how often the same block? + - how to select delay before next migration? + - migration to us + - testing + - integrate with FS or not? (peer list, index/on-demand encoding, block code, + inbound priority assignment; all would be easier with tight integration!) * FS: [CG] - - support recursive download even if filename is NULL and we hence - do not generate files on disk (use temp_filename) - - bound parallelism (# fs downloads) - - distinguish in performance tracking and event signalling between - downloads that are actually running and those that are merely in the queue - - persistence support (publish, unindex, search, download) - - active migration support (in fs or in datastore or new daemon?) - - gnunet-service-fs (hot-path routing, load-based routing, nitpicks) + - gnunet-service-fs (hot-path routing, load-based routing, nitpicks) - [gnunet-service-fs.c:208]: member 'LocalGetContext::results_bf_size' is never used - [gnunet-service-fs.c:501]: member 'PendingRequest::used_pids_size' is never used - [gnunet-service-fs.c:654]: member 'ConnectedPeer::last_client_replies' is never used @@ -31,10 +30,13 @@ - implement DV library (looks done) - implement DV transport plugin - implement testcases - - implement performance tests + - implement performance tests (needs tbench) +* TOPOLOGY: + - needs more testing (especially F2F topology) & transport blacklisting * UTIL: - only connect() sockets that are ready (select()) [Nils] [On W32, we need to select after calling socket before doing connect etc.] + - add support for UNIX domain sockets [CG] * GNUNET-GTK: - use g_main_context_set_poll_func to integrate GTK with GNUnet Scheduler!? (YUCK!) - OR: add scheduler API to enable integration with GTK main loop instead of doing our own select @@ -57,18 +59,18 @@ * TRANSPORT: - HTTP backend [MW] * ARM: [Safey] - - 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] - - better tracking of which config changes actually need to cause process restarts by ARM. - - listen for requests to discover dependencies between services (and avoid - having to explicitly program start requests) - better crash management (attach debugging support, capture and analyze debug output, detect random vs. deterministic crashes) - - shutdown sequence? + - discover dependencies between services + => need UNIX domain sockets first! + - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?) * FS: [CG] - datastore reservation (publishing) - - search: availability probes - location URIs (publish, search, download) + - unindex on index failure + - utilize in-line files in meta data always (including in search results or + when download is triggered manually and for probes); currently the data is + only used when users do a general 'recursive' download - non-anonymous FS service (needs DHT) + DHT integration for search + CS-DHT-functions (DHT-put of LOC) @@ -80,6 +82,8 @@ + download + search + unindex +* MIGRATION: + - improved content selection (not just 'get_random') 0.9.0pre3: * Determine RC bugs and fix those! @@ -101,6 +105,12 @@ * MYSQL database backends: [CG] - datacache - datastore +* FS: + - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download) + - add support for pushing "already seen" search results to FS service for bloomfilter (can wait) + - use different 'priority' for probe downloads vs. normal downloads +* ARM: + - better tracking of which config changes actually need to cause process restarts by ARM. 0.9.0: * new webpage: @@ -108,8 +118,7 @@ - convert documentation pages to books - update books (especially for developers) - create good Drupal theme for GNUnet - - make a NICE download page and figure out how to - enable developers to publish TGZs nicely + - make a NICE download page and figure out how to enable developers to publish TGZs nicely - port "contact" page - add content type for "todo" items? * POSTGRES database backends: [CG] @@ -143,8 +152,6 @@ (Note: build library always, build service when libxml2/etc. are available) * FS: [CG] - 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) * PEERINFO: [CG] - expire 'ancient' HELLOs (those without valid addresses AND that we have not 'used' (for their public keys) in a while; need a way @@ -161,18 +168,17 @@ Optimizations: - should use BIO instead of mmap * TRANSPORT: - need to periodically probe latency/transport cost changes & possibly switch transport - - instantly filter addresses from *other* peers that - are *equal* to our own address + port (i.e., localhost:2086). We - no longer filter those for outgoing (helps with loopback testing - and keeps the code clean), but we should filter strictly *impossible* - incoming addresses! This is for efficiency, not correctness. - - should use hash map to look up Neighbours -* HOSTLIST: - - 'server' uses 'GNUNET_PEERINFO_iterate', should probably switch to notification API - (for more instant / up-to-date hostlists at lower cost) + - should use hash map to look up Neighbours (service AND plugins!) * DATASTORE (?): - check for duplicates on insertion (currently, same content is frequently stored again [seen with KBLOCKS and SBLOCKS]!) +* PEERINFO: + - merge multiple HELLOs of the same peer in the transmission queue + (theoretically reduces overhead; bounds message queue size) + - merge multiple iteration requests over "all" peers in the queue + (theoretically reduces overhead; bounds messgae queue size) +* FS: + - use different queue prioritization for probe-downloads vs. normal downloads (!?) Minor features: * TCP: @@ -180,8 +186,5 @@ Minor features: - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above) * TRANSPORT: - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?) -* DATACACHE: - - add stats (# bytes available, # bytes used, # PUTs, # GETs, # GETs satisfied) -* FS: - - support inline data in directories for recursive file downloads (fs_download) - +* BLOCKS: + - testcase would be nice...