IPC speed and compare

Posted by Lily on Stack Overflow See other posts from Stack Overflow or by Lily
Published on 2010-05-18T01:09:44Z Indexed on 2010/06/01 1:13 UTC
Read the original article Hit count: 346

Filed under:
|
|
|
|

I am trying to implement a real-time application which involves IPC across different modules. The modules are doing some data intensive processing. I am using message queue as the backbone(Activemq) for IPC in the prototype, which is easy(considering I am a totally IPC newbie), but it's very very slow.

Here is my situation:

  • I have isolated the IPC part so that I could change it other ways in future.
  • I have 3 weeks to implement another faster version. ;-(
  • IPC should be fast, but also comparatively easy to pick up

I have been looking into different IPC approaches: socket, pipe, shared memory. However, I have no experience in IPC, and there is definitely no way I could fail this demo in 3 weeks... Which IPC will be the safe way to start with?

Thanks. Lily

© Stack Overflow or respective owner

Related posts about socket

Related posts about ipc