Download - Gmails Quota Secrets
![Page 1: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/1.jpg)
Gmail’s Quotaand few in-jokes
Zvi Devirzdevir AT gmail.com
![Page 2: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/2.jpg)
![Page 3: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/3.jpg)
History of Gmail’s quotaApril 1st, 2004 – Gmail is born…
Providing 1024 Mb of free storage!April 2nd, 2005 – Quota increased to 2050 Mb.
Following gradual growth of ~100Mb per month.October 1st, 2006 – Growth rate is slowed down
to ~10Mb per month.January-March 2007 – Growth rate of ~12Mb per month,
in the foreseeable future (until 2012).
![Page 4: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/4.jpg)
Storage quota graph
04/04 04/05 04/06 04/07 04/08 04/09 04/101024
2000
2250
2500
2750
3000
3250
3500
Gm
ail s
tora
ge (M
b)
Date
As of 16/03/07
![Page 5: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/5.jpg)
Gmail’s quota counter
var CP = [ [ 1167638400000, 2800 ], [ 1175414400000, 2835 ], [ 1207033200000, 2980 ], [ 1238569200000, 3125 ], [ 1270105200000, 3270 ], [ 1301641200000, 3415 ], [ 1333263600000, 3560 ]];
This is a code fragment from the “Welcome to Gmail” page:
Dates in serial form Storage quota in Mb
![Page 6: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/6.jpg)
Gmail’s quota counter
var CP = [ [ 01/01/2007 08:00 -> 2800 Mb ], [ 01/04/2007 08:00 -> 2835 Mb ], [ 01/04/2008 07:00 -> 2980 Mb ], [ 01/04/2009 07:00 -> 3125 Mb ], [ 01/04/2010 07:00 -> 3270 Mb ], [ 01/04/2011 07:00 -> 3415 Mb ], [ 01/04/2012 07:00 -> 3560 Mb ]];
Gmail calculates the current quota using a linear interpolation between the date “points”.
The quota counter table in human readable form:
![Page 7: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/7.jpg)
October 12th, 2007 – New quotaApril 1st, 2004 – Gmail is born…
with 1024 Mb of free storage!April 2nd, 2005 – Quota increased to 2050 Mb.
Following gradual growth of ~100Mb per month.October 1st, 2006 – Growth rate is slowed down
to ~10Mb per month.January-March 2007 – Growth rate of ~12Mb per month,
in the foreseeable future (until 2012).October 12th, 2007 – Another huge leap:
Gmail now gives more than 6Gb of storage, with monthly growth rate of ~100Mb.
![Page 8: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/8.jpg)
October 12th, 2007 – New quota
04/04 04/05 04/06 04/07 04/08 04/09 04/101024
2000
3000
4000
5000
6000
7000
Gm
ail s
tora
ge (M
b)
Date
As of 12/10/07
![Page 9: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/9.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 1175414400000, 2835 ], [ 1192176000000, 2912 ], [ 1193122800000, 4321 ], [ 1199433600000, 6283 ], [ 2147328000000, 43008 ], [ 46893711600000, Number.MAX_VALUE ]];
This is the new JavaScript counter:
![Page 10: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/10.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 1175414400000, 2835 ], [ 1192176000000, 2912 ], [ 1193122800000, 4321 ], [ 1199433600000, 6283 ], [ 2147328000000, 43008 ], [ 46893711600000, Number.MAX_VALUE ]];
This is the new JavaScript counter:
What is this Number.MAX_VALUE? Google must be kidding…
![Page 11: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/11.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 1175414400000, 2835 ], [ 1192176000000, 2912 ], [ 1193122800000, 4321 ], [ 1199433600000, 6283 ], [ 2147328000000, 43008 ], [ 46893711600000, Number.MAX_VALUE ]];
This is the new JavaScript counter:
What is this Number.MAX_VALUE? Google must be kidding…The serial dates look odd…
![Page 12: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/12.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 1175414400000, 2835 ], [ 1192176000000, 2912 ], [ 1193122800000, 4321 ], [ 1199433600000, 6283 ], [ 2147328000000, 43008 ], [ 46893711600000, Number.MAX_VALUE ]];
This is the new JavaScript counter:
What is this Number.MAX_VALUE? Google must be kidding…The serial dates look odd…And what is this nanite storage generation?
As Google’s storage capacity, which grows at similar rate…
Nanites are self-reproducing (Von Neumann) nano-robotic machines.
![Page 13: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/13.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 01/04/2007 08:00 -> 2835 Mb ], [ 12/10/2007 08:00 -> 2912 Mb ], [ 23/10/2007 07:00 -> 4321 Mb ], [ 04/01/2008 08:00 -> 6283 Mb ], [ 17/01/2038 08:00 -> 42 Gb ], [ 02/01/3456 07:00 -> Infinite... ]];
The new counter in human readable format:
![Page 14: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/14.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 01/04/2007 08:00 -> 2835 Mb ], [ 12/10/2007 08:00 -> 2912 Mb ], [ 23/10/2007 07:00 -> 4321 Mb ], [ 04/01/2008 08:00 -> 6283 Mb ], [ 17/01/2038 08:00 -> 42 Gb ], [ 02/01/3456 07:00 -> Infinite... ]];
The new counter in human readable format:
42 is a very special number.
![Page 15: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/15.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 01/04/2007 08:00 -> 2835 Mb ], [ 12/10/2007 08:00 -> 2912 Mb ], [ 23/10/2007 07:00 -> 4321 Mb ], [ 04/01/2008 08:00 -> 6283 Mb ], [ 17/01/2038 08:00 -> 42 Gb ], [ 02/01/3456 07:00 -> Infinite... ]];
The new counter in human readable format:
42 is a very special number.On January 2038 the Unix world will face the infamous Y2K38 bug..
![Page 16: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/16.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 01/04/2007 08:00 -> 2835 Mb ], [ 12/10/2007 08:00 -> 2912 Mb ], [ 23/10/2007 07:00 -> 4321 Mb ], [ 04/01/2008 08:00 -> 6283 Mb ], [ 17/01/2038 08:00 -> 42 Gb ], [ 02/01/3456 07:00 -> Infinite... ]];
The new counter in human readable format:
42 is a very special number.On January 2038 the Unix world will face the infamous Y2K38 bug..Google will hit infinity (and beyond) at a very special date – in American format, it will happen on 01-02-3456 at 07:00:00.
![Page 17: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/17.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 01/04/2007 08:00 -> 2835 Mb ], [ 12/10/2007 08:00 -> 2912 Mb ], [ 23/10/2007 07:00 -> 4321 Mb ], [ 04/01/2008 08:00 -> 6283 Mb ], [ 17/01/2038 08:00 -> 42 Gb ], [ 02/01/3456 07:00 -> Infinite... ]];
The new counter in human readable format:
Still, something is wrong…
![Page 18: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/18.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 01/04/2007 08:00 -> 2835 Mb ], [ 12/10/2007 08:00 -> 2912 Mb ], [ 23/10/2007 07:00 -> 4321 Mb ], [ 04/01/2008 08:00 -> 6283 Mb ], [ 17/01/2038 08:00 -> 42 Gb ], [ 02/01/3456 07:00 -> Infinite... ]];
02/01/3456 07:08:09
The new counter in human readable format:
Still, something is wrong…A better magic date is 01-02-3456 at 07:08:09.
![Page 19: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/19.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 01/04/2007 08:00 -> 2835 Mb ], [ 12/10/2007 08:00 -> 2912 Mb ], [ 23/10/2007 07:00 -> 4321 Mb ], [ 04/01/2008 08:00 -> 6283 Mb ], [ 17/01/2038 08:00 -> 42 Gb ], [ 02/01/3456 07:00 -> Infinite... ]];
19/01/2038 03:14:0802/01/3456 07:08:09
The new counter in human readable format:
Still, something is wrong…A better magic date is 01-02-3456 at 07:08:09.And the Y2K38 bug will occur on January 19th, 2038, at 03:14:08.
![Page 20: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/20.jpg)
New quota counter
// Estimates of nanite storage generation over time.var CP = [ [ 01/04/2007 08:00 -> 2835 Mb ], [ 12/10/2007 08:00 -> 2912 Mb ], [ 23/10/2007 07:00 -> 4321 Mb ], [ 04/01/2008 08:00 -> 6283 Mb ], [ 17/01/2038 08:00 -> 42 Gb ], [ 02/01/3456 07:00 -> Infinite... ]];
19/01/2038 03:14:0802/01/3456 07:08:09
The new counter in human readable format:
Still, something is wrong…A better magic date is 01-02-3456 at 07:08:09.And the Y2K38 bug will occur on January 19th, 2038, at 03:14:08.
Anybody wants to fill a bug report?
![Page 21: Gmails Quota Secrets](https://reader030.vdocuments.net/reader030/viewer/2022020119/541a686b7bef0a0c2d8b5041/html5/thumbnails/21.jpg)