Re: [google-appengine] Typo in Official GAE Pricing Page

2011-09-23 Thread Gregory D'alesandre
Thank you for highlighting, it is indeed inaccurate on the external page and
we are in the process of fixing it!

Greg
On Sep 23, 2011 7:40 PM, "Albert"  wrote:
> There's a possible typo in the Official GAE Pricing Page.
>
> In my Billing History, it says...
>
> Datastore Writes:
> $1.00/Million Ops
>
> Datastore Reads:
> $0.70/Million Ops
>
> Small Datastore Operations:
> $0.10/Million Ops
>
> That looks correct, but in the official pricing page here
> http://www.google.com/enterprise/cloud/appengine/pricing.html, it
> says...
>
> Datastore API
>
> $0.01/10k write ops
> $0.07/10k read ops
> $0.01/100k small ops
>
> $0.07/10k read ops. That would translate to $7.00 / Million Read Ops.
> That can't be right.
>
> Please check. Thanks!
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.
>

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Typo in Official GAE Pricing Page

2011-09-23 Thread Albert
There's a possible typo in the Official GAE Pricing Page.

In my Billing History, it says...

Datastore Writes:
$1.00/Million Ops

Datastore Reads:
$0.70/Million Ops

Small Datastore Operations:
$0.10/Million Ops

That looks correct, but in the official pricing page here
http://www.google.com/enterprise/cloud/appengine/pricing.html, it
says...

Datastore API

$0.01/10k write ops
$0.07/10k read ops
$0.01/100k small ops

$0.07/10k read ops. That would translate to $7.00 / Million Read Ops.
That can't be right.

Please check. Thanks!

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Any plans to open TaskQueueFetchQueueStats?

2011-09-23 Thread Greg Darke (Google)
If you would like this feature, please file feature request on the
issue tracker: http://code.google.com/p/googleappengine/issues/list.

You can currently get the same details by looking at the admin
console: https://appengine.google.com/

On 22 September 2011 05:26, Jason Collins  wrote:
> There are API points to retrieve task queue stats. E.g.,
>
>  request = taskqueue_service_pb.TaskQueueFetchQueueStatsRequest()
>  response = taskqueue_service_pb.TaskQueueFetchQueueStatsResponse()
>  e.MakeSyncCall('taskqueue', 'FetchQueueStats', request, response)
>
> However, these seem to return Application Error: 9 (permission
> denied).
>
> Any plans to simply flip this on so that we can have a peek at our
> queues?
> j
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Is the "Download the Google App Engine Documentation" link to the zip file broken?

2011-09-23 Thread PK
I just got a 404 trying to download, other content like the 1.5.4 SDK 
downloaded fine. The page is here:  Is it only me or there is a real issue 
with the link?

http://code.google.com/appengine/downloads.html#Download_the_Google_App_Engine_Documentation
 
Thanks,
PK 

-- 
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/-/q-CqFcqGanoJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: What happens to URLFetch Async Call that is left alone?

2011-09-23 Thread Albert
Got it.

Thanks!

On Sep 23, 1:33 pm, keakon  wrote:
> Hi Greg,
>
> So what Nick said here was just current implement, and it's not safe
> to rely on 
> it?https://groups.google.com/group/google-appengine/browse_thread/thread...
>
> On Sep 23, 12:45 pm, "Greg Darke (Google)" 
> wrote:
>
>
>
>
>
>
>
> > It is undefined, and thus you should not do it.
>
> > On 23 September 2011 14:35, Albert  wrote:
>
> > > Thanks!
>
> > > How about in the Production environment? What's the behavior there?
>
> > > On Sep 22, 10:52 pm, keakon lolicon  wrote:
> > >> The SDK will automatically create a RPC object for async function, or you
> > >> can create it by yourself.
> > >> Before the end of your response, the RPC object will block the respond 
> > >> and
> > >> wait until it's done, and no callback will be called.
> > >> However, it looks like the local dev server just ignores it.
>
> > >> --
> > >> keakon
>
> > >> My blog(Chinese):www.keakon.net
> > >> Blog source code:https://bitbucket.org/keakon/doodle/
>
> > >> On Fri, Sep 23, 2011 at 8:17 AM, Albert  wrote:
> > >> > Suppose I call URLFetch Async, and then I return a response to the
> > >> > user without calling get_result().
>
> > >> > 1. Does a frontend instance wait for the response of the fetched URL,
> > >> > and consume instance time? Or does some background appengine server
> > >> > handle that for me, and then just discards the response of the url
> > >> > because I never called get_result()?
>
> > >> > 2. Is the behavior the same for datastore async, memcache async, and
> > >> > other async calls?
>
> > >> > Thanks!
>
> > >> > --
> > >> > 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-appengine@googlegroups.com.
> > >> > To unsubscribe from this group, send email to
> > >> > google-appengine+unsubscr...@googlegroups.com.
> > >> > For more options, visit this group at
> > >> >http://groups.google.com/group/google-appengine?hl=en.
>
> > > --
> > > 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-appengine@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: How to throttle or batch transactional updates to an entity group

2011-09-23 Thread Nikolaj
Steve, I thought I had gotten everything out of that talk but clearly
I was sleeping in class!

The memcache fork join queue looks very interesting - I'm definitely
giving that a try.

Nikolaj

On Sep 23, 1:00 am, Steve Sherrie  wrote:
> Definitely checkout Brett Slatkin's Building high-throughput data
> pipelines with Google App Engine
> 
> I/O Session which should give you a fundamental understanding of the
> caveats involved with batch writing.
>
> You have to do a little work to make sure writes are not added to a
> batch that's already applied (or is otherwise invalid), but Brett
> explains how to do that with memcache locking.
>
> Steve
>
> On 11-09-22 07:11 PM, Brandon Wirtz wrote:
>
>
>
>
>
>
>
> > Start a another datastore that doesn't use the same entity, but uses an
> > incremental system.
>
> > On Write:
> > In a table with format
> > Writes to do, Entity to Overwrite, Data for Entity
> > 1,Brandon Wirtz, +$120
> > 2,Brandon Wirtz, -$120
> > 3,Brandon Wirtz, +$0.66
>
> > Increment Write to do count, and store transaction.
>
> > If a  Read request for the entity comes in:
> > Get Entity
> > Get Latest committed "Write To Do Value"
> > Check Write Cache
> > Recalculate Value based on Entity Value and All Changes
>
> > On Batch:
> > For batch size calculate all values, and update entities
> > Store Late todo value as Last committed write.
>
> > You can now batch as often as every 2 seconds and not hit the entity write
> > limit.
>
> > -Original Message-
> > From: google-appengine@googlegroups.com
> > [mailto:google-appengine@googlegroups.com] On Behalf Of Nikolaj
> > Sent: Thursday, September 22, 2011 3:59 PM
> > To: Google App Engine
> > Subject: [google-appengine] How to throttle or batch transactional updates
> > to an entity group
>
> > Hi there,
>
> > I'm developing an application that requires me to create lots of child
> > entities within the same entity group transactionally. The tasks being
> > generated to do this come in unpredictable bursts - sometimes 100/s for an
> > entity group. This is clearly exceeding the 1/s limit for transaction
> > contention and causing some real problems for my poor application.
>
> > I need a way to either batch the required updates for each entity group so I
> > can run through them serially or otherwise schedule each update to run on a
> > 1/s basis. The ideas I've come up with so far:
>
> > 1. Use some kind of memcache'd timestamp or counter to schedule or throttle
> > the updates. My question is how to do this in a way that will work with
> > 100's of tasks hungrily looking for their time slot? Should I do a CAS for
> > when the last task was scheduled (would this even work with the contention
> > we're talking about?) or can I use an atomic operation like incr() somehow?
>
> > 2. Store the work items somewhere and then at some later time query for the
> > work items for an entity group and create the children in serial. I'd like
> > to avoid this, if possible, as it creates many other headaches. My
> > application is already using the taskqueue to great effect.
>
> > This really seems like a queue problem - if only there was some kind of
> > dynamic subqueue where I could add tasks with a 'namespace' of the entity
> > group. Then entity groups could run in parallel, but the entity group items
> > would still be in serial. Does something like that exist?
>
> > Any suggestions or experiences on how I can work around this would be
> > appreciated.
>
> > Many thanks,
>
> > Nikolaj
>
> > --
> > 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-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] Another perspective on the upcoming datastore prices

