Documente Academic
Documente Profesional
Documente Cultură
! Databases
• RDS
• Oracle, SQL Server, MySQL
• DynamoDB, SimpleDB
Why build a RHS cluster in AWS?
! Scalability
• Build clusters that scale to petabytes.
• Performance scales with storage.
! Sharable
• Supports IO from hundreds of clients simultaneously.
! Multi-region replication
• Asynchronous replication
Finding your Gluster performance bottleneck
! Gluster performance is a function of multiple variables –
• File size
• Access size
• Access patterns
• Replicated v. distributed
• Number of clients
! EC2 Instances
• Intra-instance network -
• On cc* instance types @ 10Gb/sec
• Otherwise 1Gb/sec
! Scaling OUT
• Adding nodes to an existing cluster
• Appropriate when the instances are resource bound
Scaling UP
Region
R R R R R R R R R R R R
R R R R R R R R R R R R
R R R R R R R R R R R R
Region
TEST
TEST
TEST!
! Every workload is different, your results will vary!
• AWS makes testing easy, create and destroy cluster in minutes
• Use real world load to test with
Performance
Single file 400.00
MB/sec On a mirrored pair of ephemeral storage,
300.00 distributed reads.
200.00
100.00
0.00
2 4 8 16 32 64 128 256 512 1024
Block Size (KB)
Gluster 200.00
replicated
150.00
On EBS an array of 8 volumes, replicated single file
MB/sec 100.00
writes. (8000 IOPs/instance)
50.00
0.00
2 4 8 16 32 64 128 256 512 1024
Block Size (KB)
3000
Performance
2500
2448
1696 1784
1500
1012 1000
16 16 16
824 880
852
8 8 832 8 8 8 8 8
440
438 440 500
4 4 4 4 4 4 4
2 2 2 2 2 2 2
0
Clients Gluster Servers Throughput (MB/s)
m2.4xlarge servers and clients
Thanks!
http://www.slideshare.net/AmazonWebServices
Craig Carl
crcarl@amazon.com