How to set more than 3 Resident instance

38 views
Skip to first unread message

poke

unread,
Sep 27, 2011, 6:27:23 AM9/27/11
to google-a...@googlegroups.com
My application using about 20 req/s .
I tried many ways to optimize my application before new price model apply .
But daily cost always getter than 30$ perday .I have 3 question .

1.I think i increase  number of resident instances will help cost go to down . I'm true ?
2.How to increase  number of resident instances ? And how many Resident instances are fit for me ?
3.On dynamic page i set two header Cache-Control: public, max-age=300 and Exprites : "one hourse after".
But number of requests to instance,resource usage,RPC apis not down  .


Tapir

unread,
Sep 27, 2011, 3:06:13 PM9/27/11
to Google App Engine
"always on"?

Tapir

unread,
Sep 27, 2011, 3:27:37 PM9/27/11
to Google App Engine
Your app handles 20 req/s, which means 1.728M req/day.
If each page uses 3.5 requests, then you app has 500K pageviews/day.
I think you at least 3-6 full instances to run your app.
I don't think there is a way you can spend under 30$.day on app
engine
with the new price model.

On Sep 27, 6:27 pm, poke <buidinhngoc.a...@gmail.com> wrote:

poke

unread,
Sep 27, 2011, 9:30:54 PM9/27/11
to Google App Engine
Thanks .
But please answer me 3 question to help me understand , how it work ?

Johan Euphrosine

unread,
Sep 28, 2011, 6:02:45 AM9/28/11
to google-a...@googlegroups.com
Hi Poke,

Is your application using Python or Java ? What is your application id ?

1/ 2/ I don't think raising Min-Idle-Instance would help your cost to
go down, on the opposite it is likely to introduce new costs since the
scheduler will make sure there is always at least Min-Idle-Instance
around to serve potential traffic spike.

I think you should consider paying for *Reserved Instance Hours* once
the new pricing model is out.

As described here:
http://code.google.com/appengine/kb/postpreviewpricing.html#different_on_demand_instance_reserved

It will allow you to get a discount on instances hours by
pre-committing to a certain amount of instance hours per week.

3/ About Cache-Control header, can you give us a public url of one of
your handler that is reproducing this issue ?

Thanks in advance.

> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> 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.
>

--
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

Reply all
Reply to author
Forward
0 new messages