Gmail Ran out of space
daggle.com
daggle.com
Seems like Google could easily treat it as a searching issue rather than a sorting issue, though. It would be easier than full text searching (which it already does).
At a certain point with data we have been living in a relative small sandbox in terms of data. As our lives spread to terrabytes of data and across many services, we to will be unable to run atomic operations on the whole of your data.
It is all in 1000 buckets. Ever gone beyond page 100 in google results? You can't. Even though there are millions of results you can only get to page 99 at 10 results per page because it too is built on GFS.
> Sorry, Google does not serve more than 1000 results for any query. (You asked for results starting from 1000.)
You can work around this issue by using the Advanced IMAP Settings and hiding the 'all mail' folder in IMAP, then setting the 'delete mail once all visible labels are removed' setting. I had issues with using this and offlineimap to sync... Sometimes when I moved a mail from one 'folder' to another offlineimap would delete it from one folder and then create it in another, but Gmail's IMAP server would see that the mail had no labels on it (in the middle of the operation) and then move it to the trash instead. This issue shouldn't come up with a client like Outlook or Thunderbird though because of the way that they operate (I believe that there is a 'move' command in the IMAP protocol that they use).
I appreciate the advice though :D
It's not about how full the average inbox is today, but where it's headed.
Gmail automatically deletes spam mails older than 30 days. It's not like people will fill up their Gmail account with massive amounts of spam just sitting in their spam folder.
[x] Delete message after __ days
GMail's web UI is really overrated. Missing many features that desktop clients and even other webmail platforms have offered for years. I still prefer traditional clients with the web UI as a nice fallback.
1) Weak filtering/action rules. You can get pretty elaborate with Outlook or Mail. 2) Weak, non-real time, search. Have to wait for page reloads to resort things for example. 3) No mail preview plane. Lots of back & forth to the message list. 4) No easy way to backup your entire mail store 5) No way to change the number of lines previewed. I would prefer 4 or 5 versus a partial line after the sender/subject. 6) No saved searches or Smart Folder-ish functionality. Labels don't quite cover it for me.
If these things exist they are dong a terrible job with the GUI because I can't find them.
How is that? Anything that you can construct a gmail search with can be used in a filter to 'tag' incoming emails. The only thing lacking is a way to 'filter' based on tags or to order the way that filters are processed. (i.e. you can't tag emails based on the other tags they are already tagged with, and even if you could it might not work since the filters for those tags might happen after the filter looking for them)
I'm sure clients exist for other platforms which do the same.
It would not be difficult to store one copy of every attachment or identical newsletter and link to it. This has to decrease their storage requirements dramatically.
1) What if the disk your canonical copy is on dies?
2) You just introduced a dependency for cross-account reference counting (Alice and Bob share CryptoBible.doc attachment, Alice deletes the message it is attached to, Bob better still be able to access it). Your programmers will love you for that one. Don't forget all sorts of fun edge cases like "Does a suspended account peg an attachment on disk for forever, on the theory they could be unsuspended?"
3) Define "identical newsletter". No, really, pretend this is a job interview question. waits Did you take into account the headers? waits How about the salutation (Dear $FIRST $LAST,)? waits How about the tracking pixels and unsubscribe links, which are by necessity personalized?
4) What is the performance impact of the algorithm to determine "identical", with respect to your kinda-sorta-not-really "identical" developed in question #3? Can it classify billions of messages in realtime to make nigh-instantaneous retain-or-delete-and-add-pointer decisions?
5) Does this algorithm introduce multiple single-points-of-failure into Gmail to save a fraction of a sliver of the costs of running the service?
The name of each hard link is the hash of the file, and you are done.
Identical means identical, not close.
Each server will have a copy of attachments for email that lives on that server. No need to do it globally, just de-dup within each server.
I don't know if it saves much, but if your filesystem supports hard links, it's pretty much free.
That said, I don't know how google's GFS does things.
GFS normally uses chunks 2^14 times larger than a traditional inode -- you'd use infrastructure built on top of it (like Bigtable) to store email and indexes of it. You could easily end up designing a system that stores the email bodies in Gmail in a content-addressed form just as an indexing method, and end up getting de-duplication for free.
2) Why do you think Google ever intentionally deletes anything? Concurrent deletes are hard and expensive no matter what, and all of Google's tools make it much more so. They've gotten in all kinds of trouble in the EU for not being able to provide guarantees about how long they retain data.
3) Store headers, body, and MIME chunks separately. Your datastore will make hashes for its own reasons, and can make the de-duplication decisions independently of your app.
4) Your datastore is using hashes as the keys for retrieving the data already.
5) No, because there is no algorithm for this feature -- you got it for free because of other architectural decisions.
The thing that I don't get is why they can't just 'wipe' the data. Maybe I'm misunderstanding GFS/BigTable here, but you don't necessarily need to 'remove' the information from that database. Just 'zero out' the data in there (or overwrite it with random data).
More fundamentally, why do you think any of the records are mutable at all? You reap enormous benefits at that kind of scale by making all writes log-structured.
[1]I don't know what took them so long. I know that it wasn't that soon after launch because Gmail came out in April '04, but this show was in May. (I didn't have a television at college, but my parents did). Gmail invites were scarce, but one would think they could've gotten one.
[2]This was on TechTV. It must've been just before TechTV was folded into G4 -- literally the last month of programming.
MythTV does this when you fill your hard drive up with TV shows. It's much better than refusing the accept any new data,