delphi – Serving data to your workflows

Question:

There is a service that launches several processes to which it will transfer data (objects about 10kb in size). You don't need to transfer anything back. There are several technologies for this:

  1. File Mapping
  2. Named pipes
  3. WM_COPYDATA

The data transfer will be high-intensity. Which technology is best for you?

Answer:

IMHO, the best way for interprocessor communication is sockets. Causes:

  1. The speed is on par with the rest (within one PC).

  2. Nobody canceled the possibility of broadcasting.

  3. Without modifications, it is possible to create a "network" control panel.

ps WM_COPYDATA is not even worth considering as a way of interprocess communication in a loaded system.

Scroll to Top
AllEscort