Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

Re: The joy of pipes

Subject Re: The joy of pipes
Newsgroups comp.os.linux.misc
References (11 earlier) <wwvwmh2z1y3.fsf@LkoBDZeT.terraraq.uk> <Uv-dnfY4yvgPJKf6nZ2dnZfqnPSdnZ2d@earthlink.com> <vhelgl$142m9$2@dont-email.me> <UricnZ0glICSeaf6nZ2dnZfqn_adnZ2d@earthlink.com> <vhf0sn$15fdk$1@dont-email.me>
From "186282@ud0s4.net" <186283@ud0s4.net>
Organization wokiesux
Date 2024-11-18 22:32 -0500
Message-ID <c1OdnZuXAslcm6H6nZ2dnZfqnPqdnZ2d@earthlink.com> (permalink)

Show all headers | View raw


On 11/18/24 4:20 AM, Pancho wrote:
> On 11/18/24 06:51, 186282@ud0s4.net wrote:
>> On 11/18/24 1:06 AM, Lawrence D'Oliveiro wrote:
>>> On Sun, 17 Nov 2024 22:50:41 -0500, 186282@ud0s4.net wrote:
>>>
>>>> As I said somewhere, if your child processes are sending megabytes
>>>> back to the parent you're DOING SOMETHING WRONG.
>>>
>>> Says the one who has no clue how to write real-world programs.
>>
>>    Am I supposed to say something horrible about
>>    you now ?
>>
>>    Nope. Won't. I'm sick of 'The Wars'.
>>
>>    Clue - I've writ 'real world programs' and
>>    got paid well for them from the punch-card
>>    days on. I did it my way, for my reasons,
>>    my 'vision'.
>>
>>    And so did you.
> 
> I mainly did as I was told. In large political organisations following 
> your own vision can be problematic. You have to fight for a vision.


   I very intentionally stayed away from such orgs. A little
   less money, but the happiness factor more than compensated.
   Got to pursue many esoteric projects - some of which WERE
   useful - and the org paid for most of it (except the odd
   Radio Shack parts).


> I've no idea why using IPC to send megabytes of data between different 
> processes is wrong. That is what many service-orientated architectures 
> do. The moment you have a persistence service it is likely to happen.

   Really you DON'T want to send megabytes as IPC ... but
   somebody somewhere MAY wanna. So, what's the best way
   for them to do that ? Don't necessarily piss on 'em but
   help 'em out instead.

> Although to be fair we very rarely used pipes, directly, almost never. 
> It was always something like REST or message queues.

   Again though, just "blocks of information". MANY ways
   to do that. Each developer has to figure out what's
   best for THEIR particular app.

   I mentioned a server style app I made, but I wanted the
   child processes/threads (tried both ways) to return
   some active stat data to the parent. Not a huge amount
   of info, but useful. Pipes were the best way. The
   parent was allowed to xmit a 'kill' to a child in
   trouble, via the pipe, so it could shut down in an
   orderly fashion.

   Pre-threaded servers seem to have the highest capacity
   and throughput. The parent allocates maybe ten threads
   to start off with and then can add new blocks of ten
   as-needed. It's a little harder to manage than some
   other kinds of servers, and sometimes a bit harder
   to visualize how it's working, but they're good things.
   Once you've got it you're SET.

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


Thread

