Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How did you make javamail fast? My impression was that you could batch request meta data info, but not the actual body.

Gmail's been way faster for me



We don't request message bodies, just headers.


When you do your tests are you using the new-ish message.get(format=METADATA)?


No, I wasn't aware of that option.

In our tests we did list requests for 100 messages and then bulk requests for each messages' headers (messages.get("me", message.getId).setFields("historyId,payload/headers")).

I'll look into that option and re-run the tests.


gotcha - thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: