Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resident instance doesn't seem to work

Following my previous question here:

Here's a screenshot of my billing-enable appengine console:

enter image description here

As you can see, I have a resident instance, but all requests are not routed to it, and instead a dynamic instance is loaded and gets all the traffic. Either I'm not getting the concept of Resident instances correctly, or this is ridiculous.

Can anyone help me understand what's going on here?

Thanks a lot!

like image 912
Gilad Avatar asked Feb 08 '13 10:02

Gilad


1 Answers

As far as I know, resident instances are for times when no other instances (f. e. dynamic) are available (busy, no one started). They are the buffer between full utilization and new (dynamic) instances available. If every dynamic instance is at its limit (or no one available), the app engine needs some time to start new instances. In this time the resident instance is getting new requests so that your service is not getting busy for the users (and/or to decrease service response time). A resident instance with low usage will cost you as much as one with heavy usage.

like image 147
Eich Avatar answered Sep 28 '22 10:09

Eich