Re: IPC in C#



Sorry, I didn't get your last sentence.
I mean IPC as an inter process messages queueing mechanism.
3 C# processes send messages concurrently in a queue.
The routing application read messages one by one, route it to appropriate
host.
Answer messages use the same mechanism (in another queue ?)


"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in
news:OB4Lad1IGHA.648@xxxxxxxxxxxxxxxxxxxx:

> You can use IOCP to reduce number of reading threads ( obviouly though
> PInvoke ).
> Generic method of C# is remoting but that ( as MSMQ btw ) use sockets
> as low layer.
> If you mean IPC in the same maching generic is messaging
> Arkady
>
> "Droopy" <droopytoonnospam@xxxxxxxxxxx> wrote in message
> news:Xns9758A557B3D1Ddroopytoonnospamhotm@xxxxxxxxxxxxxxxxx
>> Hi,
>>
>> I write a routing messages application in C# (framework 1.1).
>> There are 3 other C# applications that are concurrently
>> sending/receiving messages to/from my routing application by using a
>> C# DLL. What is the best way (I mean simple to install and powerful)
>> to implement this ?
>>
>> A first version has been written, using Tcp sockets (1 thread by
>> socket for
>> reading messages) but there are too many sockets => too many threads.
>> Of course, I could improve the ressources usage (using Select or
>> something else to get less threads, multiplexing messages to use less
>> sockets, ...).
>>
>> I would like to use a real and fast IPC.
>> I thought using Memory Mapped File (but I have to PInvoke) or MSMQ
>> (but is it available, I mean is it enable, on all Win XP systems).
>>
>> What IPC are you using ?
>>
>> Thanks in advance.
>
>
>

.



Relevant Pages

  • Re: Interprocess Communication
    ... The CH2 child will be the controlling process. ... Once control is completed two CH1 children will be communicating in both ... You can do dup/popen etc. but I find sockets simpler with C. ... I thought I would do the additional child using IPC ...
    (comp.os.linux.misc)
  • Re: Swapping and IPC
    ... > a swapping mechanism. ... Associated with each process that had IPC enabled was a queue ... IIRC, the sending process could arrange for the s.p. ...
    (comp.os.linux.misc)
  • Re: cgi concurrency approaches?
    ... Here is a brief page about System V IPC ... a python interface to System V IPC facilities, ... Use a dedicated Queue, and hold the counter value inside a single ... Store the value in pre-created shared memory partition, ...
    (comp.lang.python)
  • IPC : Named Pipes, RPC and Sockets etc.
    ... In SQL Server BOL it it is mentioned that Named Pipes, RPC and Sockets ... What are these IPC mechanisms? ...
    (microsoft.public.sqlserver)
  • Re: IPC in C#
    ... working with sockets:8-) ... > Generic method of C# is remoting but that (as MSMQ btw) use sockets as ... >> I write a routing messages application in C#. ... >> I would like to use a real and fast IPC. ...
    (microsoft.public.win32.programmer.networks)

Quantcast