Re:Greplin’s Chrome Extension Now Makes Gmail Search Infinit...
by alooPotato on Friday April 15, 2011 @03:58PM
(#2451956)
How exactly is the data from gmail gathered so quickly? Presumably they are using a gmail API, but does that mean they are polling very frequently?
I guess another way to do it would be to create an auto forward to greplin filter in gmail when a user connects their gmail account but that seems wrong.....
Re:Greplin’s Chrome Extension Now Makes Gmail Search Infinit...
by rwalker on Friday April 15, 2011 @04:12PM
(#2452023)
We use IMAP IDLE: http://tools.ietf.org/html/rfc2177
Re:Greplin’s Chrome Extension Now Makes Gmail Search Infinit...
by a13ph on Friday April 15, 2011 @06:47PM
(#2452512)
Is it used for indexing or at the moment query hits the search box? (I am interested in how this process works in more words than 4 and less than in that tech spec that i am illiterate about, sorry for that)
Re:Greplin’s Chrome Extension Now Makes Gmail Search Infinit...
by kevinclark on Friday April 15, 2011 @09:26PM
(#2452889)
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.
Re:Greplin’s Chrome Extension Now Makes Gmail Search Infinit...
by lobster_johnson on Sunday April 17, 2011 @07:12AM
(#2455945)
So for every Greplin user you have a TCP connection open to Gmail's IMAP server? How can that possibly scale in the long run?
"Once you’ve started searching, you’ll notice that tweaks to your query show up in real-time as you type each character, the same way they do on Google Instant. And it shows results for partial-word matches (“Tech” would match for both “Technology” and “TechCrunch”) — which Gmail doesn’t do."
And "a message with 500k of attachments showed up in my search results within a second of receiving it. Not too shabby."
Full disclosure: I work at Greplin :-D I'm just proud of the very cool stuff my coworkers are building!