Sujet : Re: The joy of pipes
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.miscDate : 18. Nov 2024, 10:36:16
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vhf1qg$165g7$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Pan/0.160 (Toresk; )
On Mon, 18 Nov 2024 09:20:23 +0000, Pancho wrote:
I've no idea why using IPC to send megabytes of data between different
processes is wrong.
It is something I have done. It’s perfectly commonplace.
Although to be fair we very rarely used pipes, directly, almost never.
I have used pipes, I have used Unix sockets, I have used network sockets.
If you are running a Linux GUI, then almost certainly it is built on D-Bus
as a high-level IPC mechanism that is used as a core component. That is
designed to run over Unix sockets. It is not itself designed for high-
bandwidth data transfers; if you want to do that, you can exchange your
own D-Bus messages to set up custom pipe or Unix socket connections
between bus peers.
It was always something like REST or message queues.
Message queues are an OS-provided primitive, but REST is not -- that is a
protocol, not a transport. What transport(s) did you use for that? I would
assume network connections.