🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #93079

TAKETHIS backpressure and temporary receiver overload

#93079
From: Chris Knipe
Date: Sun, 27 Sep 2026 10:44
63 lines
3238 bytes
Hi All,

I'm currently working on a TAKETHIS/data-plane implementation in VectorNNTP (a
modern C# / .NET NNTPD implementation with exceptional performance thus far)
and have been looking more closely at the behaviour required when a receiver
temporarily cannot keep accepting articles.

One question has come up which I haven't found a completely satisfactory
answer to in RFC 4644 or in the implementations I've inspected.

RFC 4644 gives us:

239 - article successfully transferred
439 - article rejected
400 - temporary error, followed by connection closure

The 400 + close behaviour seems rather harsh, but it appears to provide an
important escape hatch for a receiver which encounters a temporary processing
condition and cannot continue accepting the stream.

What I'm particularly interested in is backpressure caused by the receiver's
internal queues.

For example, suppose a TAKETHIS receiver has accepted an article, but its
internal ingestion queue has reached its configured memory limits. With
IHAVE, we can use 436 to tell the sender to try again later. TAKETHIS doesn't
appear to provide an equivalent per-article temporary response.

So the questions I'm trying to answer are:

- Is 400 + connection close intended to be the mechanism for this kind of
temporary receiver-side overload/backpressure in TAKETHIS?

- If so, what should happen to TAKETHIS articles which have already been
received but have not yet received a 239?

- Does the sender treat the articles which have no 239 as retryable after
the connection is closed?

- Is there an established interpretation in INN, Diablo, or other major
implementations for this situation?

- Is there any recommended threshold/timeout/window behaviour before a
receiver resorts to 400 and closing the connection?

I also noticed that INN's innfeed implementation appears to treat the response
timeout at the connection level, rather than having a simple per-article "wait
N seconds for 239" timer. It maintains outstanding TAKETHIS responses and
tears down the connection when the peer becomes non-responsive.

That made me wonder whether the intended model is really more about an
outstanding streaming window and connection-level flow control than an
individual TAKETHIS/239 timeout.

I'm deliberately trying to avoid inventing behaviour here, particularly
because sending 239 for an article that we have actually dropped would
obviously be incorrect, while 439 would imply a permanent rejection.

Any guidance on the intended semantics, or pointers to relevant
implementation/documentation, would be greatly appreciated.

Regards,
Chris
Technical Details
Message-ID: <takethis-backpressure-20260927@usenet.ninja>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.usenet.ninja!not-for-mail

Show Full Headers
Complete Article Headers
From: Chris Knipe <cknipe@opticnetworks.net>
Newsgroups: news.software.nntp
Subject: TAKETHIS backpressure and temporary receiver overload
Date: Sun, 27 Sep 2026 12:44:00 +0200
Message-ID: <takethis-backpressure-20260927@usenet.ninja>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.usenet.ninja!not-for-mail
User-Agent: VectorNNTP/1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0