进程间通信最简单的机制就是通过通道读写数据。
The simplest mechanism for interprocess communication is reading and writing data across channels.
通信通道:如果希望应用此模式,服务提供者和使用者间的通信通道需要为消息传递中间件。
Communication channel: the communication channel between the service provider and the consumer needs to be messaging middleware if we want to apply the pattern.
就时间和空间而言,共享内存可能是所有现代操作系统都具备的最高效的进程间通信通道。
In terms of time and space, Shared memory is probably the most efficient inter-process communication channel provided by all modern operating systems.
应用推荐