2011-09-23 Thread Brandon Wirtz
I am, and I'll read if I have an NDA to honor before providing details.
That said, if you look through the archives you can find screen shots where
90% of my CPU usage comes in the form of API calls, so my concurrency is not
likely to be typical compared to most other users.


-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Alex Epshteyn
Sent: Friday, September 23, 2011 2:05 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] Another perspective on the upcoming
datastore prices

How do you know what your costs will be with Python 2.7, Brandon?  I don't
believe it is available yet, so are you using it as a "trusted tester"?  If
so, I'd be curious to know how many concurrent threads you can get per
instance with Python 2.7.


On Fri, Sep 23, 2011 at 4:50 PM, Brandon Wirtz  wrote:
> I monetize quite a few of my applications with Adsense, GAE 
> Drastically lowered my hosting costs on the old billing, and since 
> moving to Python 2.7 they are in check for the new billing as well.  
> If I could have old billing and 2.7 I'd be really excited... but 2.7 
> brings my costs inline with what I had anticipated post beta to look like.
>
> -Brandon
>
> -Original Message-
> From: google-appengine@googlegroups.com 
> [mailto:google-appengine@googlegroups.com] On Behalf Of Alex Epshteyn
> Sent: Friday, September 23, 2011 10:59 AM
> To: Google App Engine
> Cc: appengine_updated_pric...@google.com
> Subject: [google-appengine] Another perspective on the upcoming 
> datastore prices
>
> Consider an average dynamic page in any web application.  It might do 
> one entity write and fetch a small result set.  Under the new GAE 
> billing model, this might cost 25 Write Ops, and 21 Read Ops (a pretty 
> conservative estimate).
>
> Those amount to ~ $40 per million page views, which is more than the 
> average revenue from Google AdSense for the same million pageviews!
>
> There's something really wrong with this picture.  The reason AdSense 
> does so well is that web hosting in this day and age costs a lot less 
> than what AdSense earns.  But now GAE hosting is about to cost much 
> more than what AdSense earns (and so far I only counted just the 
> datastore ops, so the true costs might be 2-3x higher than $40 per million
pageviews).
>
> The bottom line: developers will be losing money by hosting an ad- 
> supported application on GAE!
>
> What's going on here? Google App Engine was supposed to be more cost- 
> effective than the alternatives, but these new prices seem to be 
> totally out of whack with the reality of current web economics.
>
> To the management at Google who came up with these prices: please 
> consider consulting the AdSense team before these prices go into effect!
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.
>
>

--
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.


-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] expanding OAuth2 scopes

2011-09-23 Thread thstart
my users allowed authorization for one 
OAuth2 scope in Gmail account.

Now I want them to accept another authorization for another scope
and from this time on my app to have an access to combined scope.

The question is how to check what scope current credentials have
and to request the new scope if it doesn't.


-- 
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/-/eKLSk8JdV1AJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Another perspective on the upcoming datastore prices

2011-09-23 Thread Alex Epshteyn
How do you know what your costs will be with Python 2.7, Brandon?  I
don't believe it is available yet, so are you using it as a "trusted
tester"?  If so, I'd be curious to know how many concurrent threads
you can get per instance with Python 2.7.


