- I have an application, where I send approx. 125 data items via a named pipe.
- Each data item consists of data block 1 with max. 300 characters and data block 2 with max. 600 characters.
- This gives 125 data items * (300 + 600) characters * 2 bytes per character = 125 * 900 * 2 = 225000 bytes.
- Each data item is surrounded by curly braces like
{Message1}{Message2}
. - I noticed that if I send the messages, there are sending/receiving problems. Instead of
{Message1}{Message2}
the receiving application gets{Messa{Message2}
. - Then I changed the sending code so that the messages are sent in 500 ms intervals. Then, the problem disappeared.
If I do everything correct (no bugs on my side, no misconfiguration of named pipes), how much time is required to send 225000 bytes over a named pipe from application in Delphi 2009 to application in .NET on the same machine?
What is a reasonable time for sending data of that size?