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

有增加对mysql支持的计划吗 #26

Open
yfengworld opened this issue May 9, 2018 · 4 comments
Open

有增加对mysql支持的计划吗 #26

yfengworld opened this issue May 9, 2018 · 4 comments

Comments

@yfengworld
Copy link

现实中mysql一般是数据库选型首选,看你的代码是单线程,加入mysql不是很好处理。你有支持的计划吗?或者提供下设计思路

@sniperHW
Copy link
Owner

sniperHW commented May 9, 2018

暂时没有,我最近的项目都改用golang了。可以考虑代理服务。

@sniperHW
Copy link
Owner

sniperHW commented May 9, 2018

https://github.com/openresty/lua-resty-mysql 用这个也行,chuck有基于coroutine的socket,替换里面的socket调用就行了

@yfengworld
Copy link
Author

https://github.com/openresty/lua-resty-mysql性能这块能满足吗 ?用golang的话怎么处理热更的?

@sniperHW
Copy link
Owner

sniperHW commented May 9, 2018

你要怎样的性能标准,用lua就不必太纠结单机性能了。
滚服,停止进程接受新的请求,现有请求执行完毕后重启。

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