🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10698

Re: Question regarding channel feeds

#10698
From: Per Hedeland
Date: Fri, 06 Sep 1996 00:00
34 lines
2191 bytes
In article <Pine.SGI.3.95.960904092318.1910K-100000@cimrman.radio.cz>
=?ISO-8859-2?Q?krem=BEsk=E1_HO=D8=C8ICE?= <core@Radio.CZ> writes:
>    So, if I may ask, are these messages truly harmless, and no loss of
>data is resulting?  And anything that isn't working will be written to the
>out.going spool file?

More or less... However I get the impression that you believe that
flushing the feed will get innd to read the file back in and send it to
the channel program - this is not the case, what's been written to the
file stays there until you do something intelligent with it outside of
innd. Also:

- as innd writes to the channel pipe until it's full (can't do anything
  else of course), when it decides to spool to the file you will just
  about always get a partial line in the pipe with the remainder in the
  file - chances are that neither part can be processed correctly,
  i.e. in effect data will be lost

- if the channel program, for whatever reason, exits without having seen
  EOF on the pipe, the data in the pipe is (of course) lost.

Channel feeds seems like a nice concept, but having them work *really*
reliably is apparently very difficult - at the very least the channel
program must drain the pipe immediately when there is input available,
and never crash of course - and then you still have the (hopefully
rare:-) problem of what happens at a system crash. Of course when there
is redundancy (e.g. overview or multiple feeds) some amount of
unreliability can be acceptable...

--Per Hedeland
per@erix.ericsson.se

Technical Details
Message-ID: <50q9j4$4bc@news.du.etx.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <Pine.SGI.3.95.960904092318.1910K-100000@cimrman.radio.cz>

Show Full Headers
Complete Article Headers
Message-ID: <50q9j4$4bc@news.du.etx.ericsson.se>
Subject: Re: Question regarding channel feeds
Date: Fri, 06 Sep 1996 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <Pine.SGI.3.95.960904092318.1910K-100000@cimrman.radio.cz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 178982356
Organization: Ericsson Telecom, Stockholm, Sweden
Nntp-posting-user: per
Newsgroups: news.software.nntp