How calculate the number of instances in Google Ap

2019-02-27 12:58发布

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

2条回答
Explosion°爆炸
2楼-- · 2019-02-27 13:13

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.

查看更多
Anthone
3楼-- · 2019-02-27 13:19

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 .

查看更多
登录 后发表回答