🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90354

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

#90354
From: Julien ÉLIE
Date: Sun, 14 May 2023 19:44
36 lines
2761 bytes
Hi Jesse,
>> I was
>> hoping to leverage innfeed's multiple connections to get through this process
>> faster. Streaming 290,000,000 articles via a single connection is s-l-o-w.

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.


> So I see that innfeed wants:
> 
>     @token@ <message-id>
> 
> How would I go about creating a batch in the format innfeed needs from my
> history file?

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.

-- 
Julien ÉLIE

« Il ne faut jamais parler sèchement à un Numide. » (Astérix)
Technical Details
Message-ID: <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
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <u3rdna$ji7a$1@news.trigofacile.com>
Subject: Re: Using innfeed to send a batch instead of innxmit?
Date: Sun, 14 May 2023 21:44:42 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com> <u3ncgc$2o3p$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
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 14 May 2023 19:44:42 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="641258"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1
Cancel-Lock: sha1:KqY/4YQ8e+1cJpRwud1SKFlVApc= sha256:O7ENIYmwoPeiZsxgi36pjUyJMz/Xu72ShZBkdax6Hbc= sha1:ycLb7c9GX7Mo9Tn89AUe6PNwkdE= sha256:r3i7r5H2aEYVaGyGmsJWp/EOO4iebrnM2HmHDSJDhyY=
In-Reply-To: <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com>