learning from 40 years of SQL
Wrapp
at an API Conference?
http://www.mongodb-is-web-scale.com/
1 ns cpu cache reference
100 ns main memory reference
10 000 ns 1kB over GB network
1 000 000 ns 1MB from SSD
150 000 000 ns roundtrip to netherlands
1 m = coffe on your desk
100 m = coffee around the corner
10 km = subway to Solna
1 000 km = distance to Amsterdam
150 000 km = half way to the moon
1 s = 1s
100 s = 1.66 minutes
10 000 s = 2.7 hours
1 000 000 s = 11 .57 days
150 000 000 s = 4.75 years
YOU ARE HERE
denormalization
model data after your access patterns
KISS
Consistency > minimum speed
SELECT thing FROM huge_list
JOIN all_the_related_things
const things = await fetch_huge_list();
const result = things.map(thing => {
fetch_all_the_related_things(thing)
})
how to make things fast
it is how you use them
Text
Thanks!