IPC - interprocess communication. Which one to choose from? | SoloLearn: Learn to code for FREE!

+18

IPC - interprocess communication. Which one to choose from?

I wonder about the pros and cons and use cases of each of the following interprocess communication techniques: - mmap (anonymous or file) - pipes (anonymous or named) - message queues (posix or system V) - message brokers (eg rabbitMQ) Thanks for your help.

5/15/2021 11:37:19 AM

ChillPill

2 Answers

New Answer

+8

to break the ice, i just discovered one fact for chosing one of either system V or posix message queues. posix message queues are easier to use but not supported on Mac. on my mac i could not install or find librt library or <mqueue.h>

+4

as for chosing in between mmap vs pipes vs message queues vs brokers, i have some ideas but i still feel a bit like im in a nimbus. help?