I have an upload page in django powered site. The end-users upload the documents from that page. The back end processing of that uploaded document can take several minutes. How do i handle multiple end-users’ request in the back end? I have thought of using thread for each end-user’s request. However, i am finding it difficult in coding that how do i create a new thread as soon as some user uploads a document. A sample example or demo would be highly appreciated.
Thanking you in advance!!!
I have an upload page in django powered site. The end-users upload the documents
Share
Without more information its hard to say what exactly, but threads sound like a reasonable idea. To create a thread in python, you do the following: