Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3358354
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:44:34+00:00 2026-05-18T02:44:34+00:00

I have an upload page in django powered site. The end-users upload the documents

  • 0

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!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:44:34+00:00Added an answer on May 18, 2026 at 2:44 am

    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:

    from threading import Thread
    class Worker(Thread):
        def __init__(self):
            Thread.__init__(self) #Runs the thread's constructor
    
        #Method that is run when the new thread starts
        def run(self):
            #Whatever data processing you have to do can go here
            while True:
                print "Hello from Worker"
    
    w = Worker()
    w.start() #Starts a new thread which executes the object's run function
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a file upload form that is being posted back to a servlet
I have a scenario where I need to upload a file from one web
I have a form that excepts a file upload in ASP.NET. I need to
I have a website where people can upload documents, and view them later at
I have an application where users can upload video files of any size, and
I have a website where users can upload their files; these are stored on
I have a upload page done with classic asp and I want a progressbar.
I have upload control on my asp.net page. I upload pictures in folder cars
I am using RadUpload control of telerik. I have added Rad upload on page
I have implemented a simple file upload-download mechanism. When a user clicks a file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.