Deutsch   English   Français   Italiano  
<vhmm4c$hnbj$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Phillip Frabott <nntp@fulltermprivacy.com>
Newsgroups: comp.os.linux.misc
Subject: Re: Are We Back to the "Wars" Now ?
Date: Thu, 21 Nov 2024 02:05:46 -0500
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <vhmm4c$hnbj$1@dont-email.me>
References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com>
 <vhf5ts$16rpr$1@dont-email.me> <vhfjtj$19ijm$1@dont-email.me>
 <vhja6j$23f5e$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Nov 2024 08:05:48 +0100 (CET)
Injection-Info: dont-email.me; posting-host="36de8de08b400eeb6bfcac2218c69b37";
	logging-data="580979"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/Cb7Jw2wuz+nLE5h/s7Vew8rTnMLNOq+0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:UhzDZH/36ylD/TlGarx3if1NY4Y=
Content-Language: en-US
In-Reply-To: <vhja6j$23f5e$4@dont-email.me>
Bytes: 2639

On 11/19/2024 19:23, Lawrence D'Oliveiro wrote:
> On Mon, 18 Nov 2024 09:45:07 -0500, Phillip Frabott wrote:
> 
>> I think the point that is being made by calling pipes a "temp files" is
>> that they are not persistent.
> 
> Named pipes can indeed be persistent.

Sure, but then your just creating a file with all the limitations that 
come from that. IPC only benefits you when you use unnamed or 
traditional pipes (performance and resources). Also, the pipe still 
requires something on the other side of the transaction which might not 
exist at some later point. Whereas a file on hard storage will almost 
always be able to be transacted (assuming permissions of course) 
regardless of what processes are (or are not) available. Also pipes also 
require realtime processing, whereas storing things in a file can 
provide for delayed/deferred processing at a later time.

Now, sure piping a command may be less typing, but there is no real 
tangible benefit from the technical side from using a pipe vs typing the 
command out over multiple lines of commands, the transaction remains the 
same in both cases. But having non-persistent pipes gives you speed and 
performance perks (and in most cases uses less RAM). So if your going to 
do named pipes just know you aren't getting the real benefits of the IPC 
if it's just going to write a file anyways.

-- 
Phillip Frabott
----------
- Adam: Is a void really a void if it returns?
- Jack: No, it's just nullspace at that point.
----------