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 1040493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:13:51+00:00 2026-05-16T15:13:51+00:00

I have a python webapp which accepts some data via POST. The method which

  • 0

I have a python webapp which accepts some data via POST. The method which is called can take a while to complete (30-60s), so I would like to “background” the method so I can respond to the user with a “processing” message.

The data is quite sensitive, so I’d prefer not to use any queue-based solutions. I also want to ensure that the backgrounded method doesn’t get interrupted should the webapp fail in any way.

My first thought is to fork a process, however I’m unsure how I can pass variables to a process.

I’ve used Gevent before, which has a handy method: gevent.spawn(function, *args, **kwargs). Is there anything like this that I could use at the process-level?

Any other advice?

  • 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-16T15:13:51+00:00Added an answer on May 16, 2026 at 3:13 pm

    The simplest approach would be to use a thread. Pass data to and from a thread with a Queue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write some python code which can create multipart mime http requests
Okay., We have Rails webapp which stores data in a mysql data base. The
So I have a python webapp on Google App Engine and am using the
I have python script which downloads N number of images from website. I run
i have an issue i could use some help with, i have python list
i have python web app build on top of BaseHTTPServer, which runs on specyfic
I have a python process (Pylons webapp) that is constantly using 10-30% of CPU.
Need to testcase a complex webapp which does some interacting with a remote 3rd
I have a Python/Flask webapp with MongoDB database on DotCloud hosting. I would like
I have a Django app in which the users can create reports at various

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.