The joy of octal Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-11-09 09:36 -0500
  Re: The joy of octal John Ames <commodorejohn@gmail.com> - 2024-11-11 09:03 -0800
    Re: The joy of octal Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-11-11 15:58 -0500
      Re: The joy of octal Louis Krupp <lkrupp@invalid.pssw.com.invalid> - 2024-11-12 02:30 -0700
        Re: The joy of octal Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-11-12 07:29 -0500
          Re: The joy of EBCDIC John Ames <commodorejohn@gmail.com> - 2024-11-12 11:14 -0800
            Re: The joy of EBCDIC Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2024-11-12 19:51 +0000
              Re: The joy of EBCDIC Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-11-12 16:12 -0500
                Re: The joy of EBCDIC candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-11-12 22:20 +0000
                Re: The joy of EBCDIC Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-11-13 06:59 -0500
            Re: The joy of EBCDIC Fritz Wuehler <fritz@spamexpire-202411.rodent.frell.theremailer.net> - 2024-11-14 21:13 +0100
              Re: The joy of EBCDIC Clemens Schüller <cs.usenet@mailbox.org> - 2024-11-14 21:20 +0100
                Re: The joy of EBCDIC Eli the Bearded <*@eli.users.panix.com> - 2024-11-14 23:55 +0000
                Re: The joy of pipes John Ames <commodorejohn@gmail.com> - 2024-11-14 16:09 -0800
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-15 02:05 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-15 02:49 -0500
                Re: The joy of pipes John Ames <commodorejohn@gmail.com> - 2024-11-15 07:55 -0800
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-16 00:16 +0000
                Re: The joy of pipes Robert Riches <spamtrap42@jacob21819.net> - 2024-11-16 04:33 +0000
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-16 06:46 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-16 00:37 -0500
                Re: The joy of pipes rbowman <bowman@montana.com> - 2024-11-16 06:16 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-16 03:03 -0500
                Re: The joy of pipes Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2024-11-16 18:14 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-16 23:38 -0500
                Re: The joy of pipes Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2024-11-16 18:14 +0000
                Re: The joy of pipes Richard Kettlewell <invalid@invalid.invalid> - 2024-11-16 10:31 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-16 23:59 -0500
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-17 05:30 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-17 01:05 -0500
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-17 07:59 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-17 03:27 -0500
                Re: The joy of pipes Richard Kettlewell <invalid@invalid.invalid> - 2024-11-17 08:42 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-17 22:50 -0500
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-18 06:06 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-18 01:51 -0500
                Re: The joy of pipes Pancho <Pancho.Jones@proton.me> - 2024-11-18 09:20 +0000
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-18 09:36 +0000
                Re: The joy of pipes Pancho <Pancho.Jones@proton.me> - 2024-11-18 11:05 +0000
                Re: The joy of pipes The Natural Philosopher <tnp@invalid.invalid> - 2024-11-18 13:45 +0000
                Re: The joy of pipes Pancho <Pancho.Jones@proton.me> - 2024-11-18 17:04 +0000
                Re: The joy of pipes The Natural Philosopher <tnp@invalid.invalid> - 2024-11-18 17:47 +0000
                Re: The joy of pipes rbowman <bowman@montana.com> - 2024-11-18 17:59 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-18 22:50 -0500
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-19 04:53 +0000
                Re: The joy of pipes The Natural Philosopher <tnp@invalid.invalid> - 2024-11-19 09:19 +0000
                Re: The joy of pipes Richard Kettlewell <invalid@invalid.invalid> - 2024-11-19 09:56 +0000
                Re: The joy of pipes rbowman <bowman@montana.com> - 2024-11-18 17:54 +0000
                Re: The joy of pipes Pancho <Pancho.Jones@proton.me> - 2024-11-19 09:57 +0000
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-19 21:55 +0000
                Re: The joy of pipes "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-18 22:32 -0500
                Re: The joy of pipes Robert Riches <spamtrap42@jacob21819.net> - 2024-11-19 04:50 +0000
                Re: The joy of pipes Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-19 04:58 +0000
                Re: The joy of pipes Eli the Bearded <*@eli.users.panix.com> - 2024-11-15 06:41 +0000
                Re: The joy of EBCDIC Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2024-11-15 20:23 +0000
        Re: The joy of octal Eli the Bearded <*@eli.users.panix.com> - 2024-11-12 20:09 +0000
    Re: The joy of octal Fritz Wuehler <fritz@spamexpire-202411.rodent.frell.theremailer.net> - 2024-11-12 23:45 +0100
      Re: The joy of octal "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-15 02:58 -0500
        Re: The joy of octal rbowman <bowman@montana.com> - 2024-11-15 18:28 +0000
          Re: The joy of octal Harold Stevens <wookie@aspen.localdomain> - 2024-11-15 14:30 -0600
            Re: The joy of octal "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-16 00:01 -0500
              Re: The joy of octal rbowman <bowman@montana.com> - 2024-11-16 05:50 +0000
              Re: The joy of octal Andreas Eder <a_eder_muc@web.de> - 2024-11-16 15:14 +0100
                Re: The joy of octal The Natural Philosopher <tnp@invalid.invalid> - 2024-11-16 14:38 +0000
                Re: The joy of octal "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-17 00:57 -0500
          Re: The joy of octal "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-15 23:31 -0500
            Re: The joy of octal rbowman <bowman@montana.com> - 2024-11-16 05:24 +0000
              Re: The joy of octal "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-16 03:20 -0500
                Re: The joy of octal Don_from_AZ <djatechNOSPAM@comcast.net.invalid> - 2024-11-16 09:16 -0700
                Re: The joy of octal "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-17 00:17 -0500
                Re: The joy of octal rbowman <bowman@montana.com> - 2024-11-16 18:14 +0000
                Re: The joy of octal "186282@ud0s4.net" <186283@ud0s4.net> - 2024-11-17 00:40 -0500

csiph-web