On Fri, Sep 23, 2011 at 4:50 PM, Brandon Wirtz  wrote:
> I monetize quite a few of my applications with Adsense, GAE Drastically
> lowered my hosting costs on the old billing, and since moving to Python 2.7
> they are in check for the new billing as well.  If I could have old billing
> and 2.7 I'd be really excited... but 2.7 brings my costs inline with what I
> had anticipated post beta to look like.
>
> -Brandon
>
> -Original Message-
> From: google-appengine@googlegroups.com
> [mailto:google-appengine@googlegroups.com] On Behalf Of Alex Epshteyn
> Sent: Friday, September 23, 2011 10:59 AM
> To: Google App Engine
> Cc: appengine_updated_pric...@google.com
> Subject: [google-appengine] Another perspective on the upcoming datastore
> prices
>
> Consider an average dynamic page in any web application.  It might do one
> entity write and fetch a small result set.  Under the new GAE billing model,
> this might cost 25 Write Ops, and 21 Read Ops (a pretty conservative
> estimate).
>
> Those amount to ~ $40 per million page views, which is more than the average
> revenue from Google AdSense for the same million pageviews!
>
> There's something really wrong with this picture.  The reason AdSense does
> so well is that web hosting in this day and age costs a lot less than what
> AdSense earns.  But now GAE hosting is about to cost much more than what
> AdSense earns (and so far I only counted just the datastore ops, so the true
> costs might be 2-3x higher than $40 per million pageviews).
>
> The bottom line: developers will be losing money by hosting an ad- supported
> application on GAE!
>
> What's going on here? Google App Engine was supposed to be more cost-
> effective than the alternatives, but these new prices seem to be totally out
> of whack with the reality of current web economics.
>
> To the management at Google who came up with these prices: please consider
> consulting the AdSense team before these prices go into effect!
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] How to get free tier?

2011-09-23 Thread Brandon Wirtz
Free, and Infinite will rarely be something you can have both of. :-)  

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Gregory D'alesandre
Sent: Friday, September 23, 2011 1:20 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] How to get free tier?

 

Hi J,

 

When you create an application you are automatically in the free tier.  You
can switch to the paid tier by adding credit card information and choosing a
maximum budget per day.  In the free tier you can't exceed quota limits, so
if you app hits those limits it will no longer be able to use that resource
until the following day when the limits are reset.  For many of these limits
it means your app will likely stop running (for instance, if you run out of
Frontend Instance Hours you can no longer serve traffic through your
Frontends).  Once you are in the paid tier you'll use free quota each day
until it is used up and then pay for what you use with a minimum payment of
$2.10/week.  

 

You can handle traffic spikes in the free tier but it will consume more
resources.  So, for instance, you get 28 Frontend Instance Hours for free
each day.  If you are serving traffic from a single instance all day until
1PM and then have a traffic spike from 1 - 2 which consumes 10 instance
hours, you'll have used 23 of the 28 instance hours for that day and so will
only be able to use 5 more instance hours for the rest of the day.  So,
while there is scalability in the free tier there is not infinite
scalability as you are limited by the number of instance hours.

 

I hope that helps, feel free to ask if you have any additional questions!

 

Greg

On Fri, Sep 23, 2011 at 12:41 PM, J  wrote:

Maybe I'm the only one but I find the new pricing page incredibly confusing
to read: http://www.google.com/enterprise/cloud/appengine/pricing.html

 

It looks like there's still a free tier, but it doesn't include usage based
pricing, infinite scalability, and SLA.  My question is how do I get the
free tier?  Is this setting somewhere?  Or is this determined automatically
by GAE?

 

If I use the free tier (once I figure out how), and it doesn't include usage
based pricing or infinite scalability, what actually happens when I exceed
free quota limits (in regards to usage based pricing) or if traffic spikes
(in regards to infinite scalability)?

 

Thanks,

J

-- 
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/-/Gej5oDRF-6oJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com
 .
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

 

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] Another perspective on the upcoming datastore prices

2011-09-23 Thread Brandon Wirtz
I monetize quite a few of my applications with Adsense, GAE Drastically
lowered my hosting costs on the old billing, and since moving to Python 2.7
they are in check for the new billing as well.  If I could have old billing
and 2.7 I'd be really excited... but 2.7 brings my costs inline with what I
had anticipated post beta to look like.

-Brandon

-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Alex Epshteyn
Sent: Friday, September 23, 2011 10:59 AM
To: Google App Engine
Cc: appengine_updated_pric...@google.com
Subject: [google-appengine] Another perspective on the upcoming datastore
prices

Consider an average dynamic page in any web application.  It might do one
entity write and fetch a small result set.  Under the new GAE billing model,
this might cost 25 Write Ops, and 21 Read Ops (a pretty conservative
estimate).

