How calculate the number of instances in Google App Engine

旧街凉风 提交于 2019-12-20 03:23:45

问题


I aim to create an application that will be deployed thanks to Google App Engine.

Before that I would like to calculate the cost of Google App Engine.

For this I have to provide the Number of instances, per hour. How can caluculate this number of Instances ?

To reformulate, imagine I have 1 thousand users connected, how many users can 1 instance afford ?

Thank you for your answer and help

Regards

Benoit


回答1:


It's really hard to answer without more info. App engine consumption will depend on the nature of your app, the average session span and usage hours, how well you optimize your implementation and so much more variables...

Don't think about how many instances, think about how many instance hours you'll need to serve your users if you can figure how much you'll be consuming you could get an estimate using the App engine pricing calculator .




回答2:


Completely depends on the code that runs on each request. You need to make it more specific to get a better answer. Ive had carefully implemented apps that receives thousands of requests per minute with a single instance. How long each request takes and the memory it consumes is key as well as the frontend instance type you select to use.
Appengine also lets you calibrate some parameters like min/max latency to control when more instances are launched.



来源:https://stackoverflow.com/questions/30005701/how-calculate-the-number-of-instances-in-google-app-engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!