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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:48:40+00:00 2026-06-16T06:48:40+00:00

I am writing a GAE application that when it starts needs to initialise a

  • 0

I am writing a GAE application that when it starts needs to initialise a connection to a third party service, and then run a continuous check in the background (essentially pulling data from third party and pushing it to a GAE task queue)

I know that backends get a call to /_ah/start which initialises them and lets GAE know the backend has started. Is it safe to start the pull process from StartHandler, i.e.

f = urllib2.urlop
for l in f:
     deferred.defer(doMyStuff,l)

I think the answer is to have a StartHandler along the lines of:

class StartHandler(webapp2.RequestHandler):
    def get(self):
        logging.info("Handler started")
        key = self.request.get('key')
        taskqueue.add('/backend/startdata', params={'key':key}, target='1.backend0')

and then have the handler for /backend/startdata run the loop.

Advice and comments welcome.

  • 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-06-16T06:48:41+00:00Added an answer on June 16, 2026 at 6:48 am

    Answer to this question. Google App Engine will not let this work. I gave it up and used a different cloud provider, because life’s too short, and python should be python, anywhere.

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

Sidebar

Related Questions

All! I'm writing an application that would run on Google App Engine. I'm using
I'm writing an application on GAE that is exposing a RESTlike API to a
Writing a client application that sends images to a server via a webservice. As
I am writing a small app that uses the GAE. I have parts of
Does anyone have experience writing a Facebook application using GWT with GAE? I'm new
I'm writing a web application in Python. I've got a form that takes as
I am currently writing an iPhone application that sends and receives JSON data from
I am writing an app on GAE and I have a URL that will
I'm writing a program that will be hosted on GAE that can upload and
I am writing a GAE application and am having some difficulty with the following

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.