Re: [google-appengine] Intermittent App latency

2011-02-27 Thread Robert Kluin
Hi Cian,
   Have you used Appstats to investigate?  Perhaps there is some type
of cleanup process, maybe by a session library, happening?



Robert




On Fri, Feb 25, 2011 at 17:00, Cian Montgomery
 wrote:
> My app (appid: mr-october, always on) is experiencing lots of problems
> with latency problems over the last couple of days.
>
> For a bunch of the calls to the same action dispatch handler over the
> last there hours.
> 2011-02-25 12:36:09.581 /reggie/dispatch 200 4829ms 4763cpu_ms
> 236api_cpu_ms
> 2011-02-25 12:35:31.683 /reggie/dispatch 200 159ms 405cpu_ms
> 125api_cpu_ms
> 2011-02-25 12:35:16.764 /reggie/dispatch 200 354ms 615cpu_ms
> 125api_cpu_ms
> 2011-02-25 12:20:37.208 /reggie/dispatch 200 232ms 452cpu_ms
> 125api_cpu_ms
> 2011-02-25 12:19:28.348 /reggie/dispatch 200 6380ms 4600cpu_ms
> 190api_cpu_ms
> 2011-02-25 10:47:19.700 /reggie/dispatch 200 171ms 452cpu_ms
> 125api_cpu_ms
> 2011-02-25 10:47:15.865 /reggie/dispatch 200 141ms 405cpu_ms
> 125api_cpu_ms
> 2011-02-25 10:47:15.731 /reggie/dispatch 200 385ms 475cpu_ms
> 125api_cpu_ms
> 2011-02-25 10:37:15.031 /reggie/dispatch 200 177ms 522cpu_ms
> 125api_cpu_ms
> 2011-02-25 10:36:48.890 /reggie/dispatch 200 3550ms 732cpu_ms
> 125api_cpu_ms
>
> Which is honestly much better then the past couple of days where saw
> some times over 3ms.
>
> Or these where appengine did not even get to my log statement so I
> have no idea what the request was:
> 2011-02-23 09:36:35.922 /reggie/dispatch 500 141862ms 1395cpu_ms
> 65api_cpu_ms
> 2011-02-23 09:00:21.024 /reggie/dispatch 500 102858ms 793cpu_ms
>
> I can reproduce this behavor just by hitting the same query from the
> client, reliably 1 out of about every 20 exections of this action is
> over 5 seconds of latency.
>
> What can be done to address these latency issues?
>
> Thanks,
>
> Cian.
>
> --
> 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] Google Apps verification on Domain

2011-02-27 Thread Robert Kluin
This forum is about Google App Engine, sounds like you need(ed) help
with Google Apps:
http://www.google.com/apps/intl/en/business/support.html#online







On Sun, Feb 27, 2011 at 09:37, Eric1188  wrote:
> Hi
>
> Recently, I started migrating email to Google Apps for Business. MX
> and CNAME records for mail on my domain is now pointing to Google.
>
> 1. I can't use Google Apps because Google needs 48 hours to verify my
> domain. Is there a quicker way on the verification process ?
>
> 2. Also, how do I access Google Apps Admin Cpanel when there is no
> option to create Admin ID and password ?
>
> I need my email to get started on Google in th next 6 hours, I
> appreciate anyone who can assist me on this. There is no way I can
> contact Google for technical support by phone, the 1st response from
> Google is the asking of PIN number which is not easily available.
>
> Best Regards
> ERIC
>
> --
> 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] experiencing latency issues on my app.

2011-02-27 Thread Cian Montgomery
app-id: mr-october, always on.

I have posted messages here for the last 2 days that seem to have gone
into a moderator black hole.

My app seems to have random latency, All but one of these time outs
happen prior to any of my code executing, the other times out in a
data store fetch. Here is the log message from the calls:
2011-02-24 11:52:33.837
A serious problem was encountered with the process that handled this
request, causing it to exit. This is likely to cause a new process to
be used for the next request to your application. If you see this
message frequently, you should contact the App Engine team. (Error
code 203)

What can be done about this?


2011-02-27 10:26:07.345 /reggie/dispatch 500 10052ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/
20101203 Firefox/3.6.13,gzip(gfe)
2011-02-26 14:04:51.685 /reggie/dispatch 500 10665ms 0cpu_ms 0kb
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13)
Gecko/20101203 Firefox/3.6.13 GTB7.1,gzip(gfe)
2011-02-26 13:50:01.770 /reggie/dispatch 500 11090ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.648.82 Safari/534.16,gzip(gfe)
2011-02-26 13:49:21.950 /reggie/dispatch 500 10068ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.648.82 Safari/534.16,gzip(gfe)
2011-02-26 13:48:22.162 /reggie/dispatch 500 10441ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.648.82 Safari/534.16,gzip(gfe)
2011-02-26 11:57:11.826 /reggie/dispatch 500 11229ms 0cpu_ms 0kb
Mozilla/5.0 (Windows NT 5.1; rv:2.0b11) Gecko/20100101 Firefox/
4.0b11,gzip(gfe)
2011-02-25 20:20:56.615 /reggie/dispatch 500 10278ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.13
(KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13,gzip(gfe)
2011-02-25 18:28:32.748 /reggie/dispatch 500 10081ms 0cpu_ms 0kb
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/
20100115 Firefox/3.6,gzip(gfe)
2011-02-25 16:16:07.831 /reggie/dispatch 500 10050ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/
20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 14:45:28.482 /reggie/dispatch 500 10313ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/
20101203 Firefox/3.6.13 GTB7.1,gzip(gfe)
2011-02-25 13:34:54.124 /reggie/dispatch 500 10424ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.648.82 Safari/534.16,gzip(gfe)
2011-02-25 08:55:09.606 /reggie/dispatch 500 30302ms 86cpu_ms
40api_cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.2; MS-RTC
LM 8; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; .NET4.0C; .NET4.0E),gzip(gfe)
2011-02-25 00:06:57.253 /reggie/dispatch 500 10169ms 0cpu_ms 0kb
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/
533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe)
2011-02-25 00:04:42.575 /reggie/dispatch 500 10092ms 0cpu_ms 0kb
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206
Ubuntu/10.04 (lucid) Firefox/3.6.13,gzip(gfe)
2011-02-24 19:47:02.845 /reggie/dispatch 500 10464ms 0cpu_ms 0kb
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Comcast Install
1.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe)
2011-02-24 19:39:37.519 /reggie/dispatch 500 14559ms 0cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13
(KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13,gzip(gfe)
2011-02-24 14:01:46.039 /reggie/dispatch 500 10133ms 0cpu_ms 0kb
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/
20100115 Firefox/3.6,gzip(gfe)
2011-02-24 13:42:09.819 /reggie/dispatch 500 10121ms 0cpu_ms 0kb
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/
533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe)
2011-02-24 13:41:07.174 /reggie/dispatch 500 10091ms 0cpu_ms 0kb
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/
533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe)
2011-02-24 11:52:33.862 /reggie/dispatch 500 10058ms 0cpu_ms 0kb
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us)
AppleWebKit/533.17.9 (KHTML, like

-- 
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] Google Apps verification on Domain

2011-02-27 Thread Eric1188
Hi

Recently, I started migrating email to Google Apps for Business. MX
and CNAME records for mail on my domain is now pointing to Google.

1. I can't use Google Apps because Google needs 48 hours to verify my
domain. Is there a quicker way on the verification process ?

2. Also, how do I access Google Apps Admin Cpanel when there is no
option to create Admin ID and password ?

I need my email to get started on Google in th next 6 hours, I
appreciate anyone who can assist me on this. There is no way I can
contact Google for technical support by phone, the 1st response from
Google is the asking of PIN number which is not easily available.

Best Regards
ERIC

-- 
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] Application latency spikes.

2011-02-27 Thread Cian Montgomery
My app (appid: mr-october) is experiencing lots of problems with
latency spike. I am paying for always on service.  I am seeing
frequent but seemingly random spikes of latency on user requests.
This is causing my users lots of unexpected problems and giving the
app a reputation as unreliable. Currently I get 20-50 users to the
site everyday spread out over the day.


Looking at my logs I ca find an example of this. When users land on my
site I present them with a list of available options. this is done by
query the data store for objects that have an end date in the future
and then doing a little additional filtering on the list. The current
list is about 8 returned from the data store and then filtered on the
cpu and sanatized to be sent to the user. Over the last 3 hours I find
the following latencys for this call, (which i can identify by the
first log entry
of :com.shinypurplepony.reggie.server.servlets.RegistrationServlet
execute: Action:
com.shinypurplepony.reggie.shared.action.GetRegistrationSeasons)

