message queues and select

From: Andrei Voropaev (avorop_at_mail.ru)
Date: 10/14/04


Date: 14 Oct 2004 08:08:26 GMT

Hello!

I need some advice. Currently I'm using unix dgram socket to exchange
messages between processes, each process handles also TCP connections.
So "select" works good in this scenario. Does it make sense to replace
unix socket with message queue for messages between processes? I've
heard somewhere that it is more efficient than unix socket, but then I
can't do select on the message queue, can I? Or what is general approach
in working with message queue (posix?) when select has to be done as
well?

TIA

Andrei



Relevant Pages

  • Re: message queues and select
    ... Currently I'm using unix dgram socket to exchange ... each process handles also TCP connections. ... > unix socket with message queue for messages between processes? ...
    (comp.os.linux.development.apps)
  • Re: Advice on writing server daemon
    ... > I'm porting the server piece of a client-server application from VMS, ... > and it will live on some flavor of Unix, ... > new instance of the program, passing it the socket. ... children workers and listen to its socket. ...
    (comp.unix.programmer)
  • GNU-izing a Unix System V IPC, signal and socket system for OpenVMS?
    ... in porting a massive Unix based application (>3.5 million ... System V IPC, signal and socket routines. ... Full System V IPCs. ...
    (comp.os.vms)
  • GNU-izing a Unix System V IPC, signal and socket system for OpenVMS?
    ... in porting a massive Unix based application (>3.5 million ... System V IPC, signal and socket routines. ... Full System V IPCs. ...
    (comp.unix.programmer)
  • Advice on writing server daemon
    ... I'm porting the server piece of a client-server application from VMS, ... and it will live on some flavor of Unix, ... while trying to take maximum advantage of using AIX. ... passing it the socket. ...
    (comp.unix.programmer)