+ All Categories
Home > Technology > Drizzle 7.0, Future of Virtualizing

Drizzle 7.0, Future of Virtualizing

Date post: 15-Jan-2015
Category:
Upload: brian-aker
View: 1,147 times
Download: 2 times
Share this document with a friend
Description:
Rough draft slides for Web 2.0 Expo.
Popular Tags:
35
Virtualizing and Scaling for the Future Tuesday, March 29, 2011
Transcript
Page 1: Drizzle 7.0, Future of Virtualizing

Virtualizing and Scaling for the Future

Tuesday, March 29, 2011

Page 2: Drizzle 7.0, Future of Virtualizing

Who am I?

Was Director of Architecture for MySQL

Founder/CTO Data Differential

DrizzleGearman

Memcached

Tuesday, March 29, 2011

Page 3: Drizzle 7.0, Future of Virtualizing

In the beginning...

Tuesday, March 29, 2011

Page 4: Drizzle 7.0, Future of Virtualizing

• 2008 Sun buys MySQL

• 2008 Drizzle forks from MySQL

• 2009 Oracle buys Sun

• 2010 Drizzle Developers split from Oracle

• 2011 First GA Release, Drizzle7

Tuesday, March 29, 2011

Page 5: Drizzle 7.0, Future of Virtualizing

• Entirely Open Source RDBMS

• C++, with a MicroKernel Design

• No Gotchas

Drizzle

Tuesday, March 29, 2011

Page 6: Drizzle 7.0, Future of Virtualizing

Drizzle7(Quick Update)

Tuesday, March 29, 2011

Page 7: Drizzle 7.0, Future of Virtualizing

Today’s Pluggable Interfaces

• Replication

• Storage Engine

• Logging

• Authentication

• Authorization

• Table Functions

• Functions

• Protocol

• Query Rewrite

• XA

Tuesday, March 29, 2011

Page 8: Drizzle 7.0, Future of Virtualizing

HTTP Blob Streaming

ClientReplication

Client

Listener

Query MemcachedCache

Parser

Optimizer

Storage System

Logging

Error Reporting

HTTPClient

MySQL

Memcached

Gearman

Executioner

SQL

Drizzle

MicroKernel

Cloud Service

Tuesday, March 29, 2011

Page 9: Drizzle 7.0, Future of Virtualizing

Replication

• Google Protocol Buffer Based

• Replicates row transformations.

• Integrates today with RabbitMQ, Casandra. Memcached, Gearman

Tuesday, March 29, 2011

Page 10: Drizzle 7.0, Future of Virtualizing

INSERT

INSERT

UPDATE

INSERT

StoredTransactionally

Tuesday, March 29, 2011

Page 11: Drizzle 7.0, Future of Virtualizing

Master

Slave

Slave

Slave

Tuesday, March 29, 2011

Page 12: Drizzle 7.0, Future of Virtualizing

Master

Slave

Slave

Slave

Tuesday, March 29, 2011

Page 13: Drizzle 7.0, Future of Virtualizing

Master

Master

Master

Master

Tuesday, March 29, 2011

Page 14: Drizzle 7.0, Future of Virtualizing

What group commit problem?

Tuesday, March 29, 2011

Page 15: Drizzle 7.0, Future of Virtualizing

TransactionLog

Binlog

Group Commit?

DatabaseKernel

Tuesday, March 29, 2011

Page 16: Drizzle 7.0, Future of Virtualizing

TransactionLog

No Group Commit Required

DatabaseKernel

Tuesday, March 29, 2011

Page 17: Drizzle 7.0, Future of Virtualizing

libDrizzle

• Supports Drizzle (and MySQL, and SQLite)

• Asynchronous

• BSD

• Lawyer free

Tuesday, March 29, 2011

Page 18: Drizzle 7.0, Future of Virtualizing

Client

Instance

Amazon S3

Storage

NoSQL Stream Access

Tuesday, March 29, 2011

Page 19: Drizzle 7.0, Future of Virtualizing

Is there more?

Tuesday, March 29, 2011

Page 20: Drizzle 7.0, Future of Virtualizing

No Gotchas

• No NULL when you don’t want NULL

• No ALTER TABLES that fake’ it

• Real datetime (64bit), with microseconds

• IPV6

• No updates that “half complete”

Tuesday, March 29, 2011

Page 21: Drizzle 7.0, Future of Virtualizing

Authentication/Authorization

• No Cost Authentication

• PAM, LDAP, HTTP

Tuesday, March 29, 2011

Page 22: Drizzle 7.0, Future of Virtualizing

Table Functions

• TABLE_CACHE

• TABLE_DEFINITION_CACHE

• SHOW TEMPORARY TABLES

• All new SQL compliant information_schema

Tuesday, March 29, 2011

Page 23: Drizzle 7.0, Future of Virtualizing

Data Dictionay

• Separate Information Schema for ANSI SQL access.

• All based on Table Functions

• No Materialization

• Single Execution Path

Tuesday, March 29, 2011

Page 24: Drizzle 7.0, Future of Virtualizing

Интернет является UTF-8.

は、 Web UTF - 8です。

The Web is UTF-8.

Tuesday, March 29, 2011

Page 25: Drizzle 7.0, Future of Virtualizing

How about locks?

Tuesday, March 29, 2011

Page 26: Drizzle 7.0, Future of Virtualizing

SHOW PROCESSLIST(now based on table functions)

Tuesday, March 29, 2011

Page 27: Drizzle 7.0, Future of Virtualizing

--skip-grants(none of the current GRANTs require LOCKS

actually…)

Tuesday, March 29, 2011

Page 28: Drizzle 7.0, Future of Virtualizing

store_lock()(all engines are not created equally)

Tuesday, March 29, 2011

Page 29: Drizzle 7.0, Future of Virtualizing

120+ Developers Since Day One

26/36 on average each month

Tuesday, March 29, 2011

Page 30: Drizzle 7.0, Future of Virtualizing

Drizzle 7+

Tuesday, March 29, 2011

Page 31: Drizzle 7.0, Future of Virtualizing

Users

Instance

Schema

Table

Table

Table

Schema

Table

Table

Table

Schema

Table

Table

Table

Schema

Table

Table

Table

Tuesday, March 29, 2011

Page 32: Drizzle 7.0, Future of Virtualizing

Users

Instance

Schema

Table

Table

Table

Users

Schema

Table

Table

Table

Tuesday, March 29, 2011

Page 33: Drizzle 7.0, Future of Virtualizing

• Cuts the 30/40% hit from virtualizing

• Single instance maintenance

• Still allows for IO spread on San/NAS

Tuesday, March 29, 2011

Page 34: Drizzle 7.0, Future of Virtualizing

• Supports Partial Backup

• No locking

• Single solution, point-in-time recovery in a single solution.

• Comes with the database.

Hot Backup

Tuesday, March 29, 2011

Page 35: Drizzle 7.0, Future of Virtualizing

http://drizzle.orghttp://planetdrizzle.orgFreenode #drizzle

Tuesday, March 29, 2011


Recommended