Re: [google-appengine] Re: 502 Bad gateway error

2017-08-15 Thread Tomas Erlingsson
Did this get resolved? We have an flex java app running in development with almost no traffic. We are constantly getting 502 telling us to try in 30sec and our server app is rebooted many times a day. I am running this locally without any problems. Not seeing any errors in the log. On Friday,

[google-appengine] Re: Disable index on String properties in low level datastore API (Java)

2017-04-26 Thread Tomas
Okay, I found it... https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/datastore/PropertyContainer#setUnindexedProperty(java.lang.String,%20java.lang.Object) setUnindexedProperty On Thursday, 27 April 2017 09:40:48 UTC+12, Tomas wrote: > > Hi there, &

[google-appengine] Disable index on String properties in low level datastore API (Java)

2017-04-26 Thread Tomas
Hi there, I'm trying optimise my app and I save simple object as a entity with two properties (key, String data) into datastore. I don't need to index the 'data' property at all but I have notice ev ery write does this: PropertyValue gae/datastore/count 1 gae/datastore/entity_writes 1

[google-appengine] Re: Slow cache, slow datastore, pending requests

2017-04-11 Thread Tomas
Okay, after lot of testing and deployments I've found one weird issue - json deserialisation is slow when the app is under load. My microservice accepts a json oject through post (simple bean with 10 short text properties). I can see that deserialisation of the bean takes 3+ seconds when the

[google-appengine] Re: Slow cache, slow datastore, pending requests

2017-04-09 Thread Tomas
down? [s~app-id-replaced/1.400432737224109618].: 2017-04-10 04:49:38 DEBUG QuoteRepository:72 - Saving quote 123 into database [s~app-id-replaced/1.400432737224109618].: 2017-04-10 04:49:49 DEBUG QuoteRepository:74 - Saved quote 123 into database On Monday, 10 April 2017 09:05:40 UTC+12, Tomas

[google-appengine] Slow cache, slow datastore, pending requests

2017-04-09 Thread Tomas
Hello there, in last couple of months I've rewritten my java app running on app engine and re-deployed with maven. Unfortunately from that time I'm experiencing following issues: 1) extremely slow memcache queries - 700ms+ for simple getting object with list of simple beans inside - very easy

[google-appengine] Incoming request dalyed by 4+ seconds

2017-04-03 Thread Tomas
Hello there, I've noticed that last month was pretty bad for my java apps running on app engine. Almost everything was unbelievably slow: 1) saving simple java bean into cache consistently takes half second (sometime more) 2) saving same bean (4 String fields) into datastore can take 10+

[google-appengine] Experiencing timeouts on my Java app frontend today

2014-05-21 Thread Tomas
Hi there for last ~6hours I'm experiencing alot of requests pending in the queue while the traffic on my apps is normal as usual. My apps run quite normally on App Engine for couple of years (with cold starts ~4-5s and alot of requests to keep them warm), just today it seems something is wrong

[google-appengine] Custom domains stopped to work

2014-03-11 Thread Tomas Adamek
: http://cover.librarist.com/9780007489978.jpg http://cover-librarist-com.appspot.com/9780007489978.jpg Does anyone have similar issue? Cheers Tomas -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop

[google-appengine] Re: Custom domains stopped to work

2014-03-11 Thread Tomas
Okay seems fixed for me now, thanks google! On Wednesday, 12 March 2014 09:40:24 UTC+13, Tomas Adamek wrote: Hi there it seems like that today all my custom domain configured in my google apps account stopped to forward the traffic to app engine applications. All custom domains directs

[google-appengine] App Engine credit for startups disappeared

2013-12-18 Thread Tomas Adamek
Hi there I'm wondering if this happened to someone else as well - I've received $1k credit for my project ~3 months ago and today I've found out it disappeared from my transaction history - I can see the comment on previous statement and would be expecting the amount would be credited again on

[google-appengine] Re: Bad news for GAE/Java from Google I/O

2013-05-17 Thread Tomas Adamek
to keep such time even with more suppliers thanks to modular and parallel design of our backend). Best regards Tomas. On Thursday, 16 May 2013 11:52:51 UTC+12, Jeff Schnitzer wrote: I attended the Autoscaling Java session at Google I/O. In summary, the advice is: * Don't use dependency

[google-appengine] Re: 1.7.8 Pre-release SDKs Available

2013-04-30 Thread Tomas
I've just noticed that some of my app instances now starts on 1.7.8 - is this normal to run user facing apps on pre-sdk versions? I mean - I don't have an issue with that (of course if it does work fine :) On Apr 30, 9:14 am, Janani Thanigachalam tjan...@google.com wrote: Hello Again Everyone!

[google-appengine] Instance issues

2013-02-26 Thread Tomas
From yesterday I observe that app engine spins new instance which serves requests for couple of seconds and then kill it immediately again. Can't see anything in logs, the spin up time also raised from usual 5-6sec to 18+ secs. That basically means that user faces 20secs timeout on each click.

[google-appengine] Re: Instance issues

2013-02-26 Thread Tomas
GAE got problem for some accounts only. Are you a paid user? On Wednesday, February 27, 2013 3:30:39 AM UTC+8, Tomas wrote: From yesterday I observe that app engine spins new instance which serves requests for couple of seconds and then kill it immediately again. Can't see anything in logs

[google-appengine] Re: giving up with GAE

2013-02-04 Thread Tomas
database) Just my 2 cents. Cheers Tomas On Tuesday, 5 February 2013 07:03:48 UTC+13, gafal wrote: And of course Multithread activated. Even with min pending latency of 14.9s, some users hit cold instances and get 20 to 40 s latency depending on GAE performances... Le lundi 4 février 2013

[google-appengine] Re: Still having issues with my app - no deploys for last couple of moth

2013-01-22 Thread Tomas
on their public forums I get a response within tenth of minutes/1-2 hours and the issue is immediately solved. I would love to continue to work on GAE but it's getting more and more frustrating. Regards. On Monday, 21 January 2013 19:58:42 UTC+13, Tomas wrote: Hi there, from the yesterday I started

[google-appengine] Still having issues with my app - no deploys for last couple of moth

2013-01-20 Thread Tomas
Hi there, from the yesterday I started to see a lot of deadline exceptions, memcache writes exceptions, datastore exceptions - I haven't changed the code from last 6 month and I've just tried to fix those errors by playing with idle/automatic instance spinning but its getting just worse (even

[google-appengine] Memcache and Datastore call explicitly cancelled

2013-01-18 Thread Tomas
I'm getting a lot of these in my logs for last 10 hours - I'm still on M/S datastore (Yeah I know!), no deploays in last 5 months. The app engine status shows no disruptions at all - app id ms-librari-st. om.google.apphosting.api.ApiProxy$CancelledException: The API call memcache.Set() was

[google-appengine] Re: Understanding Request was aborted after waiting too long

2012-11-08 Thread Tomas
+1 On Thursday, 8 November 2012 17:09:49 UTC+13, ckhan wrote: Several requests over the last two days have failed with: 0.1.0.2 - - [06/Nov/2012:10:26:04 -0800] POST /_ah/queue/deferred HTTP/1.1 500 0 http://myapp.appspot.com/my/url; AppEngine-Google; (+ http://code.google.com/appengine)

[google-appengine] Re: What are the pros and cons of using Google App engine for my startup?

2012-08-07 Thread Tomas
My two cents (as a Java dev): Pros: - it's not complicated, you can do easy things in easy way (well maybe the Database can be tricky when you come from SQL world :-) - very easy and fast start of development (if you use simple stack as servlet + jsp + objectify) - for small projects its

[google-appengine] Re: Startup time exceeded...on F4?!

2012-07-21 Thread Tomas
Hi guys, I actually didn't want to reply to this thread originally even I was the one who opened the small thread 3 months ago regarding the very slow startups on gae with spring + velocity + objectify but after reading the email telling me I should write modular apps and don't use frameworks

[google-appengine] Re: Constant disconnects due to channels going stale for no reason

2012-05-24 Thread Tomas
Hi Steven, sad to hear that - just one thing. I guess you are talking about Google Channel API - I thought the max expiration time for the token is 2 hours (https://developers.google.com/appengine/docs/java/channel/overview#Tokens_and_Security) - could you please confirm you've been using 5

[google-appengine] Re: Spring MVC + GAE = slow startup

2012-04-09 Thread Tomas
On Apr 8, 6:16 pm, Tomas tomas.ada...@gmail.com wrote: Hi guys, I've decided to convert my servlet/jdo based app engine app to spring mvc (the current app is starting to limit me on doing quick changes/improvements in the code and as I have quite good experience with spring

[google-appengine] Spring MVC + GAE = slow startup

2012-04-08 Thread Tomas
Hi guys, I've decided to convert my servlet/jdo based app engine app to spring mvc (the current app is starting to limit me on doing quick changes/improvements in the code and as I have quite good experience with spring on standard non cloud platforms I've decided to give it a go). So I've

Re: [google-appengine] Convert jsp to PDF

2012-03-31 Thread Tomas
https://developers.google.com/appengine/docs/java/conversion/ On Sunday, 1 April 2012 07:38:12 UTC+12, Deepak Singh wrote: Hi Karim, Can you pls explain about point no (3) ? Thanks Deepak On Sat, Mar 31, 2012 at 4:21 AM, karim duran karim.du...@gmail.comwrote: Hi Deepak, * * Your

[google-appengine] Re: Datastore update without read

2011-10-12 Thread Tomas
Thanks guys, it really helps! I didn't know about protobuf - thought that u have massive key/value map (so it would be possible to just touch one key). Now it all make sense :) On Oct 12, 1:22 pm, Ikai Lan (Google) ika...@google.com wrote: Thanks Murph. That explanation was dead-on and I

[google-appengine] App Engine Status

2011-10-12 Thread Tomas
Hi, I am experiencing task queue issues in my app (I can't see any error in my logs but obviously tasks are not being added to my queues) - after checking http://code.google.com/status/appengine/ I can see everything is fine just under the column Now x Taskqueue I can see Elevated. So what that

[google-appengine] Datastore update without read

2011-10-11 Thread Tomas
Hello there, this is maybe the most stupid question ever but I am wondering if it is possible to do an update to the datastore without reading the entity first. I am trying to keep my reads/writes operation as low as possible and after a huge optimization which I have done in memcache I would

[google-appengine] Re: Datastore update without read

2011-10-11 Thread Tomas
Yeah, but I need to UPDATE one attribute of existing entity (not overwrite the whole entity). On Oct 12, 9:55 am, Gerald Tan woefulwab...@gmail.com wrote: You don't even have to do a key fetch beforehand, you can simply persist a new entity with the same key and it will overwrite the existing

[google-appengine] Unindexed Embedded class

2011-10-04 Thread Tomas
I am trying to set my embedded classes to unindexed but seems like it doesnt work (works for normal/direct attributes though). Similar issue is here: http://groups.google.com/group/google-appengine-java/browse_thread/thread/3a92afabfd2b6ac2 @PersistenceCapable @EmbeddedOnly public class Embedded

[google-appengine] DB Index behaviour

2011-10-04 Thread Tomas
I've got simple JDO entity with two String attributes 1) If I load the entity from database, change one attribute and write it back - how many writes to indexes I should expect? (2 for the entity (key + key index) + 2 for changed attribute OR 2 for the entity + 4 for all attributes including

[google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Tomas
That SG transaction is just over multiple DB entities or is it possible to do king of XA over let say write to db / add task / write to db / commit? I'm not complaining at all just checking what's possible to do with that :) Also where could I see those new graphs (I usually can't anything like

[google-appengine] Re: Want to talk to the App Engine team in person?

2011-09-08 Thread Tomas
What about Auckland, New Zealand? :p Actually, do you guys have some dev in NZ or is it just Assie? On Sep 8, 6:02 pm, Gregory D'alesandre gr...@google.com wrote: Hi Vivek, I'll see what I can do about having one in New York (and other cities), I'll post to the list if we can work it out.

[google-appengine] JDO query where column == column

2011-07-11 Thread Tomas
Hi there, I have an entity with something like mapping (basically each entity represents a book, the key is isbn). Some of the books are related to others (they are in the same edition, which means that the book title and author is the same just the print is different - year/hardback/ paperback

[google-appengine] Cannot import name util

2011-03-08 Thread Tomas Rampas
place where mentioned *util *module is referenced: *from *google.appengine.ext.webapp *import *util Does anyone have any idea why this is suddenly happening? Thanks Tomas -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group

[google-appengine] Re: Cannot import name util

2011-03-08 Thread Tomas Rampas
According to this posthttp://code.google.com/intl/cs/appengine/forum/?place=msg%2Fgoogle-appengine%2Fr-U4l76NMf4%2FIfA1sZGewdQJit seems there are some problem with Python runtime... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post

[google-appengine] Re: Where can I find commercial successfully websites created using GAE?

2011-01-28 Thread Tomas Alaeus
I'm sorry for continuing this offtopic fest, but I just can't stand it... I assume you never go to the toilet during ad-breaks on TV, or never ever have switched radio channel when ads start. Comon, there are so many irritating, annoying ads on most websites. You probably make more ad-money from

[appengine-java] slf4j debug messages not in admin console

2010-12-27 Thread Tomas Vojtech
Hello, I use SLF4J for logging and if I use logger.debug or logger.trace no message is shown in logs in administration console. Higher levels work fine and are in the console. Is problem in my application or where is problem? blaf -- You received this message because you are subscribed to

[google-appengine] Re: Request for Experimental App Feedback

2010-12-23 Thread Tomas Alaeus
I see the :( enable ads for Wiki-Hop and the ads at the same time. Probably because the ad itself is transparent (Google Ads). I'm using Opera 11.00 beta build . Otherwise, interesting site. :) On 23 Dec, 05:45, Erik erik.e.wil...@gmail.com wrote: Hello everyone, Over the past few months

[google-appengine] Instance scaling with problems

2010-12-16 Thread Tomas Alaeus
Due to lack of information about when App Engine starts new instances, how it affect performance and side effects of scaling up I have here made a short summary from my own experiences so others won't have to find it out the hard way. I still don't have any long experience with App Engine, but I

[google-appengine] Re: Username Already Exists For Application ID?

2010-12-13 Thread Tomas Alaeus
This issue have been posted about earlier. If I remember correctly it is an issue with the dots in your username. When checking for availability it will only check for perfect matches, that is, no other app or Google user with that id. The problem is with Gmail who reserves ids which are very

[google-appengine] Re: memcache time

2010-12-12 Thread Tomas Alaeus
1. The time you specify when putting memcache entities is the maximum lifetime. There is no guarantee that the memcache will hold its contents for any period of time, they can be evicted immediately or after a month, you have no way of knowing that. 2. Not that I know of. Part of the memcache can

[google-appengine] Re: AlwaysOn and WarmUpRequests working poorly?

2010-12-09 Thread Tomas Alaeus
I have a similar issue. After having tested my app with thousands of users it now fails (performance wise) when serving just a few users. Even if I just have 1 QPS incoming, it will boot up 10 instances and all of the loading requests are user facing (note that 1 instance would be more than enough

[google-appengine] Re: How to handle user page URLs if usernames are not unique?

2010-12-09 Thread Tomas Alaeus
The usernames are still unique, but the slugs used for URLs (and on other places where uniqueness is a must) are unique. But yeah, most people consider usernames unique. If your usernames aren't unique you might want to call them something else, like display name as Robert said. You also could

[google-appengine] Re: Do I have to implement /_ah/warmup

2010-12-05 Thread Tomas Alaeus
Worth noting is that the documentation is wrong. The XML-tag to use to disable warmup requests in Java is warmup-requests-enabled and _not_ warming-requests-enabled. Maybe you can fix it Nick? :) On 6 Dec, 07:28, Nick Johnson (Google) nick.john...@google.com wrote: The purpose of warmup

[google-appengine] Request hangs when deleting lots of objects

2010-12-03 Thread Tomas Alaeus
I want to purge old entities from the datastore. How I do this at the moment is having a cron job run a script every 30 seconds. The script removes entries using deletePersistentAll() via a JDO query object. Query query = pm.newQuery(Game.class, lastUpdateTime ageLimit);

[google-appengine] Re: Policy for instance startup

2010-12-03 Thread Tomas Alaeus
when 10 instances are started. It seems to me that my app-id have been marked permanently as a heavy application, which isn't true yet. On 26 Nov, 09:32, Tomas Alaeus tala...@gmail.com wrote: This problem doesn't seem to happen on the staging server (doesn't have billing enabled), but I maybe

[google-appengine] Re: Request hangs when deleting lots of objects

2010-12-03 Thread Tomas Alaeus
and a half minutes? :) On 3 Dec, 13:14, Tomas Alaeus tala...@gmail.com wrote: I want to purge old entities from the datastore. How I do this at the moment is having a cron job run a script every 30 seconds. The script removes entries using deletePersistentAll() via a JDO query object. Query query

[google-appengine] Re: Policy for instance startup

2010-11-26 Thread Tomas Alaeus
when load comes in a natural matter. Still IMHO that there must be some more transparency into those parameters within which our appls have to operate. - It helps both us and the platform. Regards Nick On Nov 24, 9:21 am, Tomas Alaeus tala...@gmail.com wrote: Probably. With some more

[google-appengine] Policy for instance startup

2010-11-23 Thread Tomas Alaeus
I'm curious when exactly instances are started. I have two applications running on GAE, one of them have billing enabled. The one with billing enabled have been stress tested and have at most started 100 simultaneous instances. The other is just for testing and staging purposes and have never

[google-appengine] Re: Policy for instance startup

2010-11-23 Thread Tomas Alaeus
time, number of instances to start etc.. This could possibly explain the difference in behaviour between your staging and production appls. happy coding;-) On Nov 23, 11:58 am, Tomas Alaeus tala...@gmail.com wrote: I'm curious when exactly instances are started. I have two

[google-appengine] Re: Unable to deploy due to 500 server error

2010-11-21 Thread Tomas Alaeus
I have similar issues. Admin console gave (works now) 500-errors, and I can't deploy. On 21 Nov, 12:14, Steve unetright.thebas...@xoxy.net wrote: This is happening again to me.  Was the deploy failing fix reverted? --Steve On Nov 18, 5:38 pm, Ikai Lan (Google) ikai.l+gro...@google.com

[google-appengine] Re: There a limit of reqs/sec? (160reqs/sec)

2010-11-05 Thread Tomas Alaeus
I'm getting conflicted responses here... The documentation says 45,200 QPM max, which translates to a sustained 500 QPS, it also says max 30 instances (or maybe that was just someone who figured it out and posted on a forum). Now you say there is no QPS cap, and the support said that there isn't a

[google-appengine] Re: Channel API outside browsers

2010-11-03 Thread Tomas Alaeus
heavy, but you could probably use firebug (or chrome/safari dev console) to figure out what is going on. http://code.google.com/p/googleappengine/source/browse/trunk/python/g... Robert On Tue, Nov 2, 2010 at 08:41, Tomas Alaeus tala...@gmail.com wrote: I for one thought directly

[google-appengine] Re: Channel API outside browsers

2010-11-03 Thread Tomas Alaeus
use firebug (or chrome/safari dev console) to figure out what is going on. http://code.google.com/p/googleappengine/source/browse/trunk/python/g... Robert On Tue, Nov 2, 2010 at 08:41, Tomas Alaeus tala...@gmail.com wrote: I for one thought directly of games when I heard

[google-appengine] Channel API outside browsers

2010-11-02 Thread Tomas Alaeus
that it is trivial to do oneself (considering that the API is somewhat similar to websockets if I understood it correctly)? Thanks, Tomas -- 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

[google-appengine] Re: DB lmitations: how to use multiple criteria on many columns? URGENT!

2010-09-20 Thread Tomas Alaeus
I'm assuming that rooms and floor are integers, that is, you want the entries which have rooms=3 and 4, and floor = 1 and 2. With this assumption you one can construct a query which only have one inequality: SELECT * FROM house WHERE cost 5 AND cost 15 AND rooms IN (3, 4) AND floor IN

[google-appengine] content optimization?

2010-08-08 Thread Tomas
conditions. I would like to know how I can control this. Is there any configuration parameter I can switch on or off? Thanks, Tomas -- 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

[google-appengine] Re: content optimization?

2010-08-08 Thread Tomas
or 1.2.3.12 ... I noticed that on the 5th August when I looked at the source code. Actually some of my javascript threw an error when running on the server while it worked locally. This is how I have found out for the first time. If I see it again, I will post the output here. Tomas On Aug 8, 1:06 pm

Re: [google-appengine] Help Blobstore!

2010-06-21 Thread Tomas Petersson
Hello, I made a simple app to evaluate App Engine and I solved it like this. Hope it helps. Cheers, Tomas *JSP:* img src=/blobServe?blobKeyString=%= blobKey().getKeyString() % *web.xml:* servlet servlet-nameblobServe/servlet-name servlet-classappengine_eval.servlets.BlobServeServlet

Re: [google-appengine] Help Blobstore!

2010-06-21 Thread Tomas Petersson
}} /, the image (blob) will be written to the same stream as the html, which wont work. The html should load first, and when it is parsed the browser will make another call to your new blob serving class to get the blob. Hope my explanation makes sense :-) /Tomas On Mon, Jun 21, 2010 at 10:07, Massimiliano

Re: [google-appengine] Re: I can only receiving mail from Gmail

2010-06-18 Thread Tomas Petersson
if (this.getSender() != null) { address = (InternetAddress) this.getSender(); } *But I have one question: why does getFrom() return an array, can a MimeMessage have more than one From header? I mean, an email can only be sent from one address, right?? * Cheers, Tomas -- You received this message because

[appengine-java] Re: error 500 from server when starting the guestbook demo app

2009-11-05 Thread Tomas
Yes it was the command search path that needed manual updating. Found help here: http://java.sun.com/javase/6/webnotes/install/jdk/install-windows.html Keep up the good work !! /Tomas On Nov 5, 3:23 pm, Tomas tomasep...@gmail.com wrote: Hi Jason ! The java files are there all right, it seems

[appengine-java] error 500 from server when starting the guestbook demo app

2009-11-02 Thread Tomas
Hi I'm Tomas - a newbe. I get error 500 from server when trying a demo application to according to instructions: http://code.google.com/appengine/docs/java/gettingstarted/installing.html Response from localserver:8080 look here: http://docs.google.com/Doc?docid

[google-appengine] Re: Since 1.1.5 import cgi/urllib/traceback/etc fails (on MacOS)

2008-10-17 Thread Tomas
setting correct PYTHONPATH variable in .bashrc worked for me. I have python from macports, so it was like this, you path might be different: PYTHONPATH=/opt/local/var/macports/software/python25/2.5.1_4+darwin_9/ opt/local/lib/python2.5 On Oct 6, 6:59 pm, Marzia Niccolai [EMAIL PROTECTED] wrote: