122 points · by hye · 14y ago · 77 comments
I work on the Gmail backend team and we regularly see blogs go by such as this one. The vast majority of the times that prominent bloggers report slowness it's because they do have tons of apps polling their account via IMAP or other sync methods. All of these apps end up competing for resources to your account with the web UI and thus you experience slowness.
Internally we have accounts with upwards of 100G of mail still being very usable, so we know Gmail scales. Also we have quite a few people internally focusing specifically on finding and fixing these types of problems so that eventually it won't matter how many clients you have or how large your mailbox is, but these things take time. Gmail is a huge ship, we can't turn on a dime.
So yeah, check that IssuedAuthSubTokens page and revoke access to any random services that you've tried out and forgot about.
Hope that helps. -Andrew
But if I try subscribing to LKML for a few weeks, gmail becomes completely unusable.
As I mentioned in a comment below* if this persists please to post on the help forums. There are people dedicated to helping there, and if it's a legitimate bug the backend team investigates and we fix the issues.
Hope that helps,
-Andrew
One of our support folks should be emailing you and they'll help debug where the slowness lies, on our side or through some other interaction. If it's a bug, we'll fix it up shortly.
Suggestion:
Why not give the UI interface priority over other polls (allocate more bandwidth to it) for 5-10 minute chunks when its active?
The reason that it's not that straightforward is that lots of operations change state in your account, so you need proper ordering of requests for everything that comes in if you want to ensure consistency. Furthermore when you do a UI operation you want it to happen now, and anything longer than that is frustrating. But if there is a large IMAP operation in the background, we can't just pre-empt that and re-start it because it might have already modified some state, not all changes are idempotent. So you have to wait, and you experience slowness.
Add in message delivery, various background operations for different features, android sync, different third-party add-ons that hit via IMAP or other sync protocols, and a stack that is more than a few layers deep and it gets very complex, very fast.
Hope that helps,
-Andrew
Any pointer would be much appreciated. Thanks!
The first appearance was cool, it was distinctive and unique. A breath of fresh air, even. But now it seems like a third of the links I hit from HN are Svbtlr blogs; it's starting to feel as generic and indistinguishable as last year's Wordpress theme.
*awaits downvotes from Objectivists
It's a fun mental exercise to temporarily adopt an extreme viewpoint and think it through to its logical conclusion.
If that's all the guy said, you are being too judgmental too quickly.
Obviously you don't have this problem on Google+ and Facebook, you know you're on a different user's profile each time because you find the face first.
But maybe they don't care. I personally don't care if I can't tell them apart because I'll only look at the ID if they write something that interests me and those chances are incredibly low.
Non-copycat examples:
http://osclass.org/ http://asilofis.net/ http://hyperboria.net/
I have two Gmail accounts - 1 work email on Google Apps at 10GB, 1 personal on normal Gmail at 3GB. Can't see any performance differences. Are others experiencing this?
My account experiences the slowness the OP describes:
- Seconds to open a conversation, often punctuated with messages indicating that the operation failed and must be retried.
- Sending mails fails, and must be retried multiple times.
- Delays correlate loosely with US workdays (I'm in the US). Performance is consistently better at 1AM EST than at 2PM EST.
- 0 connected apps.
I haven't done extensive comparison to other accounts, but I believe that the number of messages is a cause of sluggishness. My mailboxes are > 120k messages. This causes problems with many mail clients; for instance, Sparrow (iPhone or OS X) is useless.
I'm surprised that the GMail team hasn't figured out how to handle busy mail users, given the propaganda that all Google users use GMail. I'd love to have the option to pay for Day 1 performance in my GMail boxes.
If you've debugged it yourself and can't get to a good resolution (which it looks like you have), please post in our help forums. There are a few people that are dedicated to reading the forum and helping users, and when they hit dead ends for various reasons they'll escalate to the backend team directly and we investigate and fix the account if there is a bug.
Gmail tends to work very well for heavy users, but as with all complex software there are edge cases. Sometimes people fall into those edges and if you escalate through the help forums we'll see a rise in specific types of user escalations and fix whatever bug is causing it.
Hope that helps, -Andrew
I definitely saw the same symptoms for quite a while, which eventually got to the point of serious downtime last year. At some point, the last big downtime (over a day!) involved some sort of transfer to different infrastructure (and I wish I could remember the exact wording now), and since then it's been back to lightning fast.
There definitely seem to be some endemic issues, but they're only for certain slices of users, it seems.
Come to think of it, I haven't actually checked if it got my emails correctly :) I should probably reg a throwaway GMail and see if I can clone my current mailbox.
There were some issues with search before that (no other part was slow though), but that went away over time.
No pop account in hotmail, effectively every read message still appears unread in the online email client. By default hotmail had an option checked to "leaving only 14 days of email online". All the rest was virtually deleted and therefore existed only on my computer. There was an insane plugin to submit those all back to inbox without disturbing dates or subjects. However, that only resulted in hotmail access being revoked after 150 or so emails since there is some sort of cap on pushing emails at once to your account. The gmail contacts and email search resembles that of google as a search engine. No other comes near.
Still there is a lot of opportunity to improve this. PG wrote a list of top ten products in which search was first and email was second. Sparrow might have been a good effort. Let's see when it evolves further.
On a sidenote: The speed issues were not the reason for dumping gmail. Over the years my email address has caught the attention of too many spammers. Additionally I wanted to have my emails on one of my own boxes, not with Google.
It now seems to achieve this by using ocsp.thawte.com. Not sure how that works, I can't see any HTTP or HTTPS fetches from youtube during gmail login, yet it still manages to set a third party cookie. Can OCSP do this?
I know with Dovecot without proper (and properly stored... not on NFS) index files, after about 9-10gigs of storage, IMAP and IMAP related tasks became super slowwwww.
Map/reduce probably gets a heck of workout, imagine their entire global database size, it must be staggering.
Maybe they can fix it by periodically rewriting the entire dataset for a single user onto a cluster that is much closer together. Once a year?