user1712628
user1712628

Reputation:

Resident Backend Google App Engine "/_ah/background" (Python)

Can someone help me understand what "/_ah/background" is in terms of google app engine (Python). I have a resident backend running, and I am seeing requests being made to that endpoint. They appear to be generated by something outside my code. They also appear to be being handled by my /_ah/start handler.

Thanks for any help you can provide.

Upvotes: 1

Views: 2516

Answers (2)

ryan
ryan

Reputation: 2945

I believe /_ah/background requests aren't actually HTTP requests, they're background threads. App Engine uses /_ah/background as a placeholder wherever it needs to group something by request, e.g. log messages. This matches what I see in my backends that use background threads.

(I could swear I read this in the docs somewhere recently, but I haven't found where yet.)

Upvotes: 1

Robert Parker
Robert Parker

Reputation: 605

Any URL that starts with "/_ah/" is a reserved AppEngine URL. These are used for internal AppEngine tasks, you really shouldn't need to worry about them.

What does _ah mean in Google App Engine?

https://developers.google.com/appengine/docs/python/config/appconfig?hl=it-IT#Reserved_URLs

Upvotes: 0

Related Questions