我在服务器中有两个节点(两台计算机已经连接),每个节点都有 4 个核心,我如何使用 celery + RabbitMQ 对这两台计算机进行集群,当我启动 celeryd 时,它显示:
-------------- celery@ip-10-77-137-41 v3.0.19 (Chiastic Slide)
---- **** -----
--- * *** * -- Linux-3.2.0-36-virtual-x86_64-with-Ubuntu-12.04-precise
-- * - **** ---
- ** ---------- [config]
- ** ---------- .> broker: amqp://celeryuser@localhost:5672/celeryvhost
- ** ---------- .> app: default:0x29ecf90 (.default.Loader)
- ** ---------- .> concurrency: 2 (processes)
- *** --- * --- .> events: OFF (enable -E to monitor this worker)
-- ******* ----
--- ***** ----- [queues]
-------------- .> celery: exchange:celery(direct) binding:celery
我可以将并发设置为 8 来使用这两个节点吗?