Resident Backend Google App Engine “/_ah/backgroun

2020-04-26 02:06发布

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.

2条回答
对你真心纯属浪费
2楼-- · 2020-04-26 02:40

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.)

查看更多
Root(大扎)
3楼-- · 2020-04-26 02:46

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

查看更多
登录 后发表回答