Those amount to ~ $40 per million page views, which is more than the average
revenue from Google AdSense for the same million pageviews!

There's something really wrong with this picture.  The reason AdSense does
so well is that web hosting in this day and age costs a lot less than what
AdSense earns.  But now GAE hosting is about to cost much more than what
AdSense earns (and so far I only counted just the datastore ops, so the true
costs might be 2-3x higher than $40 per million pageviews).

The bottom line: developers will be losing money by hosting an ad- supported
application on GAE!

What's going on here? Google App Engine was supposed to be more cost-
effective than the alternatives, but these new prices seem to be totally out
of whack with the reality of current web economics.

To the management at Google who came up with these prices: please consider
consulting the AdSense team before these prices go into effect!

--
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.


-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] How to get free tier?

2011-09-23 Thread Gregory D'alesandre
Hi J,

When you create an application you are automatically in the free tier.  You
can switch to the paid tier by adding credit card information and choosing a
maximum budget per day.  In the free tier you can't exceed quota limits, so
if you app hits those limits it will no longer be able to use that resource
until the following day when the limits are reset.  For many of these limits
it means your app will likely stop running (for instance, if you run out of
Frontend Instance Hours you can no longer serve traffic through your
Frontends).  Once you are in the paid tier you'll use free quota each day
until it is used up and then pay for what you use with a minimum payment of
$2.10/week.

You can handle traffic spikes in the free tier but it will consume more
resources.  So, for instance, you get 28 Frontend Instance Hours for free
each day.  If you are serving traffic from a single instance all day until
1PM and then have a traffic spike from 1 - 2 which consumes 10 instance
hours, you'll have used 23 of the 28 instance hours for that day and so will
only be able to use 5 more instance hours for the rest of the day.  So,
while there is scalability in the free tier there is not infinite
scalability as you are limited by the number of instance hours.

I hope that helps, feel free to ask if you have any additional questions!

Greg

On Fri, Sep 23, 2011 at 12:41 PM, J  wrote:

> Maybe I'm the only one but I find the new pricing page incredibly confusing
> to read: http://www.google.com/enterprise/cloud/appengine/pricing.html
>
> It looks like there's still a free tier, but it doesn't include usage based
> pricing, infinite scalability, and SLA.  My question is how do I get the
> free tier?  Is this setting somewhere?  Or is this determined automatically
> by GAE?
>
> If I use the free tier (once I figure out how), and it doesn't include
> usage based pricing or infinite scalability, what actually happens when I
> exceed free quota limits (in regards to usage based pricing) or if traffic
> spikes (in regards to infinite scalability)?
>
> Thanks,
> J
>
> --
> 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/-/Gej5oDRF-6oJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How to get free tier?

2011-09-23 Thread J
Maybe I'm the only one but I find the new pricing page incredibly confusing 
to read: http://www.google.com/enterprise/cloud/appengine/pricing.html

It looks like there's still a free tier, but it doesn't include usage based 
pricing, infinite scalability, and SLA.  My question is how do I get the 
free tier?  Is this setting somewhere?  Or is this determined automatically 
by GAE?

If I use the free tier (once I figure out how), and it doesn't include usage 
based pricing or infinite scalability, what actually happens when I exceed 
free quota limits (in regards to usage based pricing) or if traffic spikes 
(in regards to infinite scalability)?

Thanks,
J

-- 
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/-/Gej5oDRF-6oJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: How do I create Google spreadsheet from my html table?

2011-09-23 Thread voscausa
submit your data to app engine and and download the data as csv. With Excel 
you can read the CSV
To download the data you van use :
self.response.headers['Content-Type'] = 'application/csv'
self.response.headers['Content-Disposition'] = 'attachment; 
filename=%s.csv' % (file_batch)
after that you can send the rows with : self.response.out.write

In my case I also added a UTF-8 BOM before the header :
self.response.out.write(codecs.BOM_UTF8.decode('utf-8') + csv_header + '\n')



-- 
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/-/pPhGf6uBLdkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Another perspective on the upcoming datastore prices

2011-09-23 Thread Timofey Koolin
In GAE you must cache often used data in memcache to reduce cost and
latency.

2011/9/23 Alex Epshteyn 

> Correction: my math is probably off by a factor of about 10 on the
> AdSense revenue estimate, and I apologize for my quickness in jumping
> to my conclusion.
>
> But still, we're talking about some pretty narrow margins here.
>
>
> On Sep 23, 1:58 pm, Alex Epshteyn 
> wrote:
> > Consider an average dynamic page in any web application.  It might do
> > one entity write and fetch a small result set.  Under the new GAE
> > billing model, this might cost 25 Write Ops, and 21 Read Ops (a pretty
> > conservative estimate).
> >
> > Those amount to ~ $40 per million page views, which is more than the
> > average revenue from Google AdSense for the same million pageviews!
> >
> > There's something really wrong with this picture.  The reason AdSense
> > does so well is that web hosting in this day and age costs a lot less
> > than what AdSense earns.  But now GAE hosting is about to cost much
> > more than what AdSense earns (and so far I only counted just the
> > datastore ops, so the true costs might be 2-3x higher than $40 per
> > million pageviews).
> >
> > The bottom line: developers will be losing money by hosting an ad-
> > supported application on GAE!
> >
> > What's going on here? Google App Engine was supposed to be more cost-
> > effective than the alternatives, but these new prices seem to be
> > totally out of whack with the reality of current web economics.
> >
> > To the management at Google who came up with these prices: please
> > consider consulting the AdSense team before these prices go into
> > effect!
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
С уважением,
Кулин Тимофей.

Телефон: +7 (4852) 974793
ICQ: 114902104
email: timo...@koolin.ru
Blog: http://timofey.koolin.ru

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] How do I create Google spreadsheet from my html table?

2011-09-23 Thread Barry Hunter
At the same time it renders the table, it could send the data to a spreadsheet?

http://code.google.com/apis/spreadsheets/

On Fri, Sep 23, 2011 at 7:24 PM, quincy@gmail.com
 wrote:
> My javascript application running on Google app engine creates a html
> table.
> How do I create a Google spreadsheet from the html table?
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How do I create Google spreadsheet from my html table?

2011-09-23 Thread quincy....@gmail.com
My javascript application running on Google app engine creates a html
table.
How do I create a Google spreadsheet from the html table?

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How do I create Google spreadsheet from my html table?

2011-09-23 Thread quincy....@gmail.com
My javascript application running on Google app engine creates a html
table.
How do I create a Google spreadsheet from the html table?

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Another perspective on the upcoming datastore prices

2011-09-23 Thread Alex Epshteyn
Correction: my math is probably off by a factor of about 10 on the
AdSense revenue estimate, and I apologize for my quickness in jumping
to my conclusion.

But still, we're talking about some pretty narrow margins here.


On Sep 23, 1:58 pm, Alex Epshteyn 
wrote:
> Consider an average dynamic page in any web application.  It might do
> one entity write and fetch a small result set.  Under the new GAE
> billing model, this might cost 25 Write Ops, and 21 Read Ops (a pretty
> conservative estimate).
>
> Those amount to ~ $40 per million page views, which is more than the
> average revenue from Google AdSense for the same million pageviews!
>
> There's something really wrong with this picture.  The reason AdSense
> does so well is that web hosting in this day and age costs a lot less
> than what AdSense earns.  But now GAE hosting is about to cost much
> more than what AdSense earns (and so far I only counted just the
> datastore ops, so the true costs might be 2-3x higher than $40 per
> million pageviews).
>
> The bottom line: developers will be losing money by hosting an ad-
> supported application on GAE!
>
> What's going on here? Google App Engine was supposed to be more cost-
> effective than the alternatives, but these new prices seem to be
> totally out of whack with the reality of current web economics.
>
> To the management at Google who came up with these prices: please
> consider consulting the AdSense team before these prices go into
> effect!

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Another perspective on the upcoming datastore prices

