31
Databases, the Cloud and its Discontents “...it is impossible to overlook the extent to which civilization is built up upon a renunciation of instinct.... Sigmund Freud, Civilization and Its Discontents

Databases, the Cloud and its Discontents

Embed Size (px)

Citation preview

Page 1: Databases, the Cloud and its Discontents

Databases, the Cloud and its Discontents

“...it is impossible to overlook the extent to which civilization is built up upon a renunciation of instinct....”

― Sigmund Freud, Civilization and Its Discontents

Page 2: Databases, the Cloud and its Discontents

Who am I?

Page 3: Databases, the Cloud and its Discontents

IAN PLOSKER

Page 4: Databases, the Cloud and its Discontents

Co-founder & CTO

@dstroyallmodels about.me/ian.plosker

Page 5: Databases, the Cloud and its Discontents

Our goal is to make storing and querying data so easy, you don’t

need databases

Page 6: Databases, the Cloud and its Discontents

Charles Darwin

Charles Darwin demonstrated that all life on Earth is formed and

transformed by the environmental pressures

applied to it.

Page 7: Databases, the Cloud and its Discontents

Sigmund Freud

In Civilization and its Discontents Freud argues

that our minds were forged before civilization, and that our maladaptive behaviors are remnants of a different

time.

Page 8: Databases, the Cloud and its Discontents

Ian Plosker

In Databases, the Cloud and its Discontents Plosker

argues that database were forged before the cloud, and

that their maladaptive behaviors are remnants of a

different time.

Page 9: Databases, the Cloud and its Discontents

Path Dependence

The idea that current available options may be limited by choices and forces in the past which are

no longer relevant.

Page 10: Databases, the Cloud and its Discontents

How Many Storage Engines Make These Assumptions:

• The disks are local

• The disk is spinning media

• Memory pages are contiguous

• The kernel is omnipotent

• Records have a repeating form and a consistent size

Page 11: Databases, the Cloud and its Discontents

How Many Distributed Database Make These Assumptions:

• The network is reliable

• Nodes in a cluster share a switch

• Nodes in a cluster are in the same datacenter

• Switch ingress/egress buffers never fill up

• Networks are not congested

Page 12: Databases, the Cloud and its Discontents

To understand our present choices, we must understand the

past.

Page 13: Databases, the Cloud and its Discontents

A Brief History of Databases

Page 14: Databases, the Cloud and its Discontents

Let's start by reviewing the evolution of storage media

Page 15: Databases, the Cloud and its Discontents

Writing, Paper, and Libraries (600 BCE, 105 CE, 2600 BCE)

Page 16: Databases, the Cloud and its Discontents

Punch Card Databases (~1800)

Page 17: Databases, the Cloud and its Discontents

Drums(invented 1930, general use 1950s)

Page 18: Databases, the Cloud and its Discontents

Disks(invented 1954, general use 1960s)

Page 19: Databases, the Cloud and its Discontents

Solid State(invented 1950s, general use 2000s)

Page 20: Databases, the Cloud and its Discontents

Next let's review storage and query model

Page 21: Databases, the Cloud and its Discontents

File Systems(proposed 1958, general use 1970s)

Page 22: Databases, the Cloud and its Discontents

DBMS(1960s, general use 1970s)

Two main models …

Page 23: Databases, the Cloud and its Discontents

Navigational

Page 24: Databases, the Cloud and its Discontents

Hierarchical

Page 25: Databases, the Cloud and its Discontents

Enter the notorious RDBMS(proposed 1970s, general use 1980s)

Page 26: Databases, the Cloud and its Discontents

To Summarize and Synthesize …

Page 27: Databases, the Cloud and its Discontents

Databases in 2005

Page 28: Databases, the Cloud and its Discontents

COUCHBASE

MEMCACHE

BERKLEY DB

GENIEDB REDIS

SWIFT RIA

K

VOLDEMORT

TOKYO CABIN

ET

HBASE NEO4J

TEMPODB

ELASTIC SEARCH

COUCHDB

HIBARI

ORIENTDB

NOSQL DB

DYNAMO

BIG C

OUCH

MARKLOGIC SERVER

COHERENCE

AEROSPIKE

DEX

DRAWN TO SCALE

INFIN

IGRAPH

SIMPLEDB

FLOCKDB

MNESIA COHERENCE

MONGODB

CASSANDRA

25+ databases in production today that didn’t exist 8 years ago

Databases in 2014

Page 29: Databases, the Cloud and its Discontents

Key-Value Search GeoGraph/

Relation Event

Scale-up

BerkleyDBCouchDBMongoDB

MySQL

SOLRSphinx

PostGISMongoDB

SOLRneo4j MySQL

Scale-out

RiakCassandra elasticsearch elasticsearch titan HBase

ONLINE QUERY TYPES

Page 30: Databases, the Cloud and its Discontents

The database paradox of choice:

Choice has brought complexity

Page 31: Databases, the Cloud and its Discontents

Enter: The Cloud