How do dynamic backends start in Google App Engine

后端 未结 3 1256
陌清茗
陌清茗 2021-02-04 12:58

Can we start a dynamic backend programatically? mean while when a backend is starting how can i handle the request by falling back on the application(i mean app.appspot.com).

3条回答
  •  醉话见心
    2021-02-04 13:20

    Dynamic backends come into existence when they receive a request, and are turned down when idle; they are ideal for work that is intermittent or driven by user activity.

    Resident backends run continuously, allowing you to rely on the state of their memory over time and perform complex initialization.

    http://code.google.com/appengine/docs/python/backends/overview.html

    I recently started executing a long running task on a dynamic backend and noticed a dramatic increase in the performance of the frontends. I assume this was because the long running task was competing for resources with normal user requests.

提交回复
热议问题