Effeciency of IPC, suggestions please!
Posted on 1999-12-30
Scenario: Several different processes written in either C or Perl, all needing to communicate with each other (on the same machine).
I need a central data store, which all processes can read/write to, which I was going to implement as a server/client system, using Unix Domain sockets. But one process will need to be reading/writing to this store up to 20,000+ times a second. Is this wise?
What on earth is the best way to go about doing this? Can I use shmem between both Perl and C (I have _no_ experience of shmem, I only have a vague idea what it does)?
Any suggestions or thoughts on effeciency, suitability, and thoughts on whether this project is doable or not are warmly appreciated.
Many thanks in advance.