modules and instance hours relationship?

49 views
Skip to first unread message

Alistair Burrowes

unread,
Sep 8, 2015, 11:57:55 PM9/8/15
to Google App Engine
Hi,

I previously had the one fully contained app engine java web app that was only the one module. For code cleanliness reasons I split this up into an endpoints backend module and a web frontend module.

I have started driving more traffic to my site and I have hit the 28 instance hours limit. Is this because each module is incurring instance hours now and so in effect the entire web app is consuming double the instance hours?

The docs sort of suggest this but it's not super clear to me.

Cheers,
Alistair

Alex Martelli

unread,
Sep 9, 2015, 12:29:52 AM9/9/15
to google-a...@googlegroups.com
"frontend" modules (i.e ones with the default autoscaling, and thus instance classes named starting with F) all share the 28 hours free quota (which means 28 hours of F1, remember: if you use a default F2, twice as powerful, that's 14 wall-clock hours per day).

"backend" modules (i.e ones with manual or basic scaling and thus instance classes named starting with B) share a separate 8 hours free quota (again: that means 8 hours of B1).

As you give us zero information about scaling kind and instance classes you're using, that about exhaust the information WE can offer!-)

Alex

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c3741c61-3268-47b3-9744-9608e9f3fa2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alistair Burrowes

unread,
Sep 9, 2015, 12:37:43 AM9/9/15
to Google App Engine
Um thanks. Sorry to clarify I have 2 frontend autoscaling modules. One is just serving static html and resources. The other uses endpoints to provide data. So I guess this will be minimum two instances?

Alex Martelli

unread,
Sep 9, 2015, 12:57:58 AM9/9/15
to google-a...@googlegroups.com
On Tue, Sep 8, 2015 at 9:37 PM, Alistair Burrowes <alistair...@gmail.com> wrote:
Um thanks. Sorry to clarify I have 2 frontend autoscaling modules. One is just serving static html and resources. The other uses endpoints to provide data. So I guess this will be minimum two instances?

Either module, w/auto-scaling, might have 0 instances if 15 minutes have elapsed since it finished serving the last request (by default -- you can specify other parameters). So, there *might* be fewer than two instances in play at a given time.


Alex

 

Alistair Burrowes

unread,
Sep 9, 2015, 1:52:47 AM9/9/15
to Google App Engine
Got it thanks!
Reply all
Reply to author
Forward
0 new messages