πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90361

Re: Using innfeed to send a batch instead of innxmit?

#90361
From: Jesse Rehmer
Date: Tue, 16 May 2023 18:13
39 lines
3016 bytes
On May 14, 2023 at 2:44:42 PM CDT, "Julien Γ‰LIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Jesse,

Hey Julien!

> 
> Couldn't you run several innxmit instances in parallel?
> If you're worrying about a chronological feed, you may split the file
> containing your tokens to feed into several interleaved parts.  For
> instance with 4 innxmit instances, one file with tokens 1, 5, 9, etc.
> another file with tokens 2, 6, 10, etc.
> We may assume they will be fed at a similar pace.

I am thinking of how to do this sanely, but two problems, the primary being
I'm not sure how to generate the interleaved parts, shards, etc.

The second is that innxmit dies sometimes at random, others for various
reasons (server being fed closes the connection, etc.) and is difficult to
monitor multiple instances and ensure they stay running to keep the chronology
relatively sane.

> Last time we spoke about that, running "sm -H '@token@'" to retrieve the
> Message-ID was not fast enough (especially if you have to run it on
> millions of articles).  I don't know how it could be done otherwise in
> command-line.
> Otherwise, innfeed should be modified to lookup the Message-ID, when not
> given, in a similar way as innxmit does.
> 
> As innfeed is called in a newsfeeds feed, and innd has the Message-ID at
> that time, it saves the lookup to give it along with the storage token.
> innfeed needs it because of the NNTP protocol (IHAVE <mid>).  That's
> certainly why innfeed expects that format.

Sorry if we've discussed this and I forgot. Since I got COVID in 2021 my
memory is like swiss cheese - full of holes. Everything prior to that seems
relatively intact and easy to retrieve, but everything the past couple years
is a mess. :)
Technical Details
Message-ID: <u40h47$glo$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com> <u3rdna$ji7a$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <u40h47$glo$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: Using innfeed to send a batch instead of innxmit?
Date: Tue, 16 May 2023 18:13:27 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com> <u3rdna$ji7a$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 May 2023 18:13:27 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="17080"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:hGuqbBFDNjVM1yNJ2CyIiPLoqy8= sha256:wKC0Q4CWXLJ87UFj3sRslkekTaWJw79G7WwvvX8XU24= sha1:2WlKPiOzACLno4uvEXqVywrSzFA= sha256:n/q2Xhhe4V3GGiE6q43N+C2P1hHe/ehP8F5wH2kjvT8=
X-Usenapp: v1.26.6/d - Full License
Lines: 38