From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 130731F463 for ; Sat, 21 Sep 2019 00:06:43 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] doc: update HACKING and TODO with a few items Date: Sat, 21 Sep 2019 00:06:42 +0000 Message-Id: <20190921000642.7290-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Inline::C seems alright, so we might use it more since it still allows end users to quickly make changes. Our performance on rotational disks is also terrible, and could be improved... --- HACKING | 3 ++- TODO | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/HACKING b/HACKING index c2f4825c..f7cb92e9 100644 --- a/HACKING +++ b/HACKING @@ -40,7 +40,8 @@ the shiny new. Avoid relying on compiled modules too much. Even if it is Free, compiled code makes packages more expensive to audit, build, distribute and verify. public-inbox itself will only be implemented -in scripting languages (currently Perl 5). +in scripting languages (currently Perl 5) and optional JIT-compiled C +(via Inline::C) Performance should be reasonably good for server administrators, too, and we will sacrifice features to achieve predictable performance. diff --git a/TODO b/TODO index 9f58342f..8f78d87d 100644 --- a/TODO +++ b/TODO @@ -5,7 +5,7 @@ performance, ease-of-setup, installation, maintainability, etc all need to be considered for everything we introduce) * general performance improvements, but without relying on - XS or compiled code any more than we currently do. + XS or pre-built modules any more than we currently do. * mailmap support (same as git) for remapping expired email addresses @@ -101,10 +101,8 @@ all need to be considered for everything we introduce) * imperfect scraper importers for obfuscated list archives (e.g. obfuscated Mailman stuff, Google Groups, etc...) -* support hooks, since low-level git-fast-import does not run them - https://public-inbox.org/meta/20190405174329.GA21472@chatter.qube.local/ - (note: may not be needed since we do grokmirror manifest.js.gz, now) - * consider using HTTP::Date instead of Date::Parse, since we need the former is capable of parsing RFC822-ish dates, used by Plack, and the latter is missing from OpenBSD and maybe other distros. + +* improve performance and avoid head-of-line blocking on slow storage -- EW