31
The Road To RAM [email protected]

The Road To RAM - Carlos Bueno, MemSQL

  • Upload
    memsql

  • View
    705

  • Download
    5

Embed Size (px)

DESCRIPTION

For 30 years the central fact of database performance was the gigantic difference in the time it takes to access a random piece of data in RAM versus on a hard drive. It’s now feasible to skip all that heartache by placing your data entirely in RAM. It’s not as simple as that, of course. You can’t just take a btree, mmap it, and call it a day. There are a lot of implications to a truly memory-native design that have yet to be unwound. These two trends are producing an entirely new way to think about, design, and build applications. So let’s talk about how we got here, how we’re doing, and hints about where the future will take us.

Citation preview

Page 1: The Road To RAM - Carlos Bueno, MemSQL

The Road To RAM

[email protected]

Page 2: The Road To RAM - Carlos Bueno, MemSQL
Page 3: The Road To RAM - Carlos Bueno, MemSQL
Page 4: The Road To RAM - Carlos Bueno, MemSQL
Page 5: The Road To RAM - Carlos Bueno, MemSQL
Page 6: The Road To RAM - Carlos Bueno, MemSQL
Page 7: The Road To RAM - Carlos Bueno, MemSQL

CPU Register 1 nsMain Memory 100 nsFlash Drive 100,000 nsHard Drive

10,000,000 ns

Page 8: The Road To RAM - Carlos Bueno, MemSQL

Prehistorical Times

The Database

The Web Server

The Inter-Net

The User

Page 9: The Road To RAM - Carlos Bueno, MemSQL

2000: Load Balancing Solves Everything!

Page 10: The Road To RAM - Carlos Bueno, MemSQL

2002: Replication Solves Everything!

Page 11: The Road To RAM - Carlos Bueno, MemSQL

2002: Replication Solves Everything!

Page 12: The Road To RAM - Carlos Bueno, MemSQL

2004: Memcached Solves Everything!

Page 13: The Road To RAM - Carlos Bueno, MemSQL

2004: Memcached Solves Everything!

>_< >_<

>_< >_<

Page 14: The Road To RAM - Carlos Bueno, MemSQL

2006: Sharding Solves Everything!

Page 15: The Road To RAM - Carlos Bueno, MemSQL

2008: NoSQL Solves Everything!

Page 16: The Road To RAM - Carlos Bueno, MemSQL

2010: Map/Reduce Solves Everything!

Bringing you yesterday’s insights, tomorrow!

Page 17: The Road To RAM - Carlos Bueno, MemSQL

2012: NoSQL Solves Everything, Again!

Page 18: The Road To RAM - Carlos Bueno, MemSQL

2012: NoSQL Solves Everything, Again!

Page 19: The Road To RAM - Carlos Bueno, MemSQL

2014: What now?

Page 20: The Road To RAM - Carlos Bueno, MemSQL

?

Page 21: The Road To RAM - Carlos Bueno, MemSQL

2014: What now?

Load balancing (with failover)

Replication (without wasted hardware)

RAM storage (without cache invalidation)

Sharding (with management)

Analytics (without ETL headaches)

SQL (because, math)

Page 22: The Road To RAM - Carlos Bueno, MemSQL

2014: SQL RAM Clusters Solve Everything!

Page 23: The Road To RAM - Carlos Bueno, MemSQL

2014: The Definite Article

The Web Tier

The Data Tier

Page 24: The Road To RAM - Carlos Bueno, MemSQL

The End!

Page 25: The Road To RAM - Carlos Bueno, MemSQL

Those who ignore computer

history are condemned to

GOTO 1

Page 26: The Road To RAM - Carlos Bueno, MemSQL
Page 27: The Road To RAM - Carlos Bueno, MemSQL

NUMA NUMA

Page 28: The Road To RAM - Carlos Bueno, MemSQL
Page 29: The Road To RAM - Carlos Bueno, MemSQL

Throughput and latency

always have the last laugh.

Page 30: The Road To RAM - Carlos Bueno, MemSQL

2016: [ ??? ] Solves

Everything!

Page 31: The Road To RAM - Carlos Bueno, MemSQL

Thank [email protected]

Booth #T1