Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: bidirectional IPC (Linux)

by jepri (Parson)
on Nov 09, 2001 at 03:40 UTC ( #124240=note: print w/replies, xml ) Need Help??


in reply to Re: Re: bidirectional IPC (Linux)
in thread bidirectional IPC (Linux)

Couple of responses:

  • I was under the impression that every network socket has an associated domain socket (not that I ever checked).
  • You said you had already tried UDS
  • Exactly how many processes were you planning to use? There are 64000 possible sockets which means that you can have 32000 forked processes before you run out of sockets.
  • If you are trying to write code for a machine that can handle 32000 processes, grab the Apache source code since that is the canonical example of a really good forking server. And then give me an account on your machine :)
  • If you read the pod, my goal was portable reliable forking IPC.
  • I am currently reworking the architecture so that you can drop in any transport layer that you want to use - I have a demo using SysV message queues, and I can't wait to hear your comments on that one.
  • The basic architecture of my code is useful for a preforking server, regardless of the transport layer. For someone who doesn't even know what select does, you seem to be pretty good at pointing out why code you don't understand is unsuitable for your purpose.

____________________
Jeremy
I didn't believe in evil until I dated it.

Replies are listed 'Best First'.
Re: Re: Re: Re: bidirectional IPC (Linux)
by Anonymous Monk on Nov 09, 2001 at 14:43 UTC
    >You said you had already tried UDS

    i dont think that either uds or sockets are good for that, but ok that may be wrong

    >I am currently reworking the architecture so that you can drop in any transport layer that you want to
    >use - I have a demo using SysV message queues, and I can't wait to hear your comments on that one.

    cool

    >The basic architecture of my code is useful for a preforking server, regardless of the transport layer.
    >For someone who doesn't even know what select does,
    >you seem to be pretty good at pointing out why code you don't understand is unsuitable for your purpose.

    sorry about that, but i read the pod, and thats what i took as source for my opinion, but nevertheless i will try your module, and maybe then, if i ever get it running with pipes, will compare the speed and reliability of both. But sure, your way is an easy one.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://124240]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2022-10-04 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (17 votes). Check out past polls.

    Notices?