How does app engine standard frontend autoscaling instances react to quick burst of memory and cpu spikes

106 views
Skip to first unread message

dir Ls

unread,
May 22, 2019, 10:56:23 PM5/22/19
to Google App Engine
I am considering using Argon2ID for password hashing and it is both memory and CPU intensive (though the parameters can be adjusted to some extent). Will such sudden burst of load result in starting of multiple instances? Is anyone using such modern password hashing for their apps have any input?

Harmit Rishi (Cloud Platform Support)

unread,
May 24, 2019, 10:59:20 PM5/24/19
to google-a...@googlegroups.com
I do not have much experience dealing with Argon2ID. However, the scaling behavior of your App Engine instance depends on how you set it up as well as which environment of App Engine it is running in. Since you mentioned you are running on standard, you will notice that scaling of the application will be rapid. I believe it would be worth to check the following documentation here out as it pertains to how instances are managed on standard. You will see that you can set a array of attributes to allow the app to scale the way you prefer by either Manual , Automatic, Basic scaling. As you mentioned that Argon2Id  "is both memory and CPU intensive"as well as automatic scaling, you can set certain parameters of automatic scaling such as:  Target CPU UtilizationTarget Throughput UtilizationMax Concurrent Requests

Lastly, you may set the configuration file to specify the scaling type and instance class of the version you deploy on App Engine. Scaling type controls how instances are created while the instance class determines the compute resources such as memory size and CPU speed. You may feel free to explore more information about this here

I hope I was able to help with the scaling part of your question!


Reply all
Reply to author
Forward
0 new messages