[appengine-java] Re: Datastore server error

2012-03-22 Thread Mike Lawrence
Switch to HR datastore On Mar 21, 9:28 am, Aswath Satrasala aswath.satras...@gmail.com wrote: I have been have the same Datastore Viewer error with my appid 'vs-accounting'.  It is configure as M/S. I am having this trouble for over 1.5 days.  This application is in production.  I don't know

[appengine-java] Re: Presentation: Developing WordPong.com on Google App Engine

2012-03-21 Thread Mike Lawrence
the least. You've referenced many websites, but how about books you found helpful. Thanks again. On Tuesday, March 20, 2012 7:35:03 AM UTC-4, Mike Lawrence wrote: Presenting this slide deck at DevNexus 2012 this week: http://goo.gl/RspSm It details my experiences developing http

[appengine-java] Presentation: Developing WordPong.com on Google App Engine

2012-03-20 Thread Mike Lawrence
Presenting this slide deck at DevNexus 2012 this week: http://goo.gl/RspSm It details my experiences developing http://WordPong.com, a web-based social game, on GAE. Mike Lawrence -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group

[appengine-java] Re: publishing html files

2012-03-01 Thread Mike Lawrence
How about a public google doc? https://support.google.com/docs/bin/answer.py?hl=enanswer=184006 On Feb 26, 2:28 pm, Vik vik@gmail.com wrote: Hie I am generated html documents using a google text doc as template (reading it using gdata apis and then doing some text manipulation). Now, I

[appengine-java] Re: Slow cold starts

2012-02-26 Thread Mike Lawrence
I noticed similar behavior. I think the auto setting for minimum number of instances changed from two to zero active instances. I changed from auto to one, and my app is much more responsive. setting minimum instances higher will co$t you more On Feb 25, 9:36 am, Anders blabl...@gmail.com wrote:

[appengine-java] Re: GAE High Replication datastore (HRD) with transaction

2012-02-20 Thread Mike Lawrence
since hrd is eventually consistent, you need to restructure your app to not immediately query the newly commited data after a transaction. welcome to nosql my app builds its own result page that assumes the committed data is there. by the time the user refreshes the page the data is there and

[appengine-java] Re: Increased Average HTTP Response Times since Feb 12th 2012

2012-02-18 Thread Mike Lawrence
I changed instaces settings in console from auto to a minimum of two and the response times are again about a second On Feb 16, 2:07 pm, Matthias Friedrich mtthsfrd...@gmail.com wrote: hi mike, i can confirm that. The responsetime is getting higher and higher, meanwhile some are above 90

[appengine-java] Increased Average HTTP Response Times since Feb 12th 2012

2012-02-16 Thread Mike Lawrence
Average HTTP Response times have gone from sub-second to about 10secs. http://montools.com/stats/11770 I've not changed any admin settings or code. Anyone else seeing this? Looks like the scheduler now causes more cold starts. Since me requests include memcache and database updates, not sure if

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 10 Messages in 5 Topics

2012-02-15 Thread Mike Lawrence
,  Mike Lawrence Blessed are the flexible, for they will never get bent out of shape -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from

[appengine-java] AppEngineFile typo

2012-02-12 Thread Mike Lawrence
On page: http://code.google.com/appengine/docs/java/googlestorage/overview.html writableFile = new AppEngine(path); should be writableFile = new AppEngineFile(path); -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

[appengine-java] Re: Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 5 Topics

2012-01-14 Thread Mike Lawrence
Engine plus.ikailan.com | twitter.com/ikai On Fri, Jan 13, 2012 at 11:12 AM, Mike Lawrence m...@systemsplanet.comwrote: Ikai, Docs still say transactions wont span entity groups: http://code.google.com/appengine/docs/java/datastore/transactions.html http://code.google.com/p

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 5 Topics

2012-01-13 Thread Mike Lawrence
with the High Replication Datastore, which allow you to perform transactions across multiple entity groups. http://code.google.com/appengine/docs/java/datastore/transactions.html Sincerely,  Mike Lawrence On Thu, Jan 12, 2012 at 12:23 AM, google-appengine-java@googlegroups.com wrote:   Today's

[appengine-java] Memcache errors

2011-11-16 Thread Mike Lawrence
My Java GAE app has http sessions enabled. Periodically, I see calls to createSession fail with a memcache error. Anyone else seeing similar behavior? Is there any elegant way to recover from this? Here's an example: 2011-11-14 18:06:59.062 org.apache.jasper.runtime.JspFactoryImpl

[appengine-java] Re: .A research: how long will your java app instance start up fully?

2011-10-01 Thread Mike Lawrence
2-3 secs with stripes + slim3 On Sep 29, 9:29 pm, Tapir tapir@gmail.com wrote: ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from

[appengine-java] Re: The *real* cost of the billing changes

2011-09-06 Thread Mike Lawrence
Instead of ranting google broke it, it might be more productive if you: - identify the type of app you are building - use cases - API calls - number users - typical transactions - consistency requirements - etc then offer some suggestions on how google could support your use

[appengine-java] Re: Session/Cookie problem with redirect

2011-08-28 Thread Mike Lawrence
have you tried viewing the http headers in each request using chrome, firebug, httpwatch, etc? sunshine is the best disinfectant I dont think redirects normally can set cookies maybe the prod server is striping your invalid host headers on a redirect On Aug 28, 7:32 am, Simon Knott

[appengine-java] Re: Always On not working properly

2011-08-26 Thread Mike Lawrence
switching to the high availability data store fixed this for me. On Aug 25, 10:30 am, Anders blabl...@gmail.com wrote: I switched on the Always On option and it works inasmuch as the dashboard shows three resident instances but new instances are started sometimes with only a few seconds

[google-appengine] Time for a community-sourced Google App Status page?

2011-08-25 Thread Mike Lawrence
https://lh5.googleusercontent.com/-9Pc3z3hf7bM/Tlad9xaPGoI/ABo/rxXUUy89RUI/appstats1.jpg Hope this post doesn't get me in trouble with my Google friends, but I've about had it with the Google App Engine System Status page. http://code.google.com/status/appengine Yesterday my app was

[appengine-java] Re: Deploy button in Eclipse does not prompt for administrator account username

2011-08-23 Thread Mike Lawrence
I still cant sign in from eclipse Helios, but I was able to deploy using this cmd: set GAESDK=C:\eclipse\plugins \com.google.appengine.eclipse.sdkbundle_1.5.0.r36v201105092302\appengine- java-sdk-1.5.0 set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25 %JAVA_HOME%\bin\java -cp

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread Mike Lawrence
authenticated I save app state in hidden form html. hope that helps Sincerely, Mike Lawrence On Mon, Aug 22, 2011 at 10:54 AM, thstart thst...@gmail.com wrote: +Mike Lawrence As you post I have couple of questions to you. Average response time is still sub-second for the week. Do you use

Re: [google-appengine] Should Google deprecate Master/Slave data store option?

2011-08-21 Thread Mike Lawrence
For the one week off of Master/Slave and on HR: - up-time has been 100% - max response time has improved... down from 22+ seconds to about 2-6 seconds. - Average response time is still sub-second for the week.

Re: [google-appengine] Re: My master/slave to high replication datastore migration experience

2011-08-15 Thread Mike Lawrence
if you use slim3 for your data store operations you can avoid all this parenting nonsense. slim3 allows you to update two of the same kind in a single transaction! why should we be required to place entities that are not logically related into a parenting relationship just to get transaction

Re: [google-appengine] Re: My master/slave to high replication datastore migration experience

2011-08-15 Thread Mike Lawrence
. I'd ask the slim3 user group. they're friendly and very responsive. good luck Mike Lawrence On Aug 15, 2011, at 10:08 PM, Tim Hoffman zutes...@gmail.com wrote: HI Mike. You said slim3 allows you to update two of the same kind in a single transaction! How does slim3 achieve

[appengine-java] Re: Joins!

2011-08-06 Thread Mike Lawrence
to build a scalable schema on GAE I'd consider this agile/tracer bullet approach: 1 identify your most common couple of use cases eg building home page, list friends, etc 2 implement it from front end to back end using keyed reads over queries where possible 3 add new features without breaking

[appengine-java] Re: Getting a grip on startup

2011-08-06 Thread Mike Lawrence
the stripes web framework starts in under 3 seconds on GAE. it's clean, simple, and light. do you really need spring? is wiring beans really worth all the startup cost? On Aug 3, 9:57 pm, John jwb...@gmail.com wrote: As our app has grown, the amount of initialization work to do in order to

Re: [google-appengine] Re: GAE Starts dynamic instances for no reason... causing unnecessary cold start delays

2011-07-29 Thread Mike Lawrence
thanks for clearing that up. I'm sure a lot of people will be confused by this. Maybe add a $ next to instances that we are being charged for so it's obvious? Thanks for your excellent support -- You received this message because you are subscribed to the Google Groups Google App Engine group.

[google-appengine] Re: GAE Starts dynamic instances for no reason... causing unnecessary cold start delays

2011-07-28 Thread Mike Lawrence
that helps. There is also a lengthy discussion going on at:http://groups.google.com/group/google-appengine/browse_thread/thread/... On Wed, Jul 27, 2011 at 2:59 PM, Mike Lawrence m...@systemsplanet.com wrote: I purchased 3 Always-On instances. My site is under construction

[google-appengine] Re: GAE Starts dynamic instances for no reason... causing unnecessary cold start delays

2011-07-28 Thread Mike Lawrence
on at:http://groups.google.com/group/google-appengine/browse_thread/thread/... On Wed, Jul 27, 2011 at 2:59 PM, Mike Lawrence m...@systemsplanet.com wrote: I purchased 3 Always-On instances. My site is under construction with no traffic. When I hit my site, GAE fires up a new dynamic

[google-appengine] GAE Starts dynamic instances for no reason... causing unnecessary cold start delays

2011-07-27 Thread Mike Lawrence
I purchased 3 Always-On instances. My site is under construction with no traffic. When I hit my site, GAE fires up a new dynamic instance to service the request when there are 3 idle instances! My app starts in 2.0 seconds (using stripes) But GAE takes 9.4 seconds to reply (why?). Really annoying.

[appengine-java] Re: Blog with schema advice for GAE/NoSQL users

2011-07-13 Thread Mike Lawrence
Nice blog post Jeff. I've found myself storing lists of keys in my domain objects to replace queries with fast parallel gets of related domain objects. Of course, there is a trade-off of the expense of keeping the key list fresh. This makes the GUI extreamly fast (no queries, just gets) and

[appengine-java] Re: ANN: BatchFB 2.1, a Java Facebook library with automatic batching

2011-07-13 Thread Mike Lawrence
Nice Jeff. Do you ever sleep? ;) Now we can quickly move all the fb data to g+ and stop using fb. joy. On Jul 12, 1:55 am, Jeff Schnitzer j...@infohazard.org wrote: This is the first time I've announced this opensource project in this forum because until now there wasn't anything GAE-specific

[appengine-java] Cost of using async-session-persistence?

2011-07-01 Thread Mike Lawrence
Googlers? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/TMf-DMwnkYQJ. To post to this group, send email to

[appengine-java] Cost of using async-session-persistence?

2011-06-29 Thread Mike Lawrence
What is the financial cost associated with using this feature? IE how many additional API calls/datastore accesses/bytes transferred/ etc can one expect? http://code.google.com/p/googleappengine/issues/detail?id=1692 -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Is the native API really so much faster than JDO and slim3?

2011-06-08 Thread Mike Lawrence
I get... The number of entities: 1 low level 1717 millis slim3 1502 millis objectify 2970 millis jdo 3485 millis probably should modify this example to do an average of several runs one important thing to note, is slim3 allows you to update multiple entity types in a single transaction. not

[appengine-java] Re: Java = Google app

2011-05-24 Thread Mike Lawrence
maven thoughts - anyone who's worked on a large project over time has seen the build scripts grow in complexity and maintenance costs - maven, like many solutions, introduces a domain-specific-language to simplify things, or in mavens case, a domain specific XML schema - I usually cringe when I

[appengine-java] Re: GAE - Java - JSON?

2011-05-21 Thread Mike Lawrence
+1 stripes my stripe app boots cold in 2 seconds round trip times from browser to datastore in back are about 100ms the rest of the stack... combined with slim3 datastore and much if the gae datastore issues melt away jquery mobile - works cross browser, google tv, cross smart

[appengine-java] Re: Vs: Re: Stripes + UrlBinding + Google App Engine

2011-05-15 Thread Mike Lawrence
sorry you're having problems. dont think this is an app engine issue since many folks use stripes on gae. here are the stripe parts from my web XML ?xml version=1.0 encoding=utf-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee;

[appengine-java] Re: Vs: Re: Stripes + UrlBinding + Google App Engine

2011-05-15 Thread Mike Lawrence
there is no file system in gae so the multipart wrapper could be your problem. it probably would work locally by not in prod On May 15, 8:30 am, Mike Lawrence m...@systemsplanet.com wrote: sorry you're having problems. dont think this is an app engine issue since many folks use stripes on gae

[google-appengine] Re: Is App Engine suddenly becoming more expensive???

2011-05-11 Thread Mike Lawrence
*I hope Google is not counting on everyone enabling multithreading to make this new model work.* *If so, I'm afraid I'll reluctantly have to move from GAE. * I volume tested my GAE web app using jmeter with and without GAE multithreading enabled. Hope others will confirm/refute my findings:

Re: [google-appengine] Re: Is App Engine suddenly becoming more expensive???

2011-05-11 Thread Mike Lawrence
Is this math correct for 3 reserved instances? *Current plan:* * $9/month* *New plan *($9/month platform fee + ($0.05 / hour for reserved instance * 24 hrs/day * 30 days /month x 3 instances) *$117 /month* That can't be right? 13 times more? Please tell me I'm wrong. -- You received

Re: RE: [google-appengine] Re: Is App Engine suddenly becoming more expensive???

2011-05-11 Thread Mike Lawrence
You cant use a 3rd party library to add threading. The API to create a new thread is not in the white list so it's not allowed Sincerely, Mike Lawrence On Wed, May 11, 2011 at 2:32 PM, Kyle Finley kylefin...@gmail.com wrote: What if you were to re-wright using datastore plus? http

[google-appengine] Re: Is App Engine suddenly becoming more expensive???

2011-05-11 Thread Mike Lawrence
Just retested my app with the new 1.5.0 GAE SDK. Results are completely different. Could be SDK or infrastructure changes. Previously, the multithreaded mode would only spawn 3 instances. Now it spawned 8. 1000 user threads, each doing 100 web page requests that issue a couple of backend

[appengine-java] Re: Integrating Flex/Flash/Silverlight/AJAX/Android with Java classes in GAE

2011-04-07 Thread Mike Lawrence
Mark, if I write a simple servlet that accepts JSON it supports any client too, for free with no external dependencies. I watched your entire video. Sorry, not sure I understand your value proposition. On Apr 5, 3:45 pm, Mark Piller mpil...@gmail.com wrote: Hey guys, I am not sure what the

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-02 Thread Mike Lawrence
Ck out this crash course in getting a java app up from scratch... http://goo.gl/UT2W3 My personal recommendations: - plan on spending a week or two learning how the datastore works before you get started - if you will ever need the High Replication Datastore, set it up now. it's a pain to add it

[appengine-java] Re: Does anyone use cloudcover for running junit tests on appengine?

2011-03-25 Thread Mike Lawrence
this one works really well locally and on gae http://code.google.com/p/ktrwjr/ On Mar 22, 5:58 pm, Brendan Doherty bren...@propertysimplified.com wrote: At Google I/O last year, Max Ross gave an interesting talk on a unit test harness that let you run existing test suites in production on

[appengine-java] Re: Deleted APP, recover app ID

2011-03-15 Thread Mike Lawrence
http://code.google.com/appengine/kb/general.html How many applications can I create with Google App Engine? You can delete your existing applications via the Admin Console if you want to create more, but you will not be able to re-register an application ID. On Mar 14, 9:41 am, IvanRdz