I've written an incoming mail handler and it works, that is, it does what I want it to do, but it runs slow, very slow. However, I'm not sure why it's so slow because I'm using the QuotaService to time how long the doPost() method of my email handler servlet is running and it's returning 0.00 CPU seconds and 0.04 API seconds, yet the logs routinely report the requests taking over 10000ms.
I notice that if I fire two emails in rapid succession at my app then usually the first one reports as taking 10000+ ms to run then the second one will run in under 150ms, which is confusing me even more. It's almost like the app is having to spin up on every email it receives, but 10+ seconds for the spin up seems way too long. Is there something I should be watching out for when writing incoming email handlers? -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.