Sujet : Re: The joy of pipes
De : Pancho.Jones (at) *nospam* proton.me (Pancho)
Groupes : comp.os.linux.miscDate : 19. Nov 2024, 10:57:47
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vhhnet$1peus$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Mozilla Thunderbird
On 11/18/24 17:54, rbowman wrote:
On Mon, 18 Nov 2024 11:05:03 +0000, Pancho wrote:
I don't know if Linux provides message queues as a primitive, or not. I
meant I used message queue protocols (MQTT,zeroMQ, ActiveMQ).
https://www.softprayog.in/programming/interprocess-communication-using-
system-v-message-queues-in-linux
https://www.softprayog.in/programming/interprocess-communication-using-
posix-message-queues-in-linux
I've only used System V queues. Neither work like ActiveMQ.
I was never particularly interested in the nitty gritty, when I say I used ActiveMQ, I meant I used a wrapper API that used ActiveMQ, I think JMS. I generally liked to decouple my software development from specific implementations. It made my skills more transferable, less dependent on a specific development stack.
So, for me all queues tended to be just Enqueue/Dequeue, FIFO, data structures. The queue provider was mainly to shield me from the complexity of dealing with monitoring and reliability issues involved in handling a remote service.
I was just curious when this thread started commenting on what pipes were and I realised I had never programmed them, and hence gained a proper understanding. That has a knock on effect that I don't really understand the behaviour of programs which do use pipes. I'm presuming bash commands uses pipes.