2011-09-23 Thread Alex Epshteyn
Consider an average dynamic page in any web application.  It might do
one entity write and fetch a small result set.  Under the new GAE
billing model, this might cost 25 Write Ops, and 21 Read Ops (a pretty
conservative estimate).

Those amount to ~ $40 per million page views, which is more than the
average revenue from Google AdSense for the same million pageviews!

There's something really wrong with this picture.  The reason AdSense
does so well is that web hosting in this day and age costs a lot less
than what AdSense earns.  But now GAE hosting is about to cost much
more than what AdSense earns (and so far I only counted just the
datastore ops, so the true costs might be 2-3x higher than $40 per
million pageviews).

The bottom line: developers will be losing money by hosting an ad-
supported application on GAE!

What's going on here? Google App Engine was supposed to be more cost-
effective than the alternatives, but these new prices seem to be
totally out of whack with the reality of current web economics.

To the management at Google who came up with these prices: please
consider consulting the AdSense team before these prices go into
effect!

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] cookie in googleappengine

2011-09-23 Thread Sandeep Koduri
Try this..

cookie = "coockieName=dataHere;expires=%s;path=/" % someDate
self.response.headers.add_header('Set-Cookie',cookie)
self.request.cookies['zKeyCookie']=dataKey

On Fri, Sep 23, 2011 at 5:27 PM, smita  wrote:

> I use appengine_utilities for session management in googleappengine.
> Now want to create cookie in googleappengin.
>
> How I can implement it in googleappengine?
>
> Thanks
>
> Smita
>
> --
> 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-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Regards
Sandeep Koduri
Phone: +91- 99 666 02 456
Gtalk: sandeep.koduri | Skype: sandeep.koduri
P Please consider the environment before printing this email

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Managing Dev and Live versions

2011-09-23 Thread Jeff Deskins
I created a different application under "My Applications" for my test 
server.  That way I don't have to worry about Test data getting mixed in 
with Production data.  This also allows me to do any kind of load testing 
without interfering with the live site.  I can then adjust the code after 
reviewing appstats to optimize performance.

Once I move it to production, I verify it is working properly under that new 
version name/number before setting is as the default, as Tim said.

Jeff

-- 
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/-/YewL2UIHtAAJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] cookie in googleappengine

2011-09-23 Thread smita
I use appengine_utilities for session management in googleappengine.
Now want to create cookie in googleappengin.

How I can implement it in googleappengine?

Thanks

Smita

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Support for HTTP Patch in URLFetch

2011-09-23 Thread Sean Murphy
Hi,

Issue for GAE-python.

I'm doing some work using the Salesforce REST API. This API uses the HTTP 
Patch
command to update an object in SF. I note that URLFetch currently does not 
support
Patch - any plans to support in future?

I think the solution is to use httplib2 - it's a bit clunky, however.

Thoughts/comments appreciated.

BR,
Seán.

-- 
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/-/bnDsbTzsfYgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Managing Dev and Live versions

2011-09-23 Thread Martin Waller
Hi,

Does that mean you create a different application for each dev/test - as shown 
on the "My Applicatiions" Page. I'm not sure how you create different instance 
in the cloud, I can see how you might do it on a local test server. If you do 
upload multiple versions - by changing appengine-web.xml - you could have 
instances of the different version running but do they not share datastore and 
memcache?

Martin

On 23 Sep 2011, at 10:25, Tim Hoffman wrote:

> Hi
> 
> I run a complete separate instances for dev/test/uat with their own data.
> 
> Then final testing with live data in production instances before making the 
> new version the default.
> 
> 
> Rgds
> 
> Tim
> 
> 
> 
> -- 
> 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/-/Gc-EWjmFwEYJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] calling out the app engine team on ssl for custom domains

2011-09-23 Thread Jeff Schnitzer
Try this out:

http://blog.cloudflare.com/ssl-on-custom-domains-for-appengine-and-other

When our business is ready to launch, this is our intended plan for
always-SSL for our app.  Cloudflare does edge caching for all content
too - possibly better than Google's (wholly undocumented and not
guaranteed) edge cache.

I hate to plug a solution that I haven't tried yet, but it looks
promising.  Try it out and let me know, or you can wait for my report
towards the end of the year.

