From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26246 invoked from network); 22 Aug 2020 10:46:14 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 22 Aug 2020 10:46:14 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1k9R1X-0093Y1-04; Sat, 22 Aug 2020 05:45:23 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1k9R1R-0093W4-36 for ding@lists.math.uh.edu; Sat, 22 Aug 2020 05:45:17 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1k9R1P-00Fknu-DL for ding@lists.math.uh.edu; Sat, 22 Aug 2020 05:45:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=u5sY2FFt9vRXd98Rrw2H2woiDASOsjDinq+zb8YWyl8=; b=UADON9jpau/Ea9rzoT6Jcc0Xcp xptSghGt1BDfVPJYzNsxlqRnA/UmdKIsSH250BdQbE887bxyG7w93VrEkZRcW2U6oHlLbzT5fpVvR ufQELVvS7kW+znPmXmADWLQr7IHdezmi2XIcjxxTANJ1q3Gh2WI6LG+iJxSlUTN4TcBo=; Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by quimby with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k9R1I-0006Gr-6H for ding@gnus.org; Sat, 22 Aug 2020 12:45:10 +0200 Received: by mail-qt1-x834.google.com with SMTP id d27so3018589qtg.4 for ; Sat, 22 Aug 2020 03:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=u5sY2FFt9vRXd98Rrw2H2woiDASOsjDinq+zb8YWyl8=; b=RUlP9Ph/PdnCBfP1w6GSAQqkrprNmC/2q/TfrSfLj/zYCfFKnNVEuMaPV8Sj4pCUeQ 1CX0mfCc/rf70NylfMW6gYFKNo+nPDeDDpWr0F8jurprw9U+ilH3vU1CfmLULSWF/fLR G/mBGFQDoCHQcOeUZh9AFidNdh3d7S7S37Yf7rQBIyZmYes0YpAsiGwLmnuXXQNGknyJ QX7OP+n6x4Mgsh2zLFv8Ey1vN35x9vaxnW0JncZGPIsdWj8hP+cIQl9bc3q6xm+Rh5uS 1KSKURTp2yX88iayqct3xPcmJCQL7Uq0kp2rIIz3XYJP0Cu/dX9tRFnOrcA4pxTyUssa nJ/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=u5sY2FFt9vRXd98Rrw2H2woiDASOsjDinq+zb8YWyl8=; b=OMc7etlUQDyyinB2NBdJNdslYWMNMGYbYhgnFo/ZfXK5nStdMob5TM+6Zmono03ZAD do4VqVEPX4htVEKtMxIke786mXP6uZCVr37hj8pLaLqHd7MPtCbBNHO3D8B2BCX15+is q5Shza2+K+O7kVT0y1Khda8LB1djuWIPFHB7NUZJKbBESOw18t9NuhyNB9JDMWKF2+gy /99uOQHXS6CIOuCgYNTA+AF8MC3ti2yYj223TR0/UUWxeBBJF2wfEtZkakpZbhqqP7Ru vJ1rbV+f7Y7+0OsAFh1sCoJUC7KdaNSa0EtWMBer2LYcCb9qp/0Ic9sd/LqCytCIopHZ uURg== X-Gm-Message-State: AOAM530J+u6cUMCQfvvmYEwVSmCyUjsAbA0YRS1kHwh9Q1KF5fzslZE3 j+sOZoTLxBEh6Tqv9URgV2c= X-Google-Smtp-Source: ABdhPJybK2pz/eEdiTP2T3LGal0g7DDrqOSs5wL288coPTNJDsdAv4CwvUmUVNDte66pd+RQfIQwRQ== X-Received: by 2002:ac8:53c7:: with SMTP id c7mr6522547qtq.2.1598093106976; Sat, 22 Aug 2020 03:45:06 -0700 (PDT) Received: from localhost (pool-108-30-234-29.nycmny.fios.verizon.net. [108.30.234.29]) by smtp.gmail.com with ESMTPSA id u39sm5406758qtc.54.2020.08.22.03.45.06 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 22 Aug 2020 03:45:06 -0700 (PDT) From: dick.r.chiang@gmail.com To: Wayne Harris Cc: ding@gnus.org Subject: Re: is there a possibility for gnus to download data without blocking? References: <86y2m8hccw.fsf@protonmail.com> <87imdcvchr.fsf@ericabrahamsen.net> <868se8gjzj.fsf@protonmail.com> <875z9bvs13.fsf@ericabrahamsen.net> <86eenzeo8f.fsf@protonmail.com> <86o8n3bejo.fsf@protonmail.com> Date: Sat, 22 Aug 2020 06:45:05 -0400 In-Reply-To: <86o8n3bejo.fsf@protonmail.com> (Wayne Harris's message of "Fri, 21 Aug 2020 23:27:39 -0300") Message-ID: <87sgcf558u.fsf@dick> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk I am gratified someone studied my changes. WH> CODA ... and it's not clear what it is or what it does. CODA merely updates the message counts in *Group* after retrieval threads complete. WH> But I think the real thing you wanted to know was how he would handle, for WH> the situation the intermixing of different servers returning data ... As the 90s pop song goes, one has to "keep'em separated." This means making "total war" on the monolithicity of the summary, article, and nntp buffers which Gnus has since inception assumed global singletons. WH> Same strategy as dickmao's, but using processes, not threads. WH> If so, it would be way better if [Gnus] just wouldn't block. Maybe we WH> don't need dickmao's threads after all. As EA previously stated, shunting all retrieval logic to a separate process B still poses the serious problem of integrating B's results in the main process A. Moreover, multiple processes begs the ornery question of interprocess communication, consumes more system resources, and admits the likelihood of orphaned processes.