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

怎样进行流操作? #14

Open
zuowanbushiwo opened this issue Oct 26, 2017 · 1 comment
Open

怎样进行流操作? #14

zuowanbushiwo opened this issue Oct 26, 2017 · 1 comment

Comments

@zuowanbushiwo
Copy link

你好,happyfish100 ! 首先感谢非常感谢你,开源这么好的软件,而且还可以中文交流。
我现在遇到的问题,我有两个进程间的共享数据是流形式的,写进程开始写时不知道会写多少数据,这样需要怎么操作?我看Api 数据是按key值 读写的,那么是不是我这边写一个value buffer, 就需要告诉读进程当前的写的key值,我看默认的max_value_size 是256k,如果写进程是从网络拿数据,value_size一般都会很小 ,这样多进程交流是不是多了点?怎样做才能使通信减少点了?谢谢!

@happyfish100
Copy link
Owner

你这个场景,是否直接用socket通信或者fifo更合适呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants