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

【每日一问】Go消费者正确编码姿势 #423

Closed
maratrixx opened this issue Jun 25, 2019 · 2 comments
Closed

【每日一问】Go消费者正确编码姿势 #423

maratrixx opened this issue Jun 25, 2019 · 2 comments

Comments

@maratrixx
Copy link

maratrixx commented Jun 25, 2019

请教个问题 ,大家做 Go 开发时候队列消费者是怎么写的呢?

先说下我这边的使用情况,就是起协程跑消费者和web服务绑定在了一起,没有单独做消费者的部署,感觉这样不太好。

比如,前端机有 50 台,其实队列机3、4 台就足够,没必要和应用程序绑定在一起部署吧。

@donychen1134
Copy link

这种是不是重新部署个服务呢?

@maratrixx
Copy link
Author

这种是不是重新部署个服务呢?

嗯,我也是这么认为的,所以问下大家怎么搞的。

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

No branches or pull requests

2 participants