Skip to content
New issue

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

feat(ipc): 提供跨线程双向传输数据的channel工具 #1011

Open
smallcjy opened this issue Oct 25, 2024 · 0 comments
Open

feat(ipc): 提供跨线程双向传输数据的channel工具 #1011

smallcjy opened this issue Oct 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@smallcjy
Copy link
Contributor

背景

unix ipc 机制对于跨线程双向通信的需求。由于目前unix的socket通信是直接获取对端缓存进行写,对端对自身缓存进行读。这样的机制对于适配异步读写和提高读写性能不太友好,需要采用通道双向通信的机制。

需求

实现类似Go中能够跨线程双向通信的Channel的IPC机制

设计

可以采用消费-生产模型,两端同时作为读端和写端。

@dragonosbot dragonosbot added the needs-triage 这个问题可能需要分类处理。如果已经完成分类,请移除它。 label Oct 25, 2024
@github-actions github-actions bot added the enhancement New feature or request label Oct 25, 2024
@smallcjy smallcjy changed the title feat(ipc): 提供双向传输的channel工具 feat(ipc): 提供跨线程双向传输数据的channel工具 Oct 25, 2024
@fslongjin fslongjin removed the needs-triage 这个问题可能需要分类处理。如果已经完成分类,请移除它。 label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants