Re: [google-appengine] X-AppEngine-City

2011-10-06 Thread Juha K
Yeah, I removed my post after 2 mins when I tested the API and realized that 
it returned null every time. You were faster :)

-- 
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/-/uVVECLrLW1EJ.
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] X-AppEngine-City

2011-10-06 Thread Jeff Schnitzer
On Thu, Oct 6, 2011 at 9:17 PM, Juha K  wrote:
> How about using
> http://www.google.com/jsapi and google.loader.ClientLocation.address.city on
> the client side?

It doesn't work anymore.  At least, it doesn't work for me here in the
Bay Area anymore.  And Google has  pulled down all documentation for
it, so presumably it has been deprecated.

Too bad, it's exactly what I want.

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.



Re: [google-appengine] X-AppEngine-City

2011-10-06 Thread Juha K
How about using http://www.google.com/jsapi and 
google.loader.ClientLocation.address.city 
on the client side?

-- 
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/-/RQ_b-JU_G2wJ.
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] X-AppEngine-City

2011-10-06 Thread Jeff Schnitzer
This code is horrific:  http://www.maxmind.com/app/java

It's horrific because doesn't allow for working with anything other
than a RandomAccessFile, which is the interface I had to mock in order
to get it working.  It's horrific because it's full of magic numbers
and bizarre data structures without documentation.

Why do you want to run it agains the datastore?  The free version fits
in frontend RAM.  The "full" version will fit in backend RAM.  Or run
it on a linode server.  The idea of deciphering Maxmind's wacky data
structures gives me nightmares.

Jeff

On Thu, Oct 6, 2011 at 4:10 PM, Krishna Patel  wrote:
> Jeff,
> Which code is horrific?
>
> I was going to load the Maxmind database into custom entities - so I don't
> see why it's a big deal if it's tough to load a split file a single time.
> After it's loaded into custom entities all of my geo queries would run
> against the datastore. Maybe I'm misunderstanding you.
> Krishna
>
> On Thu, Oct 6, 2011 at 9:33 PM, Jeff Schnitzer  wrote:
>>
>> Maxmind's database doesn't work this way.  It's a flat file that gets
>> pulled entirely into RAM.  The code is horrific and it's nontrivial to
>> make it read from anything other than a filesystem.  We had to hack it
>> heavily just to read from a three-way-split file.
>>
>> The downside is that an app instance is slow to startup because it
>> needs to pull 30MB off of Google's incredibly slow filesystem.  But
>> once it's running, lookups are pretty much instantaneous and
>> zero-cost.
>
> --
> 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] Re: How many times did Google Apps Engine went down since it's launch

2011-10-06 Thread Greg
I haven't seen any downtime since I moved to the HR datastore. I run
my entire (small) business on Appengine now, and am very comfortable
with that decision.

Having said that, it depends on your application. If it is a general
business app, then you'll be fine on Appengine. But if people or your
business will die if it goes down for ten minutes, you need to make
other (very expensive) arrangements.

-- 
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] MySQL on GAE becomes a reality ?

2011-10-06 Thread James Broberg
Very interesting.

I wonder how many writes/second it can do.

-James

On 7 October 2011 09:17, Tim  wrote:
>
> In case anyone missed it, a full SQL database is in "limited preview"
>   http://googleappengine.blogspot.com/2011/10/google-cloud-sql-your-database-in-cloud.html
>   http://code.google.com/apis/sql/
> Quote:  fully-managed service that maintains, manages, and administers your
> databases, [...] offering the capabilities of a MySQL database [...] allows
> for high data portability [...] quickly leverage your existing database
> (using JDBC and/or DB-API) in your App Engine application
> It's a bit late here in Europe for me to start digging into it, and pricing
> is yet to be announced, but for some of us who're only now looking at M/S ->
> H/R migration (typically under Python 2.7 migration pressure) and are having
> worries about how the enforced entity groups, consistency and read/write
> rates may affect us, this might be worth waiting for (but I expect it'll be
> priced at a premium)
>
> --
> 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/-/v5ede30nRQQJ.
> 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] X-AppEngine-City

2011-10-06 Thread James Broberg
Jeff,

This made me smile as we did the exact same thing. Split the maxmind
database in 3 and reconstituted the file in code.

We initialise the database in a warm up task so it gets loaded into
memory. It's quite speedy after that (but it does take up a chunk of
memory)

cheers

James

On 7 October 2011 08:28, Jeff Schnitzer  wrote:
> No point.  It fits into a frontend instance - currently occupying around 108 
> MB.
>
> I'd post my code that reconstitutes the three part file into one, but
> it's pointless with the 30MB file limit raise around the corner.
>
> Jeff
>
> 2011/10/6 Ronoaldo José de Lana Pereira :
>> Jeff,
>>
>> Does your aproach plays well as a backend?
>>
>> -Ronoaldo
>>
>> --
>> 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/-/tggusylTQdsJ.
>> 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] Fwd: One-To-Many RElations Serialization

2011-10-06 Thread Bruno Sandivilli
-- Forwarded message --
From: Bruno Sandivilli 
Date: 2011/10/6
Subject: One-To-Many RElations Serialization
To: google-web-tool...@googlegroups.com


I'm getting this error when my RPC returns a list of a custom object:
Type 'org.datanucleus.sco.backed.List' was not included in the set of types
which can be serialized by this SerializationPolicy or its Class object
could not be loaded. For security purposes, this type will not be
serialized.

-- 
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] X-AppEngine-City

2011-10-06 Thread Krishna Patel
Jeff,

Which code is horrific?

I was going to load the Maxmind database into custom entities - so I don't
see why it's a big deal if it's tough to load a split file a single time.
After it's loaded into custom entities all of my geo queries would run
against the datastore. Maybe I'm misunderstanding you.

Krishna

On Thu, Oct 6, 2011 at 9:33 PM, Jeff Schnitzer  wrote:
>
> Maxmind's database doesn't work this way.  It's a flat file that gets
> pulled entirely into RAM.  The code is horrific and it's nontrivial to
> make it read from anything other than a filesystem.  We had to hack it
> heavily just to read from a three-way-split file.
>
> The downside is that an app instance is slow to startup because it
> needs to pull 30MB off of Google's incredibly slow filesystem.  But
> once it's running, lookups are pretty much instantaneous and
> zero-cost.
>

-- 
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] MySQL on GAE becomes a reality ?

2011-10-06 Thread Tim

In case anyone missed it, a full SQL database is in "limited preview"

  
http://googleappengine.blogspot.com/2011/10/google-cloud-sql-your-database-in-cloud.html
  http://code.google.com/apis/sql/

Quote:  fully-managed service that maintains, manages, and administers your 
databases, [...] offering the capabilities of a MySQL database [...] allows 
for high data portability [...] quickly leverage your existing database 
(using JDBC and/or DB-API) in your App Engine application

It's a bit late here in Europe for me to start digging into it, and pricing 
is yet to be announced, but for some of us who're only now looking at M/S -> 
H/R migration (typically under Python 2.7 migration pressure) and are having 
worries about how the enforced entity groups, consistency and read/write 
rates may affect us, this might be worth waiting for (but I expect it'll be 
priced at a premium)

--
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/-/v5ede30nRQQJ.
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] javax.jdo.JDOUserException: CreatorExpression defined with class of sKey yet this class is not found

2011-10-06 Thread Martin Dvorak
Ikai, let confirm you hypothesis ;) I faced the same problem with parameter 
having "new" prefix - renaming the parameter fixed the problem. My code 
before fix:
Query 
query=pm.newQuery(GaeQuestionAnswerBean.class);
query.setFilter("growKey == newGrowKey && ownerId == userId");
query.declareParameters("String newGrowKey, String userId");
oldQuestions = (List)query.execute(newGrowKey, 
userId);
... and Exception:
  org.datanucleus.exceptions.NucleusUserException: CreatorExpression defined 
with class of GrowKey yet this class is not found

-- 
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/-/-LufsMlZAu4J.
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] X-AppEngine-City

2011-10-06 Thread Jeff Schnitzer
No point.  It fits into a frontend instance - currently occupying around 108 MB.

I'd post my code that reconstitutes the three part file into one, but
it's pointless with the 30MB file limit raise around the corner.

Jeff

2011/10/6 Ronoaldo José de Lana Pereira :
> Jeff,
>
> Does your aproach plays well as a backend?
>
> -Ronoaldo
>
> --
> 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/-/tggusylTQdsJ.
> 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 many times did Google Apps Engine went down since it's launch

2011-10-06 Thread Brandon Wirtz
JeffProbst.com that I host on AppEngine has had 100% uptime for 6 months. At
its peak it served just shy of 1million visitors in 12 hours.



-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Joshua Smith
Sent: Thursday, October 06, 2011 10:50 AM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] How many times did Google Apps Engine went
down since it's launch

Depends how you define "down."

If you only consider HR, it hasn't gone completely down ever.  Some bugs
have happened (like losing the ability to send mail to gmail addresses with
.'s in them) which reduced functionality for HR, and there have been times
when you could not update your app.  But I don't think HR has ever stopped
serving since it was introduced.

M/S has been down lots of times, sometimes for extended periods. But that's
irrelevant if you are using HR, which you should be if you care about
downtime.

-Joshua

On Oct 6, 2011, at 1:42 PM, ahmed adel wrote:

> I need to know how many time did Google apps engine went down since 
> launching this service also I need to know for how many hours and what 
> is the time exactly.
> 
> Also I need to know your opinion about the below.
> 
> We are planning to develop a product over Google apps  engine , a big 
> project actually for our company.
> 
> so should I start using Google apps engine or should I use another 
> PAAS and if so what is the recommended PAAS.
> 
> thx
> 
> --
> 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] X-AppEngine-City

2011-10-06 Thread Ronoaldo José de Lana Pereira
Jeff,

Does your aproach plays well as a backend?

-Ronoaldo

-- 
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/-/tggusylTQdsJ.
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] X-AppEngine-City

2011-10-06 Thread Jeff Schnitzer
On Thu, Oct 6, 2011 at 12:12 PM, Krishna Patel
 wrote:
> Ikai,
> Uploading the data is a one-time cost, yes - but not an inexpensive one. And
> doing a city lookup upon each login is expensive because of the need to scan
> IP ranges in the Maxmind database. I assume this will require indexing but I
> don't know how expensive an IP/city lookup is going to be in terms of how
> many underlying datastore queries will need to be performed.

Maxmind's database doesn't work this way.  It's a flat file that gets
pulled entirely into RAM.  The code is horrific and it's nontrivial to
make it read from anything other than a filesystem.  We had to hack it
heavily just to read from a three-way-split file.

The downside is that an app instance is slow to startup because it
needs to pull 30MB off of Google's incredibly slow filesystem.  But
once it's running, lookups are pretty much instantaneous and
zero-cost.

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: incomplete value for 'Set-Cookie' header field

2011-10-06 Thread Mic Vit
*
*
http://code.google.com/p/googleappengine/issues/detail?id=3379

(URL Fetch cannot get multiple cookie headers)

-- 
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/-/qLKljtxeGlQJ.
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] X-AppEngine-City

2011-10-06 Thread Krishna Patel
Ikai,

Uploading the data is a one-time cost, yes - but not an inexpensive one. And
doing a city lookup upon each login is expensive because of the need to scan
IP ranges in the Maxmind database. I assume this will require indexing but I
don't know how expensive an IP/city lookup is going to be in terms of how
many underlying datastore queries will need to be performed.

Third party apis are out of the question (this is a commercial app) and a
professional geolocation license for Google Maps allegedly costs $10,000 -
which is also out of reach.

For these reasons, it is disappointing that App Engine stopped short of
implementing X-AppEngine-City - which would have saved countless developer
hours and expense.

- Krishna

On Thu, Oct 6, 2011 at 4:54 PM, Ikai Lan (Google)  wrote:

> Krishna,
>
> It's a one time cost. How are you mapping the user to a city?
>
> You might also want to look into other services like SimpleGeo.com or
> client side geocoding via Google Maps.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com | twitter.com/ikai
>
>
>
> On Thu, Oct 6, 2011 at 2:54 AM, Krishna Patel 
> wrote:
>
>> What's the most efficient way of determining city information since, at
>> the moment, there is an X-AppEngine-Country but no X-AppEngine-City?
>>
>> I was planning to get the GeoLite City database, which, uncompressed, is
>> 30MB (not sure if it needs to be split to be under the new 30MB upload
>> limit) and use a MapReduce job to load the database into entities.
>>
>> Computationally expensive but is that the only way to do this?
>>
>> --
>> 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] X-AppEngine-City

2011-10-06 Thread Jeff Schnitzer
Unfortunately Google doesn't seem to have any products that do geoip
lookup anymore.  There used to be a ClientLocation as part of the ajax
loader but the docs for that have been removed and the endpoints all
seem to return null now.

Using the HTML5 location API requires permission from the browser,
which isn't really practical for most apps.

We built an ip geolocation service on appengine using hessian and the
free maxmind db.  The hard part was hacking around the 10M limit - but
that shouldn't be a problem with SDK 1.5.5 since the data file is
~27MB.

Some sort of finer-grained geoip lookup builtin to appengine would be
really, really handy.

Jeff

On Thu, Oct 6, 2011 at 8:54 AM, Ikai Lan (Google)  wrote:
> Krishna,
> It's a one time cost. How are you mapping the user to a city?
> You might also want to look into other services like SimpleGeo.com or client
> side geocoding via Google Maps.
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com | twitter.com/ikai
>
>
> On Thu, Oct 6, 2011 at 2:54 AM, Krishna Patel 
> wrote:
>>
>> What's the most efficient way of determining city information since, at
>> the moment, there is an X-AppEngine-Country but no X-AppEngine-City?
>> I was planning to get the GeoLite City database, which, uncompressed, is
>> 30MB (not sure if it needs to be split to be under the new 30MB upload
>> limit) and use a MapReduce job to load the database into entities.
>> Computationally expensive but is that the only way to do this?
>>
>> --
>> 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] Re: [appengine-python] Re: Prerelease SDK 1.5.5 available for download!

2011-10-06 Thread Alfred Fuller
XG transactions will have no effect on global queries, as
the fundamental problems still remains (namely that it is impossible to know
what entity groups will/should appear in a global query).  Additionally you
should not use this read_policy, it has little effect in M/S and no effect
in HRD.

On Wed, Oct 5, 2011 at 11:04 PM, Beech Horn  wrote:

> With the advent of XG, will APPLY_ALL_JOBS_CONSISTENCY now work with
> non-ancestor groups?
>
>   APPLY_ALL_JOBS_CONSISTENCY = 2
>
>   """A read consistency that aggressively tries to find write jobs to
> apply.
>
>   Use of this read policy is strongly discouraged.
>   This read_policy tends to be more costly and is only useful in a few
> specific
>   cases. It is equivalent to splitting a request by entity group and
> wrapping
>   each batch in a separate transaction. Cannot be used with non-ancestor
>   queries.
>   """
>
>  --
> You received this message because you are subscribed to the Google Groups
> "google-appengine-python" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-python/-/wAh2LQWixZQJ.
>
> To post to this group, send email to
> google-appengine-pyt...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-python+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-python?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 many times did Google Apps Engine went down since it's launch

2011-10-06 Thread Joshua Smith
Depends how you define "down."

If you only consider HR, it hasn't gone completely down ever.  Some bugs have 
happened (like losing the ability to send mail to gmail addresses with .'s in 
them) which reduced functionality for HR, and there have been times when you 
could not update your app.  But I don't think HR has ever stopped serving since 
it was introduced.

M/S has been down lots of times, sometimes for extended periods. But that's 
irrelevant if you are using HR, which you should be if you care about downtime.

-Joshua

On Oct 6, 2011, at 1:42 PM, ahmed adel wrote:

> I need to know how many time did Google apps engine went down since
> launching this service also I need to know for how many hours and what
> is the time exactly.
> 
> Also I need to know your opinion about the below.
> 
> We are planning to develop a product over Google apps  engine , a big
> project actually for our company.
> 
> so should I start using Google apps engine or should I use another
> PAAS and if so what is the recommended PAAS.
> 
> thx
> 
> -- 
> 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] Adhering to data privacy laws with Appengine

2011-10-06 Thread Philip Kilner

Hi,

Hit send too soon, meant to say that Google are signed up for the Safe 
Harbor provisions - see: -


http://www.google.com/privacy/privacy-policy.html

...under "Enforcement" (2nd to last para): -

"Google adheres to the US Safe Harbor Privacy Principles of Notice, 
Choice, Onward Transfer, Security, Data Integrity, Access and 
Enforcement, and is registered with the U.S. Department of Commerce’s 
Safe Harbor Program."


HTH

--

Regards,

PhilK


'a bell is a cup...until it is struck'

--
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 many times did Google Apps Engine went down since it's launch

2011-10-06 Thread ahmed adel
I need to know how many time did Google apps engine went down since
launching this service also I need to know for how many hours and what
is the time exactly.

Also I need to know your opinion about the below.

We are planning to develop a product over Google apps  engine , a big
project actually for our company.

so should I start using Google apps engine or should I use another
PAAS and if so what is the recommended PAAS.

thx

-- 
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] Adhering to data privacy laws with Appengine

2011-10-06 Thread Philip Kilner

Hi Richard,

On 06/10/2011 18:19, Richard Druce wrote:

We have a client who has requested that all their data stay in the EU to
adhere to data privacy laws they are governed by. Is this a possibility
in Appengine?



No, or at least not at the moment.

However, if you are referring to mainstream European Data Protection 
legislation rather than something more specialised, then see: -


http://en.wikipedia.org/wiki/Safe_Harbor_Principles

"US-EU Safe Harbor is a streamlined process for US companies to comply 
with the EU Directive 95/46/EC on the protection of personal data.


Intended for organizations within the EU or US that store customer data, 
the Safe Harbor Principles are designed to prevent accidental 
information disclosure or loss. US companies can opt into the program as 
long as they adhere to the 7 principles outlined in the Directive."


...which may cover you if you host such data on App Engine.

IANAL, etc. etc - but worth looking into to see if it covers your 
intended usage.




--

Regards,

PhilK


'a bell is a cup...until it is struck'

--
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] Adhering to data privacy laws with Appengine

2011-10-06 Thread Gregory D'alesandre
Hi Richard, all App Engine data is currently stored in North America.  So,
if they are looking for their data to be stored in the EU, unfortunately
there is no way to that using datastore.  This is a common request though
and so it is something we are looking into.

Hope that helps!

Greg

On Thu, Oct 6, 2011 at 10:19 AM, Richard Druce wrote:

> We have a client who has requested that all their data stay in the EU to
> adhere to data privacy laws they are governed by. Is this a possibility in
> Appengine?
>
> --
> 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] Adhering to data privacy laws with Appengine

2011-10-06 Thread Richard Druce
We have a client who has requested that all their data stay in the EU to
adhere to data privacy laws they are governed by. Is this a possibility in
Appengine?

-- 
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: appstats/recording.py:498: DeprecationWarning

2011-10-06 Thread Bryce Cutt
I am seeing these too.

I have reported it as a production issue:
http://code.google.com/p/googleappengine/issues/detail?id=6056&thanks=6056&ts=1317920588

I'll also CC Johan as this seems to be affecting lots of us and he'll
know who to forward it to.

- Bryce


On Oct 6, 2:01 am, "J.T"  wrote:
> E 2011-10-06 10:01:05.834
>
> /base/python_runtime/python_lib/versions/1/google/appengine/ext/
> appstats/recording.py:498: DeprecationWarning: get_request_cpu_usage
> may not always return correct values
>
> E 2011-10-06 10:01:05.834
>
>  summary.set_processor_mcycles(quota.get_request_cpu_usage())

-- 
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: appstats/recording.py:498: DeprecationWarning

2011-10-06 Thread Jairo Vasquez
Same error here

-- 
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/-/QgE17tOublcJ.
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: appstats/recording.py:498: DeprecationWarning

2011-10-06 Thread voscausa
I have the same problem and also reported this in the Python forum.
For the moment I will disable appstats as suggested by Rishi Arora.

-- 
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/-/sBwZwwGIt8YJ.
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] X-AppEngine-City

2011-10-06 Thread Ikai Lan (Google)
Krishna,

It's a one time cost. How are you mapping the user to a city?

You might also want to look into other services like SimpleGeo.com or client
side geocoding via Google Maps.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Thu, Oct 6, 2011 at 2:54 AM, Krishna Patel wrote:

> What's the most efficient way of determining city information since, at the
> moment, there is an X-AppEngine-Country but no X-AppEngine-City?
>
> I was planning to get the GeoLite City database, which, uncompressed, is
> 30MB (not sure if it needs to be split to be under the new 30MB upload
> limit) and use a MapReduce job to load the database into entities.
>
> Computationally expensive but is that the only way to do this?
>
> --
> 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] Re: "Max Idle Instances" == 1, now my app how 2 instances running for a quite long while

2011-10-06 Thread Jose Montes de Oca
Hi,

I think you have a fundamental misconception here. Max Idle Instances != Max 
instances GAE will spin up. Max Idle Instances just means GAE is just going 
to charge you for 1 Idle instance al the time (even if you have more than 1 
Idle instance)

If you believe your app has any problems, please file a production ticket 
here: http://code.google.com/p/googleappengine/issues/entry

Best,
Jose Montes de Oca

-- 
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/-/HTn29XM8k6IJ.
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: appstats/recording.py:498: DeprecationWarning

2011-10-06 Thread Rishi Arora
I tried tinkering around with constants in appengine_config.py, to avoid
logging this error (which should really be a warning instead):

appstats_DEBUG = False
appstats_DUMP_LEVEL = -1

But this line says it is not possible:
"(Tracebacks are always logged at the ERROR level as well.)"

So, I have temporarily disabled appstats:

def webapp_add_wsgi_middleware(app):
# from google.appengine.ext.appstats import recording
# app = recording.appstats_wsgi_middleware(app)
return app


On Thu, Oct 6, 2011 at 7:05 AM, Klaas Pieter Annema
wrote:

> I'm seeing the same error appear in my logs all of a sudden. It seems to
> happen more often in startup requests.
>
> --
> 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/-/iOxIy4xLX8AJ.
>
> 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] Re: How to add a subdomain pointing to different app version?

2011-10-06 Thread Jose Montes de Oca
It is not possible from Google apps cpanel, you can only map to your default 
version. 

Hope this helps!

Jose Montes de Oca

-- 
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/-/tHLk-TNXFmsJ.
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: appstats/recording.py:498: DeprecationWarning

2011-10-06 Thread Klaas Pieter Annema
I'm seeing the same error appear in my logs all of a sudden. It seems to 
happen more often in startup requests.

-- 
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/-/iOxIy4xLX8AJ.
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: appstats/recording.py:498: DeprecationWarning

2011-10-06 Thread FastGeert
Is this function REALLY deprecated ? The logs for my application are
also spammed with errors because of this. Though when I go looking for
updates in the documentation here
http://code.google.com/appengine/docs/quotas.html#Monitoring_CPU_Usage_in_a_Request
, I don't see any changes there !!

Please investigate as other, maybe more severe problems, are now
hidden in the thousands of error messages.

Regards,

Geert

On Oct 6, 11:01 am, "J.T"  wrote:
> E 2011-10-06 10:01:05.834
>
> /base/python_runtime/python_lib/versions/1/google/appengine/ext/
> appstats/recording.py:498: DeprecationWarning: get_request_cpu_usage
> may not always return correct values
>
> E 2011-10-06 10:01:05.834
>
>  summary.set_processor_mcycles(quota.get_request_cpu_usage())

-- 
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] incomplete value for 'Set-Cookie' header field

2011-10-06 Thread pman
i am still can't get it work in production. (using java)

i found the responded first cookie that ends with "... httponly"
missing.

any help?

p/s: my test run well at development server.


more info: http://code.google.com/p/googleappengine/issues/detail?id=412

-- 
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] Strange over quota error when leasing tasks

2011-10-06 Thread Udi h Bauman
We're getting OverQuota errors when leasing tasks, such as this
one,
because of which we can't start our back-ends.

Our quota usage & specifically the task queue quota, are all standing around
0%-3%.

We haven't changed any queues configuration or related code recently.



Our production is currently stopped because of this. Is it some failure on
AppEngine side?


Thanks,
Udi

-- 
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] appstats/recording.py:498: DeprecationWarning

2011-10-06 Thread J.T
E 2011-10-06 10:01:05.834

/base/python_runtime/python_lib/versions/1/google/appengine/ext/
appstats/recording.py:498: DeprecationWarning: get_request_cpu_usage
may not always return correct values

E 2011-10-06 10:01:05.834

 summary.set_processor_mcycles(quota.get_request_cpu_usage())

-- 
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.