django,fastcgi: how to manage a long running process?

后端 未结 2 1973
夕颜
夕颜 2020-12-13 22:29

I have inherited a django+fastcgi application which needs to be modified to perform a lengthy computation (up to half an hour or more). What I want to do is run the computat

2条回答
  •  长情又很酷
    2020-12-13 22:58

    Maybe you could look at the problem the other way around.

    Maybe you could try DjangoQueueService, and have a "daemon" listening to the queue, seeing if there's something new and process it.

提交回复
热议问题