Celery、rabbitmq:如何安装远程工作人员?
我可以有多台机器来执行 django 分发的任务并返回消息吗?我研究了 celery/rabbitmq,我不确定是否可以在远程计算机上设置 celery 工作人员。有人可以指导我通过这里吗? 如果这是不可能或非常困难,是否有其他解决方案可以解决该问题?
Can I have multiple machines to execute the tasks and return messages that are distributed by django? I looked into celery/rabbitmq, I'm not sure if I can setup celery workers on remote computers. Can anyone guide me through here?
If this is not possible or very hard, any alternative solution for the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过将 Django 项目安装到远程计算机上来完成此操作,然后确保将其配置为使用正确的代理、数据库服务器和媒体目录(假设您的任务需要访问这些目录)。
You can do this by installing your Django project on to the remote computer, and then ensuring that it is configured to use the correct broker, database server, and media directory (assuming your tasks need access to that).