From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 10D1C633837 for ; Sat, 19 Sep 2015 02:03:46 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/12] nntp: misc updates Date: Sat, 19 Sep 2015 02:03:28 +0000 Message-Id: <20150919020340.6484-1-e@80x24.org> List-Id: Still not changing or adding new caches or modifying our data layout, but things seem to work well for the common case. The most important change is the new long response API which will help us even after any future optimizations we make. We should be able to stream millions of messages without excessive buffering and memory usage. Eric Wong (12): nntp: use write_buf_size instead write_buf nntp: introduce long response API for streaming nntp: use long response API for LISTGROUP nntp: implement command argument checking nntp: XOVER does not require range nntp: speed up XHDR for the Message-ID case nntp: implement XROVER, speed up XHDR for some cases nntp: implement XPATH nntp: fix logging of long responses nntp: fix ARTICLE/HEAD/BODY/STAT nntp: log to FDs given by the Nntpd module nntp: article lookups by Message-ID may cross newsgroups lib/PublicInbox/Msgmap.pm | 24 +-- lib/PublicInbox/NNTP.pm | 419 ++++++++++++++++++++++++++++++++----------- lib/PublicInbox/SearchMsg.pm | 1 + public-inbox-nntpd | 2 + 4 files changed, 330 insertions(+), 116 deletions(-)