问题描述
有人可以帮助我理解/ _ah / background在谷歌应用引擎(Python)方面的含义。我有一个常驻后端正在运行,而且我正在看到对该端点的请求。它们似乎是由我的代码之外的东西生成的。它们也似乎是由my / _ah / start处理程序处理的。
感谢您提供任何帮助。
我相信 / _ ah / background
请求实际上不是HTTP请求,它们是。无论何时需要按照请求对某些内容进行分组,App Engine都使用 / _ ah / background
作为占位符。日志消息。这与我在后台使用后台线程中看到的相符。
(我可以发誓我最近在某个地方的文档中阅读了这篇文章,但是我还没有找到。 )
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.
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.)
这篇关于Resident Backend Google App Engine" / _ ah / background" (蟒蛇)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!