I wrote 2 processes running on the same machine. Each process
communicates with each other by sending 200 messages with a size
of 1024 bytes. I got the following result for each IPC methods:

TCP Socket: 10ms
Remoting:   100ms (TCP channel, binary format serialization)
System.Messaging: 40ms (Express mode, XML format serialization)
System.Messaging: 20ms (Express mode, Binary format serialization)

The purpose of this experiment is to find out what is best IPC
methods in terms of performance and scalability, if all my processes
run on the same machine.

For remoting, I use Singleton object call to pass the 1024 bytes data.
For System.Messaging, I send and receive 100 messages from the same program.

Anybody to share similar experience ?

Reply via email to