![Page 1: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/1.jpg)
1
![Page 2: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/2.jpg)
SOFTWAREand the Taste of Mayo
Marco Tabiniphp|architect
1
![Page 3: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/3.jpg)
Marco Tabini
1
![Page 4: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/4.jpg)
Marco Tabini
1
![Page 5: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/5.jpg)
Marco Tabini
1
![Page 6: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/6.jpg)
Marco Tabini
1
![Page 7: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/7.jpg)
Marco Tabini
1
![Page 8: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/8.jpg)
Marco Tabini
1
![Page 9: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/9.jpg)
Marco Tabini
1
![Page 10: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/10.jpg)
Marco Tabini
1
![Page 11: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/11.jpg)
2
![Page 12: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/12.jpg)
What is Mayo?
2
![Page 13: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/13.jpg)
3
![Page 14: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/14.jpg)
3
![Page 15: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/15.jpg)
4
![Page 16: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/16.jpg)
4
![Page 17: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/17.jpg)
4
![Page 18: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/18.jpg)
5
![Page 19: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/19.jpg)
5
![Page 20: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/20.jpg)
5
![Page 21: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/21.jpg)
5
![Page 22: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/22.jpg)
WTF????
5
![Page 23: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/23.jpg)
6
![Page 24: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/24.jpg)
6
![Page 25: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/25.jpg)
Where did they get this guy?
7
![Page 26: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/26.jpg)
What does this have to do withSOFTWARE???
8
![Page 27: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/27.jpg)
9
![Page 28: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/28.jpg)
CODE
9
![Page 29: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/29.jpg)
CODE
DATA
+
9
![Page 30: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/30.jpg)
CODE
DATA
+
INTERFACE
+
9
![Page 31: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/31.jpg)
CODE
DATA
APP
+
=
INTERFACE
+
9
![Page 32: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/32.jpg)
CODE
10
![Page 33: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/33.jpg)
CODE
10
![Page 34: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/34.jpg)
CODE
HARDWARE
10
![Page 35: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/35.jpg)
CODE
HARDWAREFIRMWARE
10
![Page 36: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/36.jpg)
CODE
HARDWAREFIRMWAREO/S
10
![Page 37: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/37.jpg)
CODE
HARDWAREFIRMWAREO/SWEB SERVER
10
![Page 38: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/38.jpg)
CODE
HARDWAREFIRMWAREO/SWEB SERVERPHP
10
![Page 39: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/39.jpg)
CODE
HARDWAREFIRMWAREO/SWEB SERVERPHPFRAMEWORK
10
![Page 40: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/40.jpg)
CODE
HARDWAREFIRMWAREO/SWEB SERVERPHPFRAMEWORKYOUR CODE
10
![Page 41: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/41.jpg)
11
![Page 42: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/42.jpg)
Hello, World!
11
![Page 43: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/43.jpg)
Hello, World!
11
![Page 44: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/44.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
11
![Page 45: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/45.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
11
![Page 46: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/46.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
11
![Page 47: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/47.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
11
![Page 48: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/48.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
11
![Page 49: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/49.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
Language System CallsC 47
Shell (TCSH) 146PHP (CLI) 368
PHP (Apache) 887
Once
11
![Page 50: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/50.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
Language System CallsC 47
Shell (TCSH) 146PHP (CLI) 368
PHP (Apache) 887
Once
11
![Page 51: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/51.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
Language System CallsC 47
Shell (TCSH) 146PHP (CLI) 368
PHP (Apache) 887
Once
11
![Page 52: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/52.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
Language System CallsC 47
Shell (TCSH) 146PHP (CLI) 368
PHP (Apache) 887
Once
11
![Page 53: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/53.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
Language System CallsC 47
Shell (TCSH) 146PHP (CLI) 368
PHP (Apache) 887
Once
11
![Page 54: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/54.jpg)
Hello, World!
Language System CallsC 46
Shell (TCSH) 37PHP (CLI) 362
PHP (Apache) 881
Language System CallsC 47
Shell (TCSH) 146PHP (CLI) 368
PHP (Apache) 887
Once Twice
11
![Page 55: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/55.jpg)
12
![Page 56: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/56.jpg)
Language TimeC 2.5hrs
Erlang 1.8hrsPHP (CLI) N/A*
12
![Page 57: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/57.jpg)
Language TimeC 2.5hrs
Erlang 1.8hrsPHP (CLI) N/A*
12
![Page 58: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/58.jpg)
Language TimeC 2.5hrs
Erlang 1.8hrsPHP (CLI) N/A*
12
![Page 59: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/59.jpg)
Language TimeC 2.5hrs
Erlang 1.8hrsPHP (CLI) N/A*
* Sorry, had to catch flight to Amsterdam
12
![Page 60: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/60.jpg)
Ease of use Performance
13
![Page 61: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/61.jpg)
ASM C PHP Rails
Ease of use Performance
13
![Page 62: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/62.jpg)
ASM C PHP Rails
Ease of use Performance
13
![Page 63: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/63.jpg)
ASM C PHP Rails
Ease of use Performance
13
![Page 64: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/64.jpg)
ASM C PHP Rails
Ease of use Performance
13
![Page 65: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/65.jpg)
ASM C PHP Rails
Ease of use Performance
13
![Page 66: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/66.jpg)
Single or double quotes?
14
![Page 67: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/67.jpg)
Single or double quotes?
vs.
file_get_contents(‘3gb_file.txt’)
14
![Page 68: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/68.jpg)
for? foreach? while?
15
![Page 69: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/69.jpg)
for? foreach? while?
vs.
select * fromgigantic_unindexed_tableinner joinworld_population_databaseinner join i_should_be_growing_plants_instead_of_coding
15
![Page 70: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/70.jpg)
SOURCE
PERFORMANCE
CODE
SCALABILITY
DATA
SCALABILITY
IT
ORGANIZATION
INFRA
STRUCTURE
COST
OF
OWNERSHIP
16
![Page 71: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/71.jpg)
SOURCE
PERFORMANCE
CODE
SCALABILITY
DATA
SCALABILITY
IT
ORGANIZATION
INFRA
STRUCTURE
COST
OF
OWNERSHIP
16
![Page 72: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/72.jpg)
Profit Density(Profit / Pages)
Revenue Density Page Impressions
17
![Page 73: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/73.jpg)
Profit Density(Profit / Pages)
Revenue Density Page Impressions
17
![Page 74: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/74.jpg)
Profit Density(Profit / Pages)
Revenue Density Page Impressions
17
![Page 75: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/75.jpg)
Profit Density(Profit / Pages)
Revenue Density Page Impressions
17
![Page 76: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/76.jpg)
Profit Density(Profit / Pages)
Revenue Density Page Impressions
17
![Page 77: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/77.jpg)
Profit Density(Profit / Pages)
Revenue Density Page Impressions
17
![Page 78: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/78.jpg)
Cost Density(Cost / Pages)
18
![Page 79: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/79.jpg)
Cost Density(Cost / Pages)
18
![Page 80: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/80.jpg)
Cost Density(Cost / Pages)
18
![Page 81: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/81.jpg)
Cost Density(Cost / Pages)
18
![Page 82: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/82.jpg)
Cost Density(Cost / Pages)
18
![Page 83: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/83.jpg)
Cost Density(Cost / Pages)
18
![Page 84: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/84.jpg)
Cost Density(Cost / Pages)
19
![Page 85: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/85.jpg)
Cost Density(Cost / Pages)
19
![Page 86: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/86.jpg)
Cost Density(Cost / Pages)
19
![Page 87: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/87.jpg)
Cost Density(Cost / Pages)
19
![Page 88: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/88.jpg)
Cost Density(Cost / Pages)
FAIL!
19
![Page 89: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/89.jpg)
Cost Density(Cost / Pages)
Bad Good
20
![Page 90: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/90.jpg)
Cost Density(Cost / Pages)
Bad Good
20
![Page 91: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/91.jpg)
Cost Density Problems
• Wrong scalability strategy
• Wrong database type
• Wrong database use
Database
21
![Page 92: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/92.jpg)
Cost Density Problems
• Architecture not scalable
• No use of parallelization
• No use of queuing
22
![Page 93: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/93.jpg)
Solving your infrastructure problems
(let someone else deal with them)
23
![Page 94: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/94.jpg)
Example: AWS
• 300,000 page impressions / mo.
• Avg. 100kiB / page (== 30 GB / mo), 30GB Data
• 20 queries per page, 20msec / query
• 30 objects per page ( == 9,000,000 GET reqs/month)
• 100 reqs/server/sec ( == 259,000,000 reqs/server/month)
• 2 servers
24
![Page 95: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/95.jpg)
Example: AWS
25
![Page 96: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/96.jpg)
Item Service Cost/moStorage S3 4.5
Data Transfer S3 30Data Requests S3 1
DB Storage SimpleDB 45DB CPU Usage SimpleDB 55Server Usage EC2 144
TOTALS 279.5
Example: AWS
25
![Page 97: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/97.jpg)
Item Service Cost/moStorage S3 4.5
Data Transfer S3 30Data Requests S3 1
DB Storage SimpleDB 45DB CPU Usage SimpleDB 55Server Usage EC2 144
TOTALS 279.5
Example: AWS
25
![Page 98: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/98.jpg)
Item Service Cost/moStorage S3 4.5
Data Transfer S3 30Data Requests S3 1
DB Storage SimpleDB 45DB CPU Usage SimpleDB 55Server Usage EC2 144
TOTALS 279.5
Example: AWS
25
![Page 99: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/99.jpg)
Item Service Cost/moStorage S3 4.5
Data Transfer S3 30Data Requests S3 1
DB Storage SimpleDB 45DB CPU Usage SimpleDB 55Server Usage EC2 144
TOTALS 279.5
Example: AWS
25
![Page 100: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/100.jpg)
Item Service Cost/moStorage S3 4.5
Data Transfer S3 30Data Requests S3 1
DB Storage SimpleDB 45DB CPU Usage SimpleDB 55Server Usage EC2 144
TOTALS 279.5
Example: AWS
25
![Page 101: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/101.jpg)
Item Service Cost/moStorage S3 4.5
Data Transfer S3 30Data Requests S3 1
DB Storage SimpleDB 45DB CPU Usage SimpleDB 55Server Usage EC2 144
TOTALS 279.5
Example: AWS
25
![Page 102: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/102.jpg)
Item Service Cost/moStorage S3 4.5
Data Transfer S3 30Data Requests S3 1
DB Storage SimpleDB 45DB CPU Usage SimpleDB 55Server Usage EC2 144
TOTALS 279.5
Example: AWS
25
![Page 103: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/103.jpg)
Item Service Cost/moStorage S3 4.5
Data Transfer S3 30Data Requests S3 1
DB Storage SimpleDB 45DB CPU Usage SimpleDB 55Server Usage EC2 144
TOTALS 279.5
Example: AWS
25
![Page 104: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/104.jpg)
$280 / month
3,000,000 pages / month= $0.09 CPM
(0.9% @ $10 RPM)
26
![Page 105: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/105.jpg)
Example: AWS
• 300,000,000 page impressions
• Avg. 100kiB / page (== 30 TB / mo), 1TB Data
• 20 queries per page, 20msec / query
• 30 objects per page ( == 9,000,000,000 GET reqs/month)
• 100 reqs/server/sec ( == 259,000,000 reqs/server/month)
• 35 servers
27
![Page 106: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/106.jpg)
Example: AWS
28
![Page 107: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/107.jpg)
Item Service Cost/moStorage S3 150
Data Transfer S3 4,300Data Requests S3 9,000
DB Storage SimpleDB 1,500DB CPU Usage SimpleDB 3,800Server Usage EC2 2,500
TOTALS 21,250
Example: AWS
28
![Page 108: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/108.jpg)
Item Service Cost/moStorage S3 150
Data Transfer S3 4,300Data Requests S3 9,000
DB Storage SimpleDB 1,500DB CPU Usage SimpleDB 3,800Server Usage EC2 2,500
TOTALS 21,250
Example: AWS
28
![Page 109: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/109.jpg)
Item Service Cost/moStorage S3 150
Data Transfer S3 4,300Data Requests S3 9,000
DB Storage SimpleDB 1,500DB CPU Usage SimpleDB 3,800Server Usage EC2 2,500
TOTALS 21,250
Example: AWS
28
![Page 110: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/110.jpg)
Item Service Cost/moStorage S3 150
Data Transfer S3 4,300Data Requests S3 9,000
DB Storage SimpleDB 1,500DB CPU Usage SimpleDB 3,800Server Usage EC2 2,500
TOTALS 21,250
Example: AWS
28
![Page 111: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/111.jpg)
Item Service Cost/moStorage S3 150
Data Transfer S3 4,300Data Requests S3 9,000
DB Storage SimpleDB 1,500DB CPU Usage SimpleDB 3,800Server Usage EC2 2,500
TOTALS 21,250
Example: AWS
28
![Page 112: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/112.jpg)
Item Service Cost/moStorage S3 150
Data Transfer S3 4,300Data Requests S3 9,000
DB Storage SimpleDB 1,500DB CPU Usage SimpleDB 3,800Server Usage EC2 2,500
TOTALS 21,250
Example: AWS
28
![Page 113: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/113.jpg)
Item Service Cost/moStorage S3 150
Data Transfer S3 4,300Data Requests S3 9,000
DB Storage SimpleDB 1,500DB CPU Usage SimpleDB 3,800Server Usage EC2 2,500
TOTALS 21,250
Example: AWS
28
![Page 114: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/114.jpg)
Item Service Cost/moStorage S3 150
Data Transfer S3 4,300Data Requests S3 9,000
DB Storage SimpleDB 1,500DB CPU Usage SimpleDB 3,800Server Usage EC2 2,500
TOTALS 21,250
Example: AWS
28
![Page 115: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/115.jpg)
$21,250 / month
300,000,000 / month= $0.08 CPM
(0.8% @ $10 RPM)
29
![Page 116: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/116.jpg)
Them
You
30
![Page 117: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/117.jpg)
Design
Choose
Scale31
![Page 118: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/118.jpg)
Design
Choose
Scale
THINK BIG—ITS CHEAP!
31
![Page 119: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/119.jpg)
Design
Choose
Scale
THINK BIG—ITS CHEAP!
THE RIGHT TOOLS
31
![Page 120: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/120.jpg)
Design
Choose
Scale
THINK BIG—ITS CHEAP!
THE RIGHT TOOLS
EVERYTHING, ALWAYS
31
![Page 121: Software And The Taste Of Mayo - Marco Tabini](https://reader033.vdocuments.us/reader033/viewer/2022060121/5593b4c21a28ab306b8b459b/html5/thumbnails/121.jpg)
Questions? Agree? Disagree? Want to rant?
http://mtabini.blogspot.com
http://mtabini.com/twitter
32