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

  • Home
  • SEARCH
  • 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 standard Django Admin page that is used to upload multiple files.
I have a page index.php that uses a modal to upload files. After those
I have an ASP.NET (3.5) page that allows a user to upload an Excel
I have a simple PHP upload page that when finished uploading runs a bit
I have a profile image upload page, where users can overwrite their previous profile
I am attempting to have a file upload page that allows for an arbitrary
I have an avatar upload page in my site. But when the user successfully
I have a file upload page that takes a file and parses it. Order
I have an image upload page (single page). When submitted it check filesize and
In the web page, I have file upload widget. I need to show this

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.