Answer the question
In order to leave comments, you need to log in
How is Frontend Instance Hours calculated in Google App Engine?
In general, what is the question: I needed a small script that should be executed somewhere once every couple of hours (the script is nowhere simpler, it parses a very simple page, and writes it to a log). I didn’t want to keep the car turned on for the sake of such nonsense, I began to look for options. I found a Google app engine for free, well, I think - that's it! Quick registration, a lot of documentation, and there is a scheduler that can just run my script after a certain period of time. Well, I think it's great. I loaded the script, set up the scheduler, and already wanted to rejoice, as my eyes fell on the Dashboard, and here, to be honest, it became sad.
Of the 28 hours of Frontend Instance Hours, I managed to spend the first 2 during the tests in my opinion for 30 minutes, I think it’s strange. I got into Google, and in general, now I want to make sure that I understood everything correctly. To be more precise:
No matter how complicated the operation is, and how much time Google spends on its implementation, will it still charge for it according to the scheme: script running time + 15 minutes? Well, or if it concerns, say, a Django site, does this mean a maximum of 4-5 page updates per hour so as not to get out of the free quota? Does this mean that if I update the page 10 times in a minute, then Google will take at least 150 minutes of work for this? Or am I not understanding something?
Answer the question
In order to leave comments, you need to log in
No, if in the Administration Panel in the "Application Settings" item you set "Max Idle Instances" = 1. Most likely, now you have much more set there. I can also assume that your request was not asynchronous and lasted longer than a minute. Therefore, GAE launched a free instance to send the next one. And for each launched instance, it already applies the “15 minutes” rule. But you need to understand that these 15 minutes were not stolen from you, but simply your instance was idle for 15 minutes, as a result of which it was slammed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question