django/celery: Best practices to run tasks on 150k Django objects?

前端 未结 3 1379
南方客
南方客 2021-02-03 12:43

I have to run tasks on approximately 150k Django objects. What is the best way to do this? I am using the Django ORM as the Broker. The database backend is MySQL and chokes a

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-03 13:19

    Try using RabbitMQ instead.

    RabbitMQ is used in a lot of bigger companies and people really rely on it, since it's such a great broker.

    Here is a great tutorial on how to get you started with it.

提交回复
热议问题