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 <[email protected]> wrote:
> Hi all, I am returning the results from a poll with a simple results
> servlet that queries the database two times. For some reason, the
> results servlet is causing drastic CPU usage and I can't figure out
> why. Can someone look in here and see if there is something extremely
> obvious that is causing CPU usage to go overboard?
>
> I attached the java file...
>
>  ResultsServlet.java
> 2KViewDownload

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to