Google App Engine application instance recycling and response times

后端 未结 6 892
攒了一身酷
攒了一身酷 2021-01-01 02:16

I posted this on GAE for Java group, but I hope to get some answers here quicker :)

I decided to do some long-run performance tests on my application. I created some

6条回答
  •  伪装坚强ぢ
    2021-01-01 02:59

    I know of some people having a keep-alive thing running in order to have an instance of their app always running. I mean, have a client that sends a request every X seconds so your app doesn't get recycled.

    This is a quick thing to implement but seems to go against the spirit of the platform. Make your numbers and check if it is worth it.

    Another option would be to refactor your application to make use of more lazy-loading than it does at the moment so it doesn't take that long to kick off.

    I don't know if you have any other option apart from these 2.

提交回复
热议问题