Jeff

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Managing Dev and Live versions

2011-09-23 Thread Tim Hoffman
Hi

I run a complete separate instances for dev/test/uat with their own data.

Then final testing with live data in production instances before making the 
new version the default.


Rgds

Tim


-- 
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/-/Gc-EWjmFwEYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: chat application design help app engine

2011-09-23 Thread Gerald Tan
If you perform the matching in a Task Queue, it should be synchronous.
This may require the user to poll the app until they get a match.

-- 
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/-/bbY7U51AENYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] Managing Dev and Live versions

2011-09-23 Thread Brandon Wirtz
In my stuff...

App Versions for "Live" are pure numbers, all Devs/debug/beta contain Alpha
Characters

If  INT Version == Version { DataStore/Memcache = Live} Else
{DataStore/Memcache = Debug}

For memcache make sure to prefix or differentiate your keys in some way.

Depending on my testing often I do reads from live always and writes to the
live or debug based on version.

I often mix Java and Python between Versions so I can run performance
testing between the two.


-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Martin Waller
Sent: Friday, September 23, 2011 1:38 AM
To: Google App Engine
Subject: [google-appengine] Managing Dev and Live versions

I was wondering what the best advice is for managing a live version of an
app and a dev version of an app? I found the following on the web:

1. App Versions are strings, not numbers Although most of the examples show
the 'version' field in app.yaml and appengine-web.xml as a number, that's
just a matter of convention. App versions can be any string that's allowed
in a URL. For example, you could call your versions "live" and "dev", and
they would be accessible at "live.latest.yourapp.appspot.com" and
"dev.latest.yourapp.appspot.com".
2. You can have multiple versions of your app running simultaneously As we
alluded to in point 1, App Engine permits you to deploy multiple versions of
your app and have them running side-by-side. All the versions share the
samedatastore and memcache, but they run in separate instances and have
different URLs. Your 'live' version always serves off yourapp.appspot.com as
well as any domains you have mapped, but all your app's versions are
accessible at version.latest.yourapp.appspot.com. Multiple versions are
particularly useful for testing a new release in a production environment,
on real data, before making it available to all your users.
Something that's less known is that the different app versions don't even
have to have the same runtime! It's perfectly fine to have one version of an
app using the Java runtime and another version of the same app using the
Python runtime.

What I don't like about this is that all the versions share the same
datastore and memcache which is fine if you want to test on live data but if
you want a test datastore where to can delete everything and go again then
it's not going to work. How do people manage this? Do they setup two
distinct apps to do this I wonder?

Many thanks for any help you can give.

Martin

--
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.


-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Managing Dev and Live versions

2011-09-23 Thread Martin Waller
I was wondering what the best advice is for managing a live version of
an app and a dev version of an app? I found the following on the web:

1. App Versions are strings, not numbers
Although most of the examples show the 'version' field in app.yaml and
appengine-web.xml as a number, that's just a matter of convention. App
versions can be any string that's allowed in a URL. For example, you
could call your versions "live" and "dev", and they would be
accessible at "live.latest.yourapp.appspot.com" and
"dev.latest.yourapp.appspot.com".
2. You can have multiple versions of your app running simultaneously
As we alluded to in point 1, App Engine permits you to deploy multiple
versions of your app and have them running side-by-side. All the
versions share the samedatastore and memcache, but they run in
separate instances and have different URLs. Your 'live' version always
serves off yourapp.appspot.com as well as any domains you have mapped,
but all your app's versions are accessible at
version.latest.yourapp.appspot.com. Multiple versions are particularly
useful for testing a new release in a production environment, on real
data, before making it available to all your users.
Something that's less known is that the different app versions don't
even have to have the same runtime! It's perfectly fine to have one
version of an app using the Java runtime and another version of the
same app using the Python runtime.

What I don't like about this is that all the versions share the same
datastore and memcache which is fine if you want to test on live data
but if you want a test datastore where to can delete everything and go
again then it's not going to work. How do people manage this? Do they
setup two distinct apps to do this I wonder?

Many thanks for any help you can give.

Martin

-- 
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-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.