简体   繁体   中英

simultaneous requests in django

i have two Django projects. i send/receive data via JSON-RPC between this two projects. my problem is that i started a request in project-1 and call a method in project-2, in the called method of project-2 i call again a method in project-1. my problem is here. it seems i have to terminate a request and then start another one. in fact i want this, when i start calling a method inside projet-2 i want that project-1 request terminated. i want it only for calling not for calling and waiting for response.. how i can handle this?

Check out Celery ; looks like the problem may be better suited to its approach (task queue) than what you're doing now. Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM