Re: IPC mechanisms under Linux
- From: Rainer Weikusat <rweikusat@xxxxxxxxxxx>
- Date: Tue, 25 Sep 2007 10:56:56 +0200
Lew Pitcher <lpitcher@xxxxxxxxxxxx> writes:
On Sep 24, 7:28 am, Wellu <kuumaliimam...@xxxxxxxxx> wrote:
Hi all,[snip]
I'm trying to develop a system for Linux platform that consists of
several different parts. Firts of all there would be Engine part that
listens for incoming messages or events.
There can be several modules (e.g hundreds) running at the
same time so everything is asynchronous.
At the same time Engine can[snip]
get new messages from upper levels using some IPC mechanism.
So, all in all
Engine must listen to events from Modules and from upper levels.
Engine and Modules run in the same machine and programming language
would be C.
There are many IPC mechanisms that might satisfy your problem.
[...]
- DBUS
This is not 'an IPC mechanism'. It is a library and a daemon process
used to implement a distributed object model based on some
(unspecified) IPC mechanism. And it is geared towards a specific
purpose:
* Communication between desktop applications in the same desktop
session; to allow integration of the desktop session as a whole,
and address issues of process lifecycle (when do desktop
components start and stop running).
* Communication between the desktop session and the operating
system, where the operating system would typically include the
kernel and any system daemons or processes.
<URL:http://dbus.freedesktop.org/doc/dbus-tutorial.html>
It suffers from the same basic drawback as its older predecessor, RPC:
Why glue the implementations of different entities together to such a
degree instead of just defining protocol and sending message
'something' will eventually receive and deal 'somehow' with it?
Its usual purpose is to solve the two social problems 'someone would
need to write the IPC code' (instead of something different) and 'that
someone will need to know what to use how to accomplish this purpose'
(instead of 'designing' a GUI interface).
.
- Follow-Ups:
- Re: IPC mechanisms under Linux
- From: Wellu
- Re: IPC mechanisms under Linux
- References:
- IPC mechanisms under Linux
- From: Wellu
- Re: IPC mechanisms under Linux
- From: Lew Pitcher
- IPC mechanisms under Linux
- Prev by Date: Re: IPC mechanisms under Linux
- Next by Date: Re: IPC mechanisms under Linux
- Previous by thread: Re: IPC mechanisms under Linux
- Next by thread: Re: IPC mechanisms under Linux
- Index(es):
Relevant Pages
|