每个人似乎都说命名管道比插座IPC快.他们快多快了?我更喜欢使用套接字,因为它们可以进行双向通信并且非常灵活,但如果数量相当大,则会选择速度而不是灵活性.
sockets linux performance ipc named-pipes
ipc ×1
linux ×1
named-pipes ×1
performance ×1
sockets ×1