[appengine-java] Re: CPU Time Overload

2010-10-11 Thread Ted Conn
Ok, I actually read that article before but somehow didnt think it would apply to me... Now I am using a counter object which I am retrieving by id, and trying to increment a value in an array by 1 and then just referencing that counter object to retrieve the values (instead of creating a new Vote

[appengine-java] Re: CPU Time Overload

2010-10-11 Thread jdeskins
Looks like you are creating a new Vote object for every vote on a poll if I am reading this right. I would suggest using a sharded counter for polls. http://code.google.com/appengine/articles/sharding_counters.html Jeff On Oct 11, 11:24 am, Ted Conn wrote: > Hi all, I am returning the results