Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #62608

Re: Are We Back to the "Wars" Now ?

Subject Re: Are We Back to the "Wars" Now ?
Newsgroups comp.os.linux.misc
References (4 earlier) <vjjljh$3unfq$1@dont-email.me> <vjk9nm$2chi$1@dont-email.me> <vjkae9$1uri$11@dont-email.me> <68b83l-jtd.ln1@ID-313840.user.individual.net> <vjt866$20222$3@dont-email.me>
From "186282@ud0s4.net" <186283@ud0s4.net>
Organization wokiesux
Date 2024-12-17 23:25 -0500
Message-ID <KSGdnbSzt70r0__6nZ2dnZfqn_SdnZ2d@earthlink.com> (permalink)

Show all headers | View raw


On 12/17/24 8:23 PM, Lawrence D'Oliveiro wrote:
> On Tue, 17 Dec 2024 13:34:30 +0000, Geoff Clare wrote:
> 
>> With a pipe or FIFO, you just use simple read and write operations and
>> the system handles all the messy stuff for you. If the pipe reaches
>> capacity, write blocks until there is room to write some more; if the
>> pipe becomes empty, read blocks until there is more data available; when
>> read returns EOF that's the end of the data.
> 
> Yup. Furthermore:
> 
> * When the last writer closes its end, any remaining read attempts get
> EOF.
> * When the last reader closes its end, any remaining write attempts get
> “broken pipe”.

   But you're still limited to the amount of RAM the
   system can access.

   These days that's probably a LOT - but might NOT be,
   esp for 'embedded' type boards like the older PIs,
   BBBs and such. Never assume the user has essentially
   infinite RAM.

   For such platforms you may need to sacrifice speed
   and some convenience and instead put such data on a
   mass-storage device. Not THAT hard to do - but
   remember to use locks.

   Know your target audience - yet TRY to accommodate all.

   I'll still rec making interprocess comms relatively
   terse and handle 'big data' in some other manner
   (as extensively covered in this thread). An 8k raw
   frame grab is about 146mb - and let's not even speak
   of 8k video segments.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Are We Back to the "Wars" Now ? rlhamil@smart.net (Richard L. Hamilton) - 2024-12-14 08:06 +0000
  Re: Are We Back to the "Wars" Now ? Pancho <Pancho.Jones@proton.me> - 2024-12-14 10:10 +0000
    Re: Are We Back to the "Wars" Now ? root <NoEMail@home.org> - 2024-12-14 15:54 +0000
      Re: Are We Back to the "Wars" Now ? The Natural Philosopher <tnp@invalid.invalid> - 2024-12-14 16:06 +0000
        Re: Are We Back to the "Wars" Now ? Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2024-12-17 13:34 +0000
          Re: Are We Back to the "Wars" Now ? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-12-18 01:23 +0000
            Re: Are We Back to the "Wars" Now ? "186282@ud0s4.net" <186283@ud0s4.net> - 2024-12-17 23:25 -0500
              Re: Are We Back to the "Wars" Now ? Rich <rich@example.invalid> - 2024-12-18 05:01 +0000
                Re: Are We Back to the "Wars" Now ? Robert Riches <spamtrap42@jacob21819.net> - 2024-12-18 05:12 +0000
                Re: Are We Back to the "Wars" Now ? Rich <rich@example.invalid> - 2024-12-18 14:03 +0000
                Re: Are We Back to the "Wars" Now ? Robert Riches <spamtrap42@jacob21819.net> - 2024-12-19 04:27 +0000
                Re: Are We Back to the "Wars" Now ? Rich <rich@example.invalid> - 2024-12-19 14:07 +0000
                Re: Are We Back to the "Wars" Now ? D <nospam@example.net> - 2024-12-19 16:02 +0100
                Re: Are We Back to the "Wars" Now ? Richard Kettlewell <invalid@invalid.invalid> - 2024-12-18 08:27 +0000
                Re: Are We Back to the "Wars" Now ? Rich <rich@example.invalid> - 2024-12-18 14:02 +0000
                Re: Are We Back to the "Wars" Now ? John Ames <commodorejohn@gmail.com> - 2024-12-18 08:11 -0800
                Re: Are We Back to the "Wars" Now ? Rich <rich@example.invalid> - 2024-12-18 16:51 +0000
                Re: Are We Back to the "Wars" Now ? Richard Kettlewell <invalid@invalid.invalid> - 2024-12-18 18:32 +0000

csiph-web