Re: [google-appengine] Frontend Instance Hours Limit Reached

255 views
Skip to first unread message

Andreas

unread,
Jun 14, 2012, 1:34:27 PM6/14/12
to google-a...@googlegroups.com
the app wont be served any more if you reach the quota for the free app.

how can you have a static html site with low traffic and high instance hours? 
that does not really make sense to me.

On Jun 14, 2012, at 10:26 AM, Apra Barua wrote:

Hi, 

I have a static html website hosted on GAE. 
I get very less traffic but my frontend instance hours are high. 

What happens when my frontend instance hours limits are reached?
Will my website become unavailable to public? 

Please let me know what happens and also how to reduce the frontend instance hours used.

Thanks,
Apra B

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/btEldffPzP8J.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Apra Barua

unread,
Jun 14, 2012, 11:05:18 PM6/14/12
to google-a...@googlegroups.com
Hi, 

I am just testing my website and there are no traffic to speak of except myself visiting the website. The following is my statistics: With just 15 requests to the homepage, it shows 5% of frontend instance hours consumed. If things go like this, I think my site will only serve 300 visitors a day before it runs out of instance hours limit! 

Do you think people will still be able to access the site with frontend instance hours limit reached since it is a static website and not dynamic. I read somewhere that static content is served by different servers and should still be served, as long as you don't go beyond the bandwidth limits. Is that true?

Thanks,
Apra B

On Thursday, June 14, 2012 11:04:27 PM UTC+5:30, aschmid wrote:
the app wont be served any more if you reach the quota for the free app.

how can you have a static html site with low traffic and high instance hours? 
that does not really make sense to me.
On Jun 14, 2012, at 10:26 AM, Apra Barua wrote:

Hi, 

I have a static html website hosted on GAE. 
I get very less traffic but my frontend instance hours are high. 

What happens when my frontend instance hours limits are reached?
Will my website become unavailable to public? 

Please let me know what happens and also how to reduce the frontend instance hours used.

Thanks,
Apra B

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/btEldffPzP8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.

Takashi Matsuo

unread,
Jun 15, 2012, 1:54:51 AM6/15/12
to google-a...@googlegroups.com

If you have only static files to serve, any instance shouldn't start.
Have you checked the logs in order to determine which request cause the instance to spin up?
Can you show us your app.yaml or web.xml?

-- Takashi

To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ZXupF76PYWUJ.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.



--
Takashi Matsuo | Developer Advocate | tma...@google.com

Michael Hermus

unread,
Jun 15, 2012, 10:13:23 AM6/15/12
to google-a...@googlegroups.com
You can't equate instance hours to requests directly at low traffic levels, because it is almost certain that your instance(s) are staying up much longer than they need to serve your current volume. Your quota is charged for 100% of an instance to serve a single request, when in fact it can probably serve dozens of static requests per second with that same instance.


On Thursday, June 14, 2012 11:05:18 PM UTC-4, Apra Barua wrote:
Hi, 

Apra Barua

unread,
Jun 15, 2012, 11:48:49 AM6/15/12
to google-a...@googlegroups.com
Hey, I don't know how to check logs to determine which request causes the instance to spin up. I don't think I have any web.xml file, cause I didn't upload any. My app.yaml files contains:

application: MyApplicationName
version: 1
runtime: python
api_version: 1

handlers:
- url: /(.*\.(gif|png|jpg|ico|js|css|pdf))
  static_files: \1
  upload: (.*\.(gif|png|jpg|ico|js|css|pdf))

- url: .*
  script: main.py

Does using cache minimize instance hours? If so, how can I use cache?

Thanks,
Apra B


On Friday, June 15, 2012 11:24:51 AM UTC+5:30, Takashi Matsuo (Google) wrote:

If you have only static files to serve, any instance shouldn't start.
Have you checked the logs in order to determine which request cause the instance to spin up?
Can you show us your app.yaml or web.xml?

-- Takashi
Takashi Matsuo | Developer Advocate | tma...@google.com

On Friday, June 15, 2012 11:24:51 AM UTC+5:30, Takashi Matsuo (Google) wrote:

If you have only static files to serve, any instance shouldn't start.
Have you checked the logs in order to determine which request cause the instance to spin up?
Can you show us your app.yaml or web.xml?

-- Takashi

Takashi Matsuo

unread,
Jun 17, 2012, 8:27:40 PM6/17/12
to google-a...@googlegroups.com

For checking logs, please go to:

Where are you serving your html from by the way?
If your contents are entirely static, just serve them from static handler like the first entry in your handlers definition.

Please don't forget to consider about favicon.ico. Almost all of the browsers look for the favicon file.

-- Takashi

To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/CaeAB0YLyUIJ.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Reply all
Reply to author
Forward
0 new messages