Something you'll have to experiment with. When it comes to linux, it's usually a "preference" thing - most systems have more than enough memory to tolerate communication through a bsd sockets interface. Nowadays, your biggest concern is really how to do the serialization / de-serialization, which does have some implication on how your software will interface.
Just as an example, at work we have multiple software daemons which interface in different ways. Some use posix mqueues, some use tcp, udp, and raw sockets. Some use shared memory. Most are a mix of a few different ways, depending on the component and it's author.
|