2011-02-25 12:36:09.581 /reggie/dispatch 200 4829ms 4763cpu_ms
236api_cpu_ms 6kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.82 Safari/
534.16,gzip(gfe
2011-02-25 12:35:31.683 /reggie/dispatch 200 159ms 405cpu_ms
125api_cpu_ms 6kb Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727;
2011-02-25 12:35:16.764 /reggie/dispatch 200 354ms 615cpu_ms
125api_cpu_ms 6kb Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727;
2011-02-25 12:20:37.208 /reggie/dispatch 200 232ms 452cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-
US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe)
2011-02-25 12:19:28.348 /reggie/dispatch 200 6380ms 4600cpu_ms
190api_cpu_ms 6kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-
US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe)

2011-02-25 10:47:19.700 /reggie/dispatch 200 171ms 452cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 10:47:15.865 /reggie/dispatch 200 141ms 405cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 10:47:15.731 /reggie/dispatch 200 385ms 475cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 10:46:52.893 /reggie/dispatch 200 37ms 140cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/
20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 10:37:15.031 /reggie/dispatch 200 177ms 522cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-
US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe)
2011-02-25 10:36:48.890 /reggie/dispatch 200 3550ms 732cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-
US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe)

Which is honestly much better then the past couple of days:

2011-02-25 08:55:09.606 /reggie/dispatch 500 30302ms 86cpu_ms
40api_cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.2;
MS-2011-02-22 22:23:31.143 /reggie/dispatch 200 5043ms 210cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13
(KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13,gzip(gfe)


Or these where appengine did not even get to my log statement so I
have no idea what the request was:
2011-02-23 09:36:35.922 /reggie/dispatch 500 141862ms 1395cpu_ms
65api_cpu_ms 0kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-
us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/
533.19.4,gzip(gfe)
2011-02-23 09:00:21.024 /reggie/dispatch 500 102858ms 793cpu_ms 0kb
Mozilla/5.0 (iPad; U; CPU OS 4_2_1 like Mac OS X; en-us) AppleWebKit/
533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/
6533.18.5,gzip(gfe)

What can be do to address these latency issues?

Thanks,

Cian.

-- 
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] Newbie playing around with GAE+Maven+Spring+JPA

2011-02-27 Thread DavidFM
Hello,

I'm totally newbie in GAE, and I come from a relational database
system...

I'm using JPA for persistence just because I'm used to working with
Hibernate...

I have main doubts which are prevening me from figuring out all the
GAE stuff:


 I just complete an example application which runs locally with maven
GAE plugin (mvn gae:run) and I'm testing some persistence stuff.

My issue (ignorance) comes from the fact that in one execution I
insert, for example, two users, and in the following I would like to
query them: between executions I don't have "persistence", I have to
insert them again.

The question is basically how to "explore" the datastore locally,
without deploying in GAE, during the development phase, and get some
data inserted and "maintain" this data between the hundreds of
executions needed to test and develop the app.

There has to be some file/s with the data (locally) and populate it
with example data, along with the information I am incorporating
through the forms of the application


I'm not sure if I've explained it well, but I just want to try my
application locally using maven plugin and get the data "persisted"
without having to insert the same entities over and over again.

Thanks in advance,

David

-- 
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] Intermittent App latency

2011-02-27 Thread Cian Montgomery
My app (appid: mr-october, always on) is experiencing lots of problems
with latency problems over the last couple of days.

For a bunch of the calls to the same action dispatch handler over the
last there hours.
2011-02-25 12:36:09.581 /reggie/dispatch 200 4829ms 4763cpu_ms
236api_cpu_ms
2011-02-25 12:35:31.683 /reggie/dispatch 200 159ms 405cpu_ms
125api_cpu_ms
2011-02-25 12:35:16.764 /reggie/dispatch 200 354ms 615cpu_ms
125api_cpu_ms
2011-02-25 12:20:37.208 /reggie/dispatch 200 232ms 452cpu_ms
125api_cpu_ms
2011-02-25 12:19:28.348 /reggie/dispatch 200 6380ms 4600cpu_ms
190api_cpu_ms
2011-02-25 10:47:19.700 /reggie/dispatch 200 171ms 452cpu_ms
125api_cpu_ms
2011-02-25 10:47:15.865 /reggie/dispatch 200 141ms 405cpu_ms
125api_cpu_ms
2011-02-25 10:47:15.731 /reggie/dispatch 200 385ms 475cpu_ms
125api_cpu_ms
2011-02-25 10:37:15.031 /reggie/dispatch 200 177ms 522cpu_ms
125api_cpu_ms
2011-02-25 10:36:48.890 /reggie/dispatch 200 3550ms 732cpu_ms
125api_cpu_ms

Which is honestly much better then the past couple of days where saw
some times over 3ms.

Or these where appengine did not even get to my log statement so I
have no idea what the request was:
2011-02-23 09:36:35.922 /reggie/dispatch 500 141862ms 1395cpu_ms
65api_cpu_ms
2011-02-23 09:00:21.024 /reggie/dispatch 500 102858ms 793cpu_ms

I can reproduce this behavor just by hitting the same query from the
client, reliably 1 out of about every 20 exections of this action is
over 5 seconds of latency.

What can be done to address these latency issues?

Thanks,

Cian.

-- 
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] Exceeded soft process size limit ?

2011-02-27 Thread sh
Since feb 25 i see the following entries in the logs for each request:

C 2011-02-26 05:06:17.557 Exceeded soft process size limit with
201.285 MB after servicing 1 requests total

The application has been running without errors/warnings since 11 feb
though...

Any idea what could be going on ?


-- 
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] Asynchronous URL Requests

2011-02-27 Thread Dika pautu
I'm so sory about your problem.. But can u help me to upload my photo?

On 2/25/11, Ellie Frost  wrote:
> I'm reading the asynchronous URL request API, and I'm a bit confused
> about it. The documentation mentions that callbacks aren't called when
> the request finishes, rather you have to call them explicitly. To me,
> this would seem to defeat the point of an asynchronous request - your
> application will still be locked up while the first wait() is called.
> Of course, any other requests could still continue to be retrieved in
> the background, but if the first request is the last to be retrieved,
> the application will be blocked when it could otherwise be processing
> the data from a request that had been received.
>
> My application involves pulling data from several outside sources at a
> relatively frequent interval, which thus far has been consuming the
> vast majority of my CPU usage. I'd hoped asynchronous requests would
> cut down on this a little, but at least by my understanding the
> performance gain will be minimal. Can anyone enlighten me on 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.
>
>


-- 
Dic_pautu

-- 
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] Application latency issues.

2011-02-27 Thread Cian Montgomery
Hi, tried to post this twice yesterday and have not seen any response
or posting to the forums. At this point I am completely baffled as how
to get any support on appengine.

-- Content old due to "lost messages"

My app (appid: mr-october, always on) is experiencing lots of problems
with latency problems over the last couple of days.


For a bunch of the calls to the same dispatch handler over the last
there hours.
2011-02-25 12:36:09.581 /reggie/dispatch 200 4829ms 4763cpu_ms
236api_cpu_ms 6kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.82 Safari/
534.16,gzip(gfe
2011-02-25 12:35:31.683 /reggie/dispatch 200 159ms 405cpu_ms
125api_cpu_ms 6kb Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727;
2011-02-25 12:35:16.764 /reggie/dispatch 200 354ms 615cpu_ms
125api_cpu_ms 6kb Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727;
2011-02-25 12:20:37.208 /reggie/dispatch 200 232ms 452cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-
US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe)
2011-02-25 12:19:28.348 /reggie/dispatch 200 6380ms 4600cpu_ms
190api_cpu_ms 6kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-
US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe)

2011-02-25 10:47:19.700 /reggie/dispatch 200 171ms 452cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 10:47:15.865 /reggie/dispatch 200 141ms 405cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 10:47:15.731 /reggie/dispatch 200 385ms 475cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 10:46:52.893 /reggie/dispatch 200 37ms 140cpu_ms 0kb
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/
20101203 Firefox/3.6.13,gzip(gfe)
2011-02-25 10:37:15.031 /reggie/dispatch 200 177ms 522cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-
US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe)
2011-02-25 10:36:48.890 /reggie/dispatch 200 3550ms 732cpu_ms
125api_cpu_ms 6kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-
US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe)

Which is honestly much better then the past couple of days where saw
some times over 3ms.

Or these where appengine did not even get to my log statement so I
have no idea what the request was:
2011-02-23 09:36:35.922 /reggie/dispatch 500 141862ms 1395cpu_ms
65api_cpu_ms 0kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-
us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/
533.19.4,gzip(gfe)
2011-02-23 09:00:21.024 /reggie/dispatch 500 102858ms 793cpu_ms 0kb
Mozilla/5.0 (iPad; U; CPU OS 4_2_1 like Mac OS X; en-us) AppleWebKit/
533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/
6533.18.5,gzip(gfe)

I can reproduce this behavor just by hitting the same query from the
client, reliably 1 out of about every 20 exections of this action is
over 5 seconds of latency.

What can be done to address these latency issues?

Thanks,

Cian.

-- 
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] Good heavens: appengine selects primary/secondary composite index sorts on an alphabetic basis

2011-02-27 Thread Robert Kluin
I would suggest any debutante interested in how the datastore to watch
some of the Google IO videos related to App Engine.  You should also
read all of the articles related to the datastore.  The 'datastore' is
not BigTable; it is a layer implemented on top of BigTable.  You might
find the discussions on merge-joins interesting.

Regarding the sort-order, my statement probably lacked verbosity and
clarity.  Read up on how the datastore handles composite indexes.
They are stored, more-or-less, as I mentioned.  So, the 'final
property' in the index will determine the 'initial' sort order. Also,
it is the only property you can do a range-scan on using indexes.  If
you read some of the docs and articles and watch some of the IO
video's, you'll have a much better understanding of how App Engine's
indexes work.

I'm not 100% sure what you mean by not being able to parallelize with
a composite index.  If you want to work on the dataset in parallel,
start workers at different points in the composite index.  Using
composite indexes saves the step of combining the results from
multiple indexes in-code.



Robert






On Sat, Feb 26, 2011 at 10:31, philip  wrote:
> It is not correct to say that 'the range-scan / order on must go last'.  If
> the requested range-scan/sort-order is on the same property as the primary
> sort then there is no work for appengine to do.  The results simply fall out
> in the required order.
>
> A dilettante such as myself expects a performance-optimised system to
> suggest indexes sorted in such a way that they can take advantage of this,
> but appengine did not do so.  It suggested the same index regardless of what
> sort order my query requested.  This suggests to me that appengine is either
> very highly performance-optimised in this area, or is not
> performance-optimised at all.
> From reading the BigTable paper (bigtable-osdi06.pdf) I see that BigTable
> files are found by traversing a B+ tree with a maximum of 3 levels.  If a
> web search query is handled by taking the intersection of n single-property
> index scans all of which go through these B+ trees, then that's good
> performance optimisation.  I assume that this is how google does web search.
> But composite indexes force you to work linearly.  You can't parallelise.
> My guess is that an un-optimised composite index is significantly inferior
> to parallel single-property index scans.
>
> So I can refine my question a little: how does appengine traverse its
> composite indexes when performing a query ?
>
> --
> 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] Serving old static files when changing default version

2011-02-27 Thread Robert Kluin
Google cache buster.

Barry's suggestion to include a version number in the static asset
URLs is a common solution and good approach if you've got (or can get)
a build system in place.  Even some simple bash-scripting can achieve
this.



Robert




On Sun, Feb 27, 2011 at 02:23, Varunkumar Nagarajan
 wrote:
> I am also facing the static content facing problems recently. It was working
> quite perfectly till few days back.
> Thanks,
> Varun
>
> --
> 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: Attempting to use Jing for XML Document Schema. Works on Local. Errors when Deployed.

2011-02-27 Thread Austin Dworaczyk Wiltshire
Came up with a solution:
http://stackoverflow.com/questions/4983057/using-jing-with-google-app-engine-cant-load-schemafactory-given-relax-ng-schema

On Feb 12, 9:53 pm, Austin Dworaczyk Wiltshire
 wrote:
> Oh! No I haven't. I wasn't aware that there was a Java specific group.
> I'll go ahead and post it there.
>
> I was considering the Stack Overflow guys. If I don't have any success
> with the Java group, I'll give Stack Overflow a try as well.
>
> Thanks for your help Calvin.
>
> On Feb 12, 4:17 pm, Calvin  wrote:
>
>
>
>
>
>
>
> > Have you posted on the Java-specific 
> > group?http://groups.google.com/group/google-appengine-java
>
> > Also, stackoverflow users might know something.

-- 
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] App upload failure rate

2011-02-27 Thread Robert Kluin
Hey Tom,
  I'm on comcast (between Indianapolis and Chicago), recently (maybe
the past few weeks) my internet has been flaky too.  I think a part of
my issue is DNS, I've added Google's Public DNS as a backup server
(http://code.google.com/speed/public-dns/docs/intro.html) to my DHCP
server.  Helped me a bunch.



Robert





On Sun, Feb 27, 2011 at 16:36, Tom Fishman  wrote:
> We use Comcast as our internet connection provider and usually we need
> upload 4 times ( in 10 mins ) to finish a 30 files update.
> I guess Comcast check the pattern of the packet and freeze the connection
> when "necessary". ( The modern light will be off ). This also happens to
> skype sometime.
> I'm curious if anyone have similar issue or even a solution. Now I'm wasting
> 30 mins everyday on re-trying the uploading.
> -Tom
>
>
> --
> 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] sending email with GAE copies admin -- how to stop

2011-02-27 Thread Jeffrey O'Neill
Hello,

I'm creating an app to allow people to vote in elections and this involves 
sending an email to each voter.  I do this in a loop:
mail.send_mail(sender = manager.email(),
   to = email,
   subject = election.title,
   body = body)
where manger is the signed-in user.

This appears to BCC the manager on all emails, but I don't want that to 
happen.  Is there a way to send the email only to the intended recipient?

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] App upload failure rate

2011-02-27 Thread Tom Fishman
We use Comcast as our internet connection provider and usually we need 
upload 4 times ( in 10 mins ) to finish a 30 files update.

I guess Comcast check the pattern of the packet and freeze the connection 
when "necessary". ( The modern light will be off ). This also happens to 
skype sometime.

I'm curious if anyone have similar issue or even a solution. Now I'm wasting 
30 mins everyday on re-trying the uploading.

-Tom


-- 
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] Status: 500 Internal Server Error

2011-02-27 Thread jack
Thank you, I define Messages() twice :)

-- 
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: memcache weirdness since last update

2011-02-27 Thread David
I have had a problems hitting the 10second timeout on putting to the
datastore which when backed up blocking on every datastore call (get
or put) eventually leads to the 30second request timeout.  I suppose
it's possible for the cache to get out of sync like that.

On Feb 25, 10:54 pm, Jeff Schnitzer  wrote:
> Is there any possibility your datastore calls are hitting the 30s timeout?
>
> There's no transactional link between datastore and memcache, and
> Objectify writes to memcache only after a successful datastore write.
> If you hit the 30s timeout while blocked in a write (which actually
> succeeds), you can get the cache out of sync.
>
> Jeff
>
> On Fri, Feb 25, 2011 at 9:05 AM, David  wrote:
> > Ever since the last update I've been having issues with my app
> > returning stale data.  I thought it was a bug in the client that was
> > reading the data, but as it turns out I tracked it down to the
> > memcache entity being out of sync from the datastore entity where the
> > memcache information is older than what is in the datastore.  I'm
> > using Objectify as my interface in java which is very simple.  It just
> > writes to memcache when it writes to the datastore.  It's been working
> > fine for the past 6 months my app has been around.  It could also be
> > because the past couple of months I've been experiencing problematic
> > latency errors in the datastore, but it still seems awfully
> > coincidental that there was a change to the memcache api related to
> > not persisting information if it has changed.
>
> > Has anyone else noticed similar behavior?
>
> > Thanks,
> > David
> > word-play.appspot.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-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] VB.NET OR C# ?

2011-02-27 Thread Brandon Wirtz
No.  Google is unlikely to support Microsoft Development Language in the
"near" (next 50 years) term.

 

If you are looking for MSFT solution Azure would be the MSFT Equivalent of
GAE, and it works quite well and comes with some interesting access to data
sets.

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of bgreer5050
Sent: Sunday, February 27, 2011 9:30 AM
To: google-appengine@googlegroups.com
Subject: [google-appengine] VB.NET OR C# ?

 

Does Google App Engine support VB.Net or C# Apps ?

 

Thanks

-- 
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] VB.NET OR C# ?

2011-02-27 Thread Wilson MacGyver
Nope.
On Feb 27, 2011 12:30 PM, "bgreer5050"  wrote:
> Does Google App Engine support VB.Net or C# Apps ?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] VB.NET OR C# ?

2011-02-27 Thread bgreer5050
Does Google App Engine support VB.Net or C# Apps ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] 504 gateway time-out

2011-02-27 Thread Tom Wu
504 gateway time-out

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