开发者

Windows - Named pipes performance recommendations with C#

I am currently evaluating named pipes for IPC on Windows with .NET/C#.

I am currently looking at a single producer, single consumer scenario.

Are there any good performance consideration guidelines?

In my first test case I was comparing the speed of large messages vs small messages and seems to be that large (64k) messages are sent as quick as small (48 Bytes) packages. This was with the default parameters. I might add more test scenarios, but this is quite time-consuming and thus I am looking for gu开发者_开发百科idelines.


We used Named Pipes on Windows NT 4 and Windows 2000. Really fast.

When we switched to XP, occasionally it would be fast, the rest of the time slow. With exactly the same code.

We wrote our own shared memory data transport. Seriously fast.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