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

需要实现CPU密集型后台服务 #28

Open
xyx361100238 opened this issue Aug 18, 2022 · 4 comments
Open

需要实现CPU密集型后台服务 #28

xyx361100238 opened this issue Aug 18, 2022 · 4 comments

Comments

@xyx361100238
Copy link

你好,我现在遇到一个难题:
我实现了一个机器翻译的应用,采用websocket实现了一个简单的服务,还达不到上线的要求。但是我对网络编程这一块不熟悉,我的应用也是比较特殊,1、实现高并发,IO请求不能出错,2、我的主要处理全部集中在机器翻译这个业务 ,所以需要实现服务集群(可扩展)
上述Nebula是否满足需求?

@Bwar
Copy link
Owner

Bwar commented Aug 18, 2022

协议仍然准备使用websocket吗?Nebula的websocket编解码器尚未经过生产应用,可能存在一些问题需要测试中发现并修复。

@Bwar
Copy link
Owner

Bwar commented Aug 18, 2022

采用http和Nebula自定义协议的话可以直接满足需求。

@xyx361100238
Copy link
Author

多谢,我可以先尝试采用http+Nebula实现;再请教可以推荐下http协议的C++库吗(或者开源),比自己写肯定要健壮、逻辑考虑也更全面些

@Bwar
Copy link
Owner

Bwar commented Aug 19, 2022

Nebula本身就支持http协议,不需要再找第三方库

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