Re: [google-appengine] Multitenancy Application

2010-12-10 Thread Rajkumar Radhakrishnan
@lhwong :

I believe it is not possible to do a single query "across all tenants", if
that is what you were looking for.

If you do not already have the names of your customers' namespaces (in your
own meta-data tables), then you can use Ikai's link to get those names and
make a count query once for each namespace.

Also note that the meta-data queries can be a bit
costly.
So, if you are not already storing namespaces, you might want to start doing
that.

Regards,
R.Rajkumar

On Sat, Dec 11, 2010 at 4:47 AM, Ikai Lan (Google)

> wrote:

> It seems like what you want are metadata queries to get the names of
> namespaces:
>
> http://code.google.com/appengine/docs/java/datastore/metadataqueries.html
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blogger: http://googleappengine.blogspot.com
> Reddit: http://www.reddit.com/r/appengine
> Twitter: http://twitter.com/app_engine
>
>
>
> On Thu, Dec 9, 2010 at 9:08 PM, Nick  wrote:
>
>> Hi,
>>
>> I have a multitenancy application with tenants creating their own contents
>> and store them in datastore using different namespaces. I'd like to analyze
>> data across tenants, for example total number of contents created. Can this
>> be done? If yes, what is the namespace to be used to access the data across
>> all tenants?
>>
>> Thanks,
>> --Wong Liong Hung
>>
>> --
>> 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-appeng...@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-appeng...@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.
>



-- 

http://crm.ifreetools.com

-- 
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-appeng...@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] Availability of GAE app for Google Apps users

2010-12-10 Thread Rajkumar Radhakrishnan
@glenn_blackler :

>From what you say, it seems to me that the authentication option for you App
Engine instance (configurable from under App Engine Dashboard >
Administration > Application Settings > Authentication Options ) uses
"Google Accounts API".

To also enable Google Apps users to login, you will have to change this to
"(Experimental) Federated Login" and then implement the login code to handle
this option. I use federated login for my hosted CRM
app and
database app-creator app , to allow both
Google user accounts and Google Apps user accounts.

For more details on using Federated Login refer to :
http://code.google.com/appengine/articles/openid.html

Adding the app to the Google Apps domain, while not required for Google Apps
users to login using OpenID, can still be useful if your customers want to
map the application to their
sub-domain
.

Regards,
R.Rajkumar



On Sat, Dec 11, 2010 at 12:05 AM, bFlood wrote:

> I don't know what our admin did for our Google Apps domain but we can now
> successfully log into GAE apps. I'm assuming it's whatever procedure Josh
> was talking about. it seems to works well, I can now log in using either a
> GMail or Google Apps email account
>
> cheers
> brian
>
> --
> 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-appeng...@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.
>



-- 

http://crm.ifreetools.com

-- 
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-appeng...@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 enable a diabled queue in taskqueues

2010-12-10 Thread Sandeep Koduri
Hello,

We have observed that a queue went into disabled mode on dashboard, also the
tasks added to that queue are not being executed.
Checked the documentation but could not find any thing related to this.

so tried by deleting  the queue and planned to update the queue. This raised
another problem, while trying this command *appcfg.py update_queues
myapp*says that the queue is recently deleted and cannot create it
again.



C:\Documents and Settings\dell35>appcfg.py update_queues d:\appengine\alla
boutindia
Application: allaboutindiacricket; version: 1-0-36-4.
Server: appengine.google.com.
Uploading task queue entries.
Email: <>@gmail.com
Password for <>@gmail.com:
Error 400: --- begin server output ---
Invalid queue configuration. The queue 'livefeed' was deleted and its name
may n
ot be reused for a few days.
--- end server output ---


Can any one help with this, the queue name is placed in many parts of the
code and could not be changed in one push.

-- 
Thanks,
Regards
Sandeep Koduri
Gtalk: sandeep.koduri | Skype: sandeep.koduri

-- 
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-appeng...@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] Pagination used in dashboard

2010-12-10 Thread Robert Kluin
Scratch that, just noticed the admin logs part.  How about answering
in terms of the datastore viewer  :)




Robert







On Sat, Dec 11, 2010 at 01:30, Robert Kluin  wrote:
> He may have been asking about the datastore viewer.
>
>
>
>
> Robert
>
>
>
>
>
> On Fri, Dec 10, 2010 at 21:06, Ikai Lan (Google)
>  wrote:
>> The logs in the App Engine dashboard don't use the App Engine datastore.
>> That's why we can't add more space at will for users. We're looking at ways
>> to expand logs capacity and retention.
>>
>> --
>> Ikai Lan
>> Developer Programs Engineer, Google App Engine
>> Blogger: http://googleappengine.blogspot.com
>> Reddit: http://www.reddit.com/r/appengine
>> Twitter: http://twitter.com/app_engine
>>
>>
>> On Fri, Dec 10, 2010 at 3:49 PM, Ernesto Karim Oltra
>>  wrote:
>>>
>>> I don't know exactly the code behind the app engine dashboard, but I
>>> notice they use two variables, offset and limit to paginate through
>>> the results in the admin logs. I wonder if they use some kind of
>>> efficient implementation, or only the dirty one, by using
>>> fetch(offset, limit).
>>>
>>> --
>>> 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-appeng...@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-appeng...@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-appeng...@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] Pagination used in dashboard

2010-12-10 Thread Robert Kluin
He may have been asking about the datastore viewer.




Robert





On Fri, Dec 10, 2010 at 21:06, Ikai Lan (Google)
 wrote:
> The logs in the App Engine dashboard don't use the App Engine datastore.
> That's why we can't add more space at will for users. We're looking at ways
> to expand logs capacity and retention.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blogger: http://googleappengine.blogspot.com
> Reddit: http://www.reddit.com/r/appengine
> Twitter: http://twitter.com/app_engine
>
>
> On Fri, Dec 10, 2010 at 3:49 PM, Ernesto Karim Oltra
>  wrote:
>>
>> I don't know exactly the code behind the app engine dashboard, but I
>> notice they use two variables, offset and limit to paginate through
>> the results in the admin logs. I wonder if they use some kind of
>> efficient implementation, or only the dirty one, by using
>> fetch(offset, limit).
>>
>> --
>> 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-appeng...@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-appeng...@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-appeng...@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: Amazon AWS vs Google App Engine

2010-12-10 Thread Robert Kluin
http://lmgtfy.com is great, I had not seen that before.  Will come in handy.






On Fri, Dec 10, 2010 at 16:12, Jeff Schnitzer  wrote:
> On Thu, Dec 9, 2010 at 11:38 PM, Will  wrote:
>> Jeff, can you point me to a more detailed explanation of reverse proxy and
>> its setup?
>
> http://lmgtfy.com/?q=reverse+proxy
>
> On Fri, Dec 10, 2010 at 8:25 AM, timwhunt  wrote:
>> Regarding the reverse proxy idea:
>>
>> Will the user's IP address get passed through so your app  / Google's
>> service sees it (and not the proxy server)?
>
> Google's service will see the proxy's address.  However you can pass
> the originating IP as an additional header and process it as you like.
>
>> Will it work for SSL/https connections too?  Will browsers bark that
>> names don't match certificates or some other problem?
>
> You can use SSL for this but it's a bit more complicated.  The SSL
> connection will be established between the client and the proxy using
> your certificate, then a different connection is established between
> the proxy and GAE.  Depending on your threat model you may wish to use
> SSL for the backend connection, which will use the google cert to
> appspot.com.
>
> It's worth noting that this is essentially what the SSL feature does
> at Google Apps for Business, except that Google runs the proxy, and
> the leg between the proxy and GAE is on Google's secure network.
> Without SNI, SSL requires a dedicated IP address.
>
>> Is that a good alternative to using a custom domain via Google
>> domains?
>
> It isn't an either/or issue.  If you need to work around the fact that
> AppEngine uses a pool of shared IP addresses (SSL is an example;
> geocode ratelimits are another), use proxies - either outbound
> (traditional proxy) or inbound (reverse proxy).  Pick a facility that
> is logically close to GAE (ping from rackspace cloud is 12ms) and
> users will never notice the difference.
>
> 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-appeng...@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-appeng...@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: sdk server too slow in 1.4.0

2010-12-10 Thread Robert Kluin
There are also a some pretty serious bugs in the default datastore
stub.  My apps are fairly task-heavy; at this point I am no longer
able to the default stub -- I have to use sqlite.  It works great, and
it is much faster.


Robert







On Fri, Dec 10, 2010 at 22:24, Tim Hoffman  wrote:
> Hi
> I went through all of the raised issues in the tracker that you referred to.
>  (Some are actually not sdk sqlite issues).
> One is raised by me (remote_api related so most people probably will ever
> see it).
> The other issues are corner cases, some people may experience them but in
> all of my projects the specifics
> of the issues are not things I do in any of my code.
> So yes there may be some lurking bugs there, but on the whole I am satisfied
> with the sqlite backend for the dev SDK.
> Also I do not rely just on the SDK server for all of my testing.
> I run a full dataset test instance on appengine and check everything thing
> there before I even contemplate running in production.
> So I would say look at the specifics of the outstanding issues and make an
> informed decision about using the sqlite
> backend if any of these issues affect you.  Remember it is a development
> server not production so there are a number
> of other things about the dev server that is completely different to
> production, which means there a lot of things
> you can't actually test in dev.
> For instance there is no easy means to replicate a range of appengine
> failure conditions, how are you testing these scenarios in dev ?
> So on balance I would say - use sqlite but be aware of all of the
> limitations of the dev environment.
> Rgds
> Tim
>
> --
> 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-appeng...@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-appeng...@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] Channel API CPU usage

2010-12-10 Thread Tom Wu
Hi Andy,

Here is 2770ms. Compare to using the beaconn + urllib, the channel api
really cost a lot.

[?][?]
Tom Wu


2010/12/11 Andy Kim 

> The new Channel API is awesome and it opens up many possibilities on what I
> can do with GAE. I have noticed however, that creating a channel takes about
> 2800 ms of API CPU time. Is everyone else seeing similar times or am I doing
> something wrong here?
>
> --
> 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-appeng...@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-appeng...@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.

<<1E3.gif>>

Re: [google-appengine] Re: sdk server too slow in 1.4.0

2010-12-10 Thread Tim Hoffman
Hi


I went through all of the raised issues in the tracker that you
referred to. (Some are actually not sdk sqlite issues).
One is raised by me (remote_api related so most people probably will
ever see it).


The other issues are corner cases, some people may experience them but
in all of my projects the specifics
of the issues are not things I do in any of my code.


So yes there may be some lurking bugs there, but on the whole I am
satisfied with the sqlite backend for the dev SDK.


Also I do not rely just on the SDK server for all of my testing.


I run a full dataset test instance on appengine and check everything
thing there before I even contemplate running in production.


So I would say look at the specifics of the outstanding issues and make
an informed decision about using the sqlite
backend if any of these issues affect you. Remember it is a development
server not production so there are a number
of other things about the dev server that is completely different to
production, which means there a lot of things
you can't actually test in dev.


For instance there is no easy means to replicate a range of appengine
failure conditions, how are you testing these scenarios in dev ?


So on balance I would say - use sqlite but be aware of all of the
limitations of the dev environment.


Rgds


Tim

-- 
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-appeng...@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: does the channel api work across domains?

2010-12-10 Thread sidepodcast
ended up using live to develop with.

am disappointed with the channel api implementation. for some reason
calling it causes huge cpu usage and there's no ability to broadcast
to all connected clients.  ahh well.




On Dec 10, 6:53 pm, sidepodcast  wrote:
> any idea how to get cross-domain working in development mode? the base
> url appears to be a fixed string.
>
> ta.
>
> On Dec 3, 6:24 pm, Peter Petrov  wrote:
>
>
>
> > You can. The Channel API is designed to workaround
> > the JavaScript same-origin policy, and will work across domains.
>
> > On Fri, Dec 3, 2010 at 8:16 PM, Chad Burt  wrote:
> > > Say I have an application hosted outside of appengine. I'd like to build a
> > > chat app hosted on appengine to take advantage of the channel API. Can I 
> > > use
> > > that system from the first app on a different domain? If so, will it work 
> > > on
> > > all browsers, or just those that support the crossdomain access control
> > > header ?
> > > Thanks,
> > > -Chad
>
> > > --
> > > 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-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@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-appeng...@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] Pagination used in dashboard

2010-12-10 Thread Ikai Lan (Google)
The logs in the App Engine dashboard don't use the App Engine datastore.
That's why we can't add more space at will for users. We're looking at ways
to expand logs capacity and retention.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Fri, Dec 10, 2010 at 3:49 PM, Ernesto Karim Oltra  wrote:

> I don't know exactly the code behind the app engine dashboard, but I
> notice they use two variables, offset and limit to paginate through
> the results in the admin logs. I wonder if they use some kind of
> efficient implementation, or only the dirty one, by using
> fetch(offset, limit).
>
> --
> 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-appeng...@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-appeng...@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: does the channel api work across domains?

2010-12-10 Thread sidepodcast
any idea how to get cross-domain working in development mode? the base
url appears to be a fixed string.

ta.


On Dec 3, 6:24 pm, Peter Petrov  wrote:
> You can. The Channel API is designed to workaround
> the JavaScript same-origin policy, and will work across domains.
>
>
>
> On Fri, Dec 3, 2010 at 8:16 PM, Chad Burt  wrote:
> > Say I have an application hosted outside of appengine. I'd like to build a
> > chat app hosted on appengine to take advantage of the channel API. Can I use
> > that system from the first app on a different domain? If so, will it work on
> > all browsers, or just those that support the crossdomain access control
> > header ?
> > Thanks,
> > -Chad
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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: any good solution to SMS verification policy?

2010-12-10 Thread Ikai Lan (Google)
The last time I tried Google Voice, it strangely did work even though it
showed me an error message in the App Engine screen. Of course, to verify
Google Voice, you need a phone number for Google Voice to call ...

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 9, 2010 at 11:35 AM, Calvin  wrote:

> Get a Google Voice number and send the verification message to that number.
>
>
> --
> 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-appeng...@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-appeng...@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] In development mode why my local data is deleted sporadically ?

2010-12-10 Thread Ikai Lan (Google)
The local datastore is stored in a file called local_db.bin. You're probably
deleting this on new builds or cleans.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Fri, Dec 10, 2010 at 5:45 AM, suersh babu wrote:

> Hi,
>
> I have experienced that my local data is deleted sporadically in my
> development mode.
>
> Is some one experience this issue before,  and figured it why this is
> happening 
>
> Any suggestion about this is much appreciated.
>
> I am using Eclipse IDE 3.6,  App Engine SDK 1.3.8,  objectify, and gwt 2.1.
>
>
>
> --
> *Regards
>
> Suresh Babu G*
>
>   --
> 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-appeng...@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-appeng...@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: Access from China dead

2010-12-10 Thread Will
Yeah, this is what I'm going to do.

BTW, the link you gave is blocked too in China, I needed a proxy to visit
it. Same goes for youtube, picasa, twitter, facebook, blogspot, docs.google,
...

Thanks,

Will

On Sat, Dec 11, 2010 at 12:28 AM, timwhunt  wrote:

> FYI:  There's a reverse proxy solution that was just suggested in this
> thread:
>
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/5a16406c9d09372
>
> On Dec 9, 9:42 pm, Will  wrote:
> > Google, I don't ask you to solve the problem, it is beyond your control
> and
> > may beyond your capability, but I need you to tell me if you are doing
> > something, how much chance you have and if you plan to do something about
> > the similar cases, so I can make my decision.
> >
> > Best,
> >
>
> --
> 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-appeng...@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-appeng...@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] AlwaysOn and WarmUpRequests working poorly?

2010-12-10 Thread Jon McAlister
Hi Sergio,

I looked into your app, and unfortunately we had a slight
configuration error on our part. This has now been fixed and pushed
out. So, it should be significantly better now. Mind having another
look?

On Wed, Dec 8, 2010 at 5:49 PM, Sergio Lopes  wrote:
> Hi guys
>
> I have AlwaysOn enabled since the release, but I'm not getting the
> expected results. Searching my logs for "loading_request=1"  I found
> 27 loading requests today. But only 1 of those 27 is an automated /_ah/
> warmup request, all others are user requests suffering the startup
> latency.
>
> My app (caelumcombr) doesn't have many requests. Before AlwaysOne, the
> Instances panel always reported only 1 instance for my App. And now
> that I pay for 3 instances (much more than needed), I'm still seeing a
> lot of user requests causing instance startup. Isn't that wrong?
>
> Sérgio Lopes
>
> www.caelum.com.br
>
> --
> 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-appeng...@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-appeng...@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] Channel API CPU usage

2010-12-10 Thread Bart Thate
Hoi Andy,

these times are normal and can take upto 10 seconds i read. Normal for me is
3 seconds.

@jsonbot Heerhugowaard, Netherlands
programming schizofrenic - http://jsonbot.appspot.com

On Sat, Dec 11, 2010 at 1:37 AM, Andy Kim  wrote:

> The new Channel API is awesome and it opens up many possibilities on what I
> can do with GAE. I have noticed however, that creating a channel takes about
> 2800 ms of API CPU time. Is everyone else seeing similar times or am I doing
> something wrong here?
>
> --
> 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-appeng...@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-appeng...@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] Channel API CPU usage

2010-12-10 Thread Andy Kim
The new Channel API is awesome and it opens up many possibilities on
what I can do with GAE. I have noticed however, that creating a channel
takes about 2800 ms of API CPU time. Is everyone else seeing similar
times or am I doing something wrong here?

-- 
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-appeng...@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] Pagination used in dashboard

2010-12-10 Thread Ernesto Karim Oltra
I don't know exactly the code behind the app engine dashboard, but I
notice they use two variables, offset and limit to paginate through
the results in the admin logs. I wonder if they use some kind of
efficient implementation, or only the dirty one, by using
fetch(offset, limit).

-- 
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-appeng...@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] Multitenancy Application

2010-12-10 Thread Ikai Lan (Google)
It seems like what you want are metadata queries to get the names of
namespaces:

http://code.google.com/appengine/docs/java/datastore/metadataqueries.html

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 9, 2010 at 9:08 PM, Nick  wrote:

> Hi,
>
> I have a multitenancy application with tenants creating their own contents
> and store them in datastore using different namespaces. I'd like to analyze
> data across tenants, for example total number of contents created. Can this
> be done? If yes, what is the namespace to be used to access the data across
> all tenants?
>
> Thanks,
> --Wong Liong Hung
>
> --
> 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-appeng...@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-appeng...@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: Amazon AWS vs Google App Engine

2010-12-10 Thread Jeff Schnitzer
On Thu, Dec 9, 2010 at 11:38 PM, Will  wrote:
> Jeff, can you point me to a more detailed explanation of reverse proxy and
> its setup?

http://lmgtfy.com/?q=reverse+proxy

On Fri, Dec 10, 2010 at 8:25 AM, timwhunt  wrote:
> Regarding the reverse proxy idea:
>
> Will the user's IP address get passed through so your app  / Google's
> service sees it (and not the proxy server)?

Google's service will see the proxy's address.  However you can pass
the originating IP as an additional header and process it as you like.

> Will it work for SSL/https connections too?  Will browsers bark that
> names don't match certificates or some other problem?

You can use SSL for this but it's a bit more complicated.  The SSL
connection will be established between the client and the proxy using
your certificate, then a different connection is established between
the proxy and GAE.  Depending on your threat model you may wish to use
SSL for the backend connection, which will use the google cert to
appspot.com.

It's worth noting that this is essentially what the SSL feature does
at Google Apps for Business, except that Google runs the proxy, and
the leg between the proxy and GAE is on Google's secure network.
Without SNI, SSL requires a dedicated IP address.

> Is that a good alternative to using a custom domain via Google
> domains?

It isn't an either/or issue.  If you need to work around the fact that
AppEngine uses a pool of shared IP addresses (SSL is an example;
geocode ratelimits are another), use proxies - either outbound
(traditional proxy) or inbound (reverse proxy).  Pick a facility that
is logically close to GAE (ping from rackspace cloud is 12ms) and
users will never notice the difference.

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-appeng...@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] I can't download data using bulkloader

2010-12-10 Thread nacho
I'm trying to download data from my app as described here:
http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/

But when i run:

> appcfg.py download_data --config_file=config.yml --filename=data.csv 
> --kind=Account --url=http://myapp.appspot.com/remote_api --application=myapp

I get this error:

Error parsing yaml file:
Unable to assign value 'None' to attribute 'connector':
Missing value is required.

But in my config.yml i have this:

- kind: Account
  connector: csv
  connector_options:
encoding: utf-8

What I am missing?

-- 
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-appeng...@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: any good solution to SMS verification policy?

2010-12-10 Thread Calvin
Hmmm...They must have closed a loophole then. It worked for me this
summer.


Calvin

On Thursday, December 9, 2010 9:24:42 PM UTC-8, Robert Kluin wrote:That
won't work -- I've tried it.

-- 
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-appeng...@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] Availability of GAE app for Google Apps users

2010-12-10 Thread bFlood
I don't know what our admin did for our Google Apps domain but we can
now successfully log into GAE apps. I'm assuming it's whatever
procedure Josh was talking about. it seems to works well, I can now log
in using either a GMail or Google Apps email account


cheers
brian

-- 
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-appeng...@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] Availability of GAE app for Google Apps users

2010-12-10 Thread Glenn Blackler
I'll definitely let you know if I have any success. Thanks for taking
the time to reply.

-- 
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-appeng...@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] Not Create an google apps

2010-12-10 Thread Massimiliano
The ID you have chosen already exist. Choose another name for your
application and it will work.

2010/12/10 sai santhosh 

> i try of create an application in google app.
>
> It gives this message
>
> Already Exists
>
> This application ID or version is already in use.
>
> help me..
>
> --
> 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-appeng...@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.
>
>


-- 

My email: massimiliano.pietr...@gmail.com
My Google Wave: massimiliano.pietr...@googlewave.com

-- 
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-appeng...@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] Not Create an google apps

2010-12-10 Thread sai santhosh
i try of create an application in google app.

It gives this message

Already Exists

This application ID or version is already in use.

help me..

-- 
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-appeng...@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: Channel API and the development enviroment: Internet Explorer does not receive any messages

2010-12-10 Thread Hayao
Just try to upload your app and then test it
I had same problem with IE in dev runtime

On 8 дек, 17:49, Henric Persson  wrote:
> Hi,
>
> I'm having problems receiving messages from the Channel API in
> Internet Eplorer (tried versions 6, 7 and 8).
>
> On the client side, I can see that socket.onopen() is called. And from
> the server there is no error when I call channelService.sendMessage().
> But socket.onmessage is never called.
>
> I'm running this successfully with Google Chrome, Firefox, Safari. And
> it works like a charm in the live appengine environment.
>
> Has anyone else had this problem?
>
> /Henric

-- 
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-appeng...@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] URLFETCH and URLLIB2

2010-12-10 Thread James McManus
I need to use URLError and HTTPError in the urllib2 library.  I've had
problems using the standard urllib2 library in an appengine app, running on
my localhost.  Probably because it uses sockets.  However, the same script
will work on appspot.com because urllib2 uses urlfetch as described at:

http://code.google.com/appengine/docs/python/urlfetch/overview.html

I've tried using urlfetch.fetch for urllib2.urlopen, and urllib2.URLError
(HTTPError) separately, but this did not work.  Is there a way I can get the
modified urllib2 library, that uses urlfetch?

Thanks
Jim

-- 
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-appeng...@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: Access from China dead

2010-12-10 Thread timwhunt
FYI:  There's a reverse proxy solution that was just suggested in this
thread:

http://groups.google.com/group/google-appengine/browse_thread/thread/5a16406c9d09372

On Dec 9, 9:42 pm, Will  wrote:
> Google, I don't ask you to solve the problem, it is beyond your control and
> may beyond your capability, but I need you to tell me if you are doing
> something, how much chance you have and if you plan to do something about
> the similar cases, so I can make my decision.
>
> Best,
>

-- 
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-appeng...@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: Amazon AWS vs Google App Engine

2010-12-10 Thread timwhunt
Regarding the reverse proxy idea:

Will the user's IP address get passed through so your app  / Google's
service sees it (and not the proxy server)?

Will it work for SSL/https connections too?  Will browsers bark that
names don't match certificates or some other problem?

Is that a good alternative to using a custom domain via Google
domains?

Thanks for the tip!  I'm not worried about this now, but it's a good
trick to know!

On Dec 10, 2:34 am, Jeff Schnitzer  wrote:
> The solution to this sort of thing is really remarkably simple... set
> up a reverse proxy on any of the zillions of other cloud providers.  A
> 256MB rackspace cloud instance costs $11/mo, runs apache/mod_proxy
> just fine, and is 12ms to ghs.google.com.
>
> That IP address gets banned?  Set up a new instance.  Keep getting
> banned?  Automate the process.
>
> 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-appeng...@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: sdk server too slow in 1.4.0

2010-12-10 Thread Wim den Ouden
Sqlite is allready a few years in python and used by countless people (busy)
sites etc., Gae is not inventing the wheel again (only some classes are
adapt to gae (new inherits)).
Parts of my development is an accounting package, never sees an unexpected
outcome in the figures (local and online, online ones when there was gae
datastore maintenance, now check for that).
On my aged Acer notebook (with python, javascript, google chrome, sqlite) it
is realy fast.
So i'm a very lucky user, developer. (but like Einstein said, keep it simple
but not to simple, it can allways better)
gr
wim

On Fri, Dec 10, 2010 at 4:24 PM, Ubaldo Huerta  wrote:

> Does that mean that you're not concerned about the maturity of the sqlite
> implementation?
>
> --
> 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-appeng...@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.
>



-- 
gr
Wim den Ouden
Gae based E-business  (web) apps
Free open source 
Gae developer tips 

-- 
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-appeng...@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] Availability of GAE app for Google Apps users

2010-12-10 Thread Joshua Smith
The account problem you describe has been a complete mess for a long time now.

However, I suspect that if your user does the new thing to "migrate" their apps 
mail to unify it with gmail, then this problem will go away.  I've been afraid 
to experiment with it, because of the complete nightmare I experienced the last 
time I tried to use an apps email account with a non-apps GAE app.  So if it 
works, let us know!

-Joshua

On Dec 9, 2010, at 3:55 PM, Glenn Blackler wrote:

> Hi -
> I'm sure this question is answered somewhere, but I haven't been able
> to dig through all the information to find anything definitive.
> 
> Here's the situation and the problem:
> 
> We have built a GAE application that is up and running. It's
> registered on the Marketplace, but is not 'installable'. (Not sure if
> that is important or not).
> 
> When new customers come to the site, they are asked to provide their
> Google account credentials, or to create a new Google account. This is
> a "personal" Google account vs. an Apps acct.
> 
> If a new customer approaches our site and attempts to use an existing
> Google Apps e-mail address to register, it won't let them (says the e-
> mail/password is incorrect). Their only alternative would be to use a
> different e-mail address and create a new personal Google account
> around that address. (Most companies won't want to do this, which is
> my problem). My understanding is that if you try to create an personal
> acct on top of an Apps address, it causes various permissions issues.
> 
> (I understand the difference between an Apps account and a peronal
> account, and that they are being merged, to a certain extent).
> 
> I also own a domain that uses Google Apps, so I went to the control
> panel for that domain and added my GAE app as a service with the hope
> that that change would allow users in this domain to use their
> "company" addresses to use the GAE app. This process seemed to work
> fine, but when my users go to their Apps home page they don't see the
> GAE app as an option. If they go directly to the URL, they have the
> same old authentication problem.
> 
> So the question is, is it possible for existing Google Apps users to
> access my GAE app with their Apps e-mail addresses ... and if so, what
> do I need to do to make that happen?
> 
> Sorry for my long-windedness. I appreciate any help :)
> Glenn
> 
> -- 
> 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-appeng...@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-appeng...@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: sdk server too slow in 1.4.0

2010-12-10 Thread Ubaldo Huerta
Does that mean that you're not concerned about the maturity of the
sqlite implementation?

-- 
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-appeng...@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: sdk server too slow in 1.4.0

2010-12-10 Thread Wim den Ouden
Ubuntu, python2.6, sqlite on aged acer notebook works fast and well, 1700
product entities/images/stocks etc., lots of queries and updates for
test/development.
gr
wim

On Fri, Dec 10, 2010 at 3:30 PM, Ubaldo Huerta  wrote:

> I've considered but if you look a the issue database, there are plenty of 
> known
> bugsin
>  the sqlite implementation. I'm afraid that the real number is even
> higher. I hope someone at app engine team would soon take the plunge to make
> sqlite the default database stub in the sdk. That's the only way all bugs
> will surface up and get fixed
>
> I'm really surprised (more like shocked) how little attention the poor
> performance of the sdk receives. I mean, testing against a few hundred
> entities is unreasonable. This is one of the biggest pain points about dev
> cycle. So many advanced and great stuff in app engine (tasks, deployment,
> etc etc) and the basics, the local dev environment, seriously flawed.
>
> --
> 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-appeng...@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.
>



-- 
gr
Wim den Ouden
Gae based E-business  (web) apps
Free open source 
Gae developer tips 

-- 
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-appeng...@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: sdk server too slow in 1.4.0

2010-12-10 Thread Ubaldo Huerta
I've considered but if you look a the issue database, there are plenty
of known bugs in the sqlite implementation. I'm afraid that the real
number is even higher. I hope someone at app engine team would soon
take the plunge to make sqlite the default database stub in the sdk.
That's the only way all bugs will surface up and get fixed


I'm really surprised (more like shocked) how little attention the poor
performance of the sdk receives. I mean, testing against a few hundred
entities is unreasonable. This is one of the biggest pain points about
dev cycle. So many advanced and great stuff in app engine (tasks,
deployment, etc etc) and the basics, the local dev environment,
seriously flawed.

-- 
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-appeng...@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] sdk server too slow in 1.4.0

2010-12-10 Thread Ubaldo Huerta
Well, I have not changed my environment (running python 2.5 in osx)

-- 
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-appeng...@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] In development mode why my local data is deleted sporadically ?

2010-12-10 Thread suersh babu
Hi,

I have experienced that my local data is deleted sporadically in my
development mode.

Is some one experience this issue before,  and figured it why this is
happening 

Any suggestion about this is much appreciated.

I am using Eclipse IDE 3.6,  App Engine SDK 1.3.8,  objectify, and gwt 2.1.



-- 
*Regards

Suresh Babu G*

-- 
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-appeng...@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: Requests by Type/Second

2010-12-10 Thread Albert
Hi Sahid!

By what I know for some cached content, the browser DOES an "If-
Modified-Since" request to the server to check if the cached resource
has been modified since it last checked. If it was changed, then the
server returns the modified content. If not, then it returns an HTTP
304 response code (and not the entire content, thus saving bandwidth
and time).

In this case, the server DOES know that it was a "cached request".

Enjoy!


Albert

On Dec 10, 6:39 pm, sahid  wrote:
> Hello community
>
> I would like informations about the new graph (Requests by Type/
> Second).
> How GAE knows if the request is a "cached request"? because the
> browser do not request, ..no?
> In my graph, i see a wierd fact:
>
>    http://goo.gl/of0V0
>
> Thank a lot.
> Sahid

-- 
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-appeng...@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: sdk server too slow in 1.4.0

2010-12-10 Thread Tim Hoffman
Are you using the sqlite backend ?
I am and have 100,000 entities in it and it is fine.


T

-- 
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-appeng...@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] sdk server too slow in 1.4.0

2010-12-10 Thread Stefano Ciccarelli
+1
The Java Dev Server in really slow.
We had to reduce the local datastore to 500 entities to gain speed.


On Fri, Dec 10, 2010 at 11:43, Ubaldo Huerta  wrote:

> Granted that the sdk server is painfully slow for even small datasets.
> However, I was stomaching it prior to 1.4.0. I had  a page with 3
> queries (each taking about 2 seconds). Now, after 1.4.0 upgrade
> they're taking appox 6 seconds each, according to app stats.
>
> My local data store has less than 15K entities.
>
> --
> 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-appeng...@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-appeng...@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] sdk server too slow in 1.4.0

2010-12-10 Thread Wim den Ouden
slower? 1700 entities and lots of queries, after upgrade to 1.4 its looking
even faster (not checked)
maybe there is something with your environment?
i'm running Ubuntu and Python 2.6
gr
wim

On Fri, Dec 10, 2010 at 11:43 AM, Ubaldo Huerta  wrote:

> Granted that the sdk server is painfully slow for even small datasets.
> However, I was stomaching it prior to 1.4.0. I had  a page with 3
> queries (each taking about 2 seconds). Now, after 1.4.0 upgrade
> they're taking appox 6 seconds each, according to app stats.
>
> My local data store has less than 15K entities.
>
> --
> 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-appeng...@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.
>
>


-- 
gr
Wim den Ouden
Gae based E-business  (web) apps
Free open source 
Gae developer tips 

-- 
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-appeng...@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] sdk server too slow in 1.4.0

2010-12-10 Thread Ubaldo Huerta
Granted that the sdk server is painfully slow for even small datasets.
However, I was stomaching it prior to 1.4.0. I had  a page with 3
queries (each taking about 2 seconds). Now, after 1.4.0 upgrade
they're taking appox 6 seconds each, according to app stats.

My local data store has less than 15K entities.

-- 
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-appeng...@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] Requests by Type/Second

2010-12-10 Thread sahid
Hello community

I would like informations about the new graph (Requests by Type/
Second).
How GAE knows if the request is a "cached request"? because the
browser do not request, ..no?
In my graph, i see a wierd fact:

   http://goo.gl/of0V0

Thank a lot.
Sahid

-- 
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-appeng...@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: Enhancement/Concept for Foreign Property Synchronization within Models

2010-12-10 Thread Julian Namaro
Yes I also thought about this when denormalizing. And this could be
generalized to a whole model by serializing it into a protobuf
StringProperty.

This is probably best for models with infrequent writes, like a User
personal information.



On Dec 9, 7:06 am, Robert Kluin  wrote:
> Hi Zach,
>   I think this is a pretty useful idea.  It would probably help people
> new to app engine design more efficient apps since it would help get
> past the typical "you want me to DEnormalize my data?  That is a
> really really bad sin though, right?" feelings that are common when
> someone first suggests the idea.
>
>   I think both methods look super-clean, but I like the idea of
> SyncedProperty -- it implies the synced-property will use the type
> from the 'source' kind which is cool.  An entity might have multiple
> references to the same kind, so I guess we would need to specify which
> reference property to use and the property to sync from.  I am not
> sure this could be done within the class definition, since it is not
> yet defined.  Maybe it could look something like:
>
> class Story(db.Model):
>     author_key = db.ReferenceProperty(Author)
>     title = db.StringProperty()
>     date = db.DateTimeProperty()
>
> # Setup the Synced properties...
> Story.author_name = db.SyncedProperty(Story.author_key, Author.name)
> Story.author_age = db.SyncedProperty(Story.author_key, Author.age)
>
> What are some cleaner ways to accomplish that?
>
> I would think the Author kind needs a "revision number" property and
> that the Story kind would also then get an implicit
> "author_key_revision" property, so that we can ensure old updated
> never overwrite new updates.
>
> Then I guess the trick would be to adjust the Author kind so that when
> it is saved a (transactional) task is kicked off to process those
> updates.  Perhaps db hooks could be used?  To ensure consistency, I
> believe all writes to the Author entity will need done within a
> transaction.
>
> Robert
>
> On Wed, Dec 8, 2010 at 15:16, fission6  wrote:
> > I think it could be very powerful to consider the following concept as a way
> > to ease data / relational integrity while still maintaing a sense of
> > denormalization.
> > Often times certain fields for a model may be replicated to maintain a more
> > embedded view of properties. This leaves the developer responsible for its
> > upkeep often times through db.keys / ReferenceProperties between the model
> > and its counterpart (relation). Would it be possible to stream line this by
> > specifying that a given field should be synced to a model field; taking
> > advantage of the backwards/forward relations maintained by
> > ReferenceProperties.
> > For example:
> > class Author(db.Model):
> >     author_name = db.StringProperty()
> >     sex = db.StringProperty()
> >     birth_day = db.DateTimeProperty()
> >     .
> > class Story(db.Model):
> >     author_key = db.ReferenceProperty(Author)
> >     author_name = db.StringProperty()
> >     title = db.StringProperty()
> >     date = db.DateTimeProperty()
> >     .
>
> > Here the developer would need to maintain the author_name explicitly
> > whenever the referring author's name changes. Although this is not often,
> > and serves as a simple example, its often routine to have to maintain some
> > sort 'foreign property' in this manor.  It would be very powerful and
> > encouraging to offer something like the following descriptor for a field
> > which can be managed through handler somewhere in the background. Using the
> > models above:
> > I think it could be very powerful to consider the following concept as a way
> > to ease data / relational integrity while still maintaing a sense of
> > denormalization.
> > Often times certain fields for a model may be replicated to maintain a more
> > embedded view of properties. This leaves the developer responsible for its
> > upkeep often times through db.keys / ReferenceProperties between the model
> > and its counterpart (relation). Would it be possible to stream line this by
> > specifying that a given field should be synced to a model field; taking
> > advantage of the backwards/forward relations maintained by
> > ReferenceProperties.
> > For example:
> > class Author(db.Model):
> >     author_name = db.StringProperty()
> >     sex = db.StringProperty()
> >     birth_day = db.DateTimeProperty()
> >     .
> > class Story(db.Model):
> >     author_key = db.ReferenceProperty(Author)
> >     author_name = db.StringProperty(sync=author_key.author_name)
> >     title = db.StringProperty()
> >     date = db.DateTimeProperty()
> >     .
> > What happens here is that a manager handles the backwards relations for the
> > ReferenceProperty so that every time the related Author name changes / its
> > synced to its counterpart "foreign fields". I am not sure that
> > the (sync=author_key.author_name) is the most ideal way to specify this /
> > perhaps just a new Property in general such as
> > SyncProperty(som

Re: [google-appengine] Not authorized - can't log into appengine

2010-12-10 Thread Thijs Brobbel
Hey Ikai,

I am using the custom domain login page, and though I am being
authenticated, the authorization is giving me an access denied (Title
bar says "Unauthorized (401)" and heading/body says
"Unauthorized"/"You are not authorized to access this application.").

Again, this must have been caused by transitioning my account into the
new infrastructure (for details, see
http://www.google.com/support/a/bin/topic.py?topic=28917). This
triggered the unauthorized bit, so I reverted my account, but that
didn't work.

I'd say a bug in the appengine auth part, not able to cope with the
new infrasturcture just yet, and although I reverted my account, the
regression seems to already have been triggered.

Cheers,
Thijs

On Tue, Dec 7, 2010 at 18:48, Ikai Lan (Google)
 wrote:
>
> What are your application IDs?
> It looks like you guys are using custom Google Apps domains. Can you check to 
> see if you are logging in in appending /a/yourdomain.com?
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blogger: http://googleappengine.blogspot.com
> Reddit: http://www.reddit.com/r/appengine
> Twitter: http://twitter.com/app_engine
>
>
> On Mon, Dec 6, 2010 at 4:34 PM, Doug Davies  wrote:
>>
>> I am having a similar issue.  I have no admin panel.  My app does not show 
>> up anywhere even though it still seems active. I just can't get to the admin 
>> panel to look at stats or make any changes.
>>
>> --
>> 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-appeng...@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-appeng...@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-appeng...@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.