We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unix ipc 机制对于跨线程双向通信的需求。由于目前unix的socket通信是直接获取对端缓存进行写,对端对自身缓存进行读。这样的机制对于适配异步读写和提高读写性能不太友好,需要采用通道双向通信的机制。
实现类似Go中能够跨线程双向通信的Channel的IPC机制
可以采用消费-生产模型,两端同时作为读端和写端。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
背景
unix ipc 机制对于跨线程双向通信的需求。由于目前unix的socket通信是直接获取对端缓存进行写,对端对自身缓存进行读。这样的机制对于适配异步读写和提高读写性能不太友好,需要采用通道双向通信的机制。
需求
实现类似Go中能够跨线程双向通信的Channel的IPC机制
设计
可以采用消费-生产模型,两端同时作为读端和写端。
The text was updated successfully, but these errors were encountered: