Hacker News new | ask | show | jobs
by kevinclark 5539 days ago
For GMail, our syncers hang out on an IDLE'd IMAP connection and process (and then index) whenever a new message comes in.

Edit: So, to clarify, it's used to trigger an update to the index. Hopefully this happens as close to the time the message hits the inbox as possible.