IPC implementation method

What is the preferred way to implement IPC over windows?

I know several such as: named pipe, shared memory, semaphors ?, possibly COM (although I'm not sure how) ...

I wanted to know what is considered the most reliable, fastest, least error prone and easy to maintain / understand.

+2
source share
5 answers

Take a look at boost :: interprocess .

Shared memory is probably the fastest overall, but somewhat error prone and limited to local processes.

COM is fully versioned and automatically supports remote IPC, but obviously it is platform dependent.

- ActiveMQ OpenMQ.

+2

/, . (UDP), . "" . . / /.

. , , 3 . 10 000 , . 4K-, .

2 6 , ( TCP).

, - , - 30% . , .

, , . , , .

, , , , . , . "". , , .

+5

MSDN .

, , . Boost , - , - GUI .

Win32 (, CreatePipe , ), , , - , .

+1

RPC/ COM DCOM ( RPC ) - IPC Windows, - - , , , , DCOM . :)

+1
source

named pipe wrapping for me

for the data format, either collapse your own, or use the local RPC (which is used to use msft)

0
source

Source: https://habr.com/ru/post/1727767/


All Articles