Scaling Web Sites By Sharding And Replication Hl2008 Rus

download Scaling Web Sites By Sharding And Replication Hl2008 Rus

If you can't read please download the document

Transcript of Scaling Web Sites By Sharding And Replication Hl2008 Rus

Slide 1

MySQL

O 8, 2008

HighLoad++

,

, Percona Inc

--

CDN

.

Amazon.Com

(10% )

FaceBook

.

-

?

3

( ).

?

MySQL Cluster ?

Continuent/Sequoia ?

KickFire ?

MySQL Proxy ?

BigTable ?

SimpleDB ?

MySQL

JOIN,

CPU

MySQL

Scale-UP

:

Join Federated

memcache

( )

binlog

/timestamp

MySQL Proxy

()

50% - 2 50%

50% 75% 25%

2

( )

medium/high end servers

Percona

MySQL 5.1

Slave

INSERT ... SELECT

SELECT ....

INSERT ....

DELETE .... LIMIT 100

ALTER TABLE

Master

20GB 16GB

100GB 5 6

1/6

RAID

SSD

/ (stickiness)

( user_id)

-

3-5

200

Master-Master .

?

ALTER/OPTIMIZE MySQL ?

?

: user_id

: country_id

A, B

. . .

25 D

-

( )

-

;

.

( )

.

user_id

-

/

( )

-

user_id=X

HiveDB http://www.hivedb.org

HSCALE http://www.hscale.org

Spock Proxy

.

Join

MySQL

Federated

High Availability

, , ,

Netezza Kickfire ?

Nutch, Sphinx, Hbase,

10x+

.

[email protected]

MySQL

http://www.percona.com

1

Click to edit the outline text format

Second Outline Level

Third Outline Level

Fourth Outline Level

Fifth Outline Level

Sixth Outline Level

Seventh Outline Level

Eighth Outline Level

Ninth Outline Level

Click to edit the outline text format

Second Outline Level

Third Outline Level

Fourth Outline Level

Fifth Outline Level

Sixth Outline Level

Seventh Outline Level

Eighth Outline Level

Ninth Outline Level

Scaling Web Applications by Replication and Sharding

--