Powers of 10 | Words | Bytes |
---|---|---|
103 | thousand | kilobyte |
106 | million | megabyte |
109 | billion | gigabyte |
1012 | trillion | terabyte |
1015 | quadrillion | petabyte |
Powers of 2 | Decimal | Bytes | Words |
---|---|---|---|
28 | 256 | 1 byte | - |
216 | 65,536 | 2 bytes | 65 thousand |
224 | 16,777,216 | 3 bytes | 16 million |
232 | 4,294,967,296 | 4 bytes | 4 billion |
240 | 1,099,511,627,776 | 5 bytes | 1 trillion |
248 | - | 6 bytes | 281 trillion |
256 | - | 7 bytes | 72 quadillion |
264 | - | 8 bytes | 9.2 quintillion |
Type | Size |
---|---|
bool | 1 byte |
char | 1 byte |
short | 2 bytes |
float | 4 bytes |
int | 4 bytes |
long | 4 bytes |
pointer (32-bit) | 4 bytes |
double | 8 bytes |
long long | 8 bytes |
pointer (64-bit) | 8 bytes |
Type | Size |
---|---|
boolean | 1 byte |
char | 2 bytes |
short | 2 bytes |
float | 4 bytes |
int | 4 bytes |
double | 8 bytes |
long | 8 bytes |
- 1 hour = 3,600 seconds
- 1 day = 86,400 seconds
Availability % | Downtime per Year |
---|---|
90% ("one nine") | 36.5 days |
99% ("two nines") | 3.65 days |
99.9% ("three nines") | 9 hours |
99.99% ("four nines") | 50 minutes |
99.999% ("five nines") | 5 minutes |
- 1,000 RPS is not difficult to achieve on a normal server for a regular service.
- 2,000 RPS is a decent amount of load for a normal server for a regular service.