Re: Network packet loss possible inside the linux kernel?
- From: Daniel Kay <daniel-kay2@xxxxxxxx>
- Date: Sat, 22 Sep 2007 19:20:28 +0200
david wrote:
On Sat, 22 Sep 2007 08:44:55 +0200, Daniel Kay rearranged some electrons
to say:
Hello folks!
I am currently planning to implement an easy way to communicate between
multiple processes on the local machine. Every process may sends events
(in form of a null terminated string) as multicast UDP messages. The
other processes react on these events if required.
Have you considered the interprocess communications features already found in *nix?
http://tldp.org/LDP/lpg/node7.html
I think using pipes and fifos are an easy and simple way to communicate between two processes. But I don't see any easy way using these mechanisms for communication between multiple processes. I can't fork, and I don't want to open a named pipe in every communication direction.
I do not have much experience with System V IPC. And using shared memory is dangerous, which could block the whole communication, if one process with a lock on a semaphore/mutex crashes.
If you disagree with the text above, please tell me of... :-)
I am considering writing an TCP/IP daemon, to which all processes connect. This process will route every incoming message/event to all other processes, if they have registered for the message.
Regards,
Daniel Kay
.
- Follow-Ups:
- References:
- Network packet loss possible inside the linux kernel?
- From: Daniel Kay
- Re: Network packet loss possible inside the linux kernel?
- From: david
- Network packet loss possible inside the linux kernel?
- Prev by Date: Re: A script for scanning the internet for one particular index.html?
- Next by Date: Re: Kermit - How do I escape to a local kermit from a telnet session?
- Previous by thread: Re: Network packet loss possible inside the linux kernel?
- Next by thread: Re: Network packet loss possible inside the linux kernel?
- Index(es):
Relevant Pages
|