difference between message queue and shared memory?
问题 I read a lot of articles about differences between message queue and shared memory. But still not clear which one is good for achieving good performance. Like shared memory are suppose to be good over queues but that also has performance issue in case of synchronizing it. 回答1: Both shared memory and message queues can be used to exchange information between processes. The difference is in how they are used. Shared memory is exactly what you'd think: it's an area of storage that can be read