SlideShare a Scribd company logo
Scaling heterogeneous
           systems on the cloud

                            John D. Rowell
                           jd@escalari.com
                              @jdrowell


                               http://www.flickr.com/photos/klearchos/4632744945
Thursday, March 24, 2011
Works fine on my
                          machine




                            http://www.flickr.com/photos/klearchos/4632744945
Thursday, March 24, 2011
Yeah but does it scale?




Thursday, March 24, 2011
What to scale

                           Storage capacity
                           Processing power
                             Concurrency
                              Availability

                                  http://www.flickr.com/photos/kwl/3219157599
Thursday, March 24, 2011
Any complex system
         won't be homogeneous
                           Web servers
                            Databases
                             Caches
                             Queues
                             Workers

                            http://www.flickr.com/photos/core-materials/3838557749
Thursday, March 24, 2011
Different subsystems
                 scale differently

                           Master / Slave
                           Client sharding
                            Map / Reduce
                               Workers

                                 http://www.flickr.com/photos/licassuncao/2500282164
Thursday, March 24, 2011
No failure is not an
                           option

                            Monitoring
                           Auto respawn
                            Live spares


                                http://www.flickr.com/photos/bfishadow/5197774708
Thursday, March 24, 2011
No sysadm? No
                              problem!

                           Full featured APIs
                               Thresholds
                           Remote monitoring
                            Cloud monitoring

                                   http://www.flickr.com/photos/deltamike/3536991945
Thursday, March 24, 2011
Scaling Vertically


                          Stop and Go
                      Stick to 32 or 64bits
                        Rolling upgrade


                                   http://www.flickr.com/photos/doctorvee/3766965528
Thursday, March 24, 2011
Scaling Horizontally


                           Network latency
                           Bandwidth use
                              Security


                                http://www.flickr.com/photos/thefangmonster/
Thursday, March 24, 2011        4024861156
Where's the node?


            Cluster is dynamic
         No broadcast or multicast
             Use the API Luke


                            http://www.flickr.com/photos/silvery/2414538926
Thursday, March 24, 2011
Make all nodes equal


                            Dynamo
                           Memcached
                            ZeroConf


                               http://www.flickr.com/photos/jurvetson/3327872958
Thursday, March 24, 2011
Scale-friendly systems

                           Web servers
                               Riak
                            memcached
                           ElasticSearch

                                  http://www.flickr.com/photos/xiaming/50391986
Thursday, March 24, 2011
Scale semi-friendly
                        systems

                            MongoDB
                             MySQL
                           PostgreSQL


                                http://www.flickr.com/photos/fenng/5489161388
Thursday, March 24, 2011
Scale un-friendly
                               systems

                                Redis*
                                Queues
                           Stream consumers


                                  http://www.flickr.com/photos/addedentry/631590447
Thursday, March 24, 2011
One AMI to rule them all


                           /opt is your friend
                              data on EBS
                                cloud-init


                                   http://www.flickr.com/photos/thecaucas/3573910044
Thursday, March 24, 2011
There is no spoon


           Leverage your services
           Key/value =~ scoreboard
              Queue =~ Job list


Thursday, March 24, 2011
There is no spoon


           Leverage your services
           Key/value =~ scoreboard
              Queue =~ Job list


Thursday, March 24, 2011
Caveats


                   Estimate cluster size
                   Non-linear scalability


                             http://www.flickr.com/photos/justin_glass/3793492335
Thursday, March 24, 2011
Thank you!


                            John D. Rowell
                           jd@escalari.com
                              @jdrowell


                               http://www.flickr.com/photos/klearchos/4632744945
Thursday, March 24, 2011

More Related Content

PPT
Mashing up the PLE - RSS edition
PDF
Isolamento de Recursos na Nuvem
PDF
Otimização holistica de ambiente computacional
PDF
DevOps no mundo real - QCON 2014
PDF
Velocity Conference NYC 2014 - Real World DevOps
PDF
7Masters Webops in the Cloud
PPT
14 guendert pres
PDF
Large and Giant Pages
Mashing up the PLE - RSS edition
Isolamento de Recursos na Nuvem
Otimização holistica de ambiente computacional
DevOps no mundo real - QCON 2014
Velocity Conference NYC 2014 - Real World DevOps
7Masters Webops in the Cloud
14 guendert pres
Large and Giant Pages

Similar to John D. Rowell - Scaling heterogeneous systems on the cloud (20)

PPT
Silicon India Java Conference: Building Scalable Solutions For Commerce Silic...
PDF
Reliability & Scale in AWS while letting you sleep through the night
PDF
Ceph Day Melbourne - Scale and performance: Servicing the Fabric and the Work...
PPS
Web20expo Filesystems
PPS
Web20expo Filesystems
PPS
Web20expo Filesystems
PPS
Beyond the File System: Designing Large-Scale File Storage and Serving
PPS
Web20expo Filesystems
PPT
Google Cloud Computing on Google Developer 2008 Day
PPS
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
PDF
Mit big data_sep2012
PDF
Availability, the Cloud and Everything
PPS
Scalable Web Arch
PPS
Scalable Web Architectures - Common Patterns & Approaches
PPS
Filesystems
PPS
Beyond the File System - Designing Large Scale File Storage and Serving
PDF
PyCon 2011 Scaling Disqus
PPT
Key Challenges in Cloud Computing and How Yahoo! is Approaching Them
PDF
Introducing Riak and Ripple
PDF
Key-Value-Stores -- The Key to Scaling?
Silicon India Java Conference: Building Scalable Solutions For Commerce Silic...
Reliability & Scale in AWS while letting you sleep through the night
Ceph Day Melbourne - Scale and performance: Servicing the Fabric and the Work...
Web20expo Filesystems
Web20expo Filesystems
Web20expo Filesystems
Beyond the File System: Designing Large-Scale File Storage and Serving
Web20expo Filesystems
Google Cloud Computing on Google Developer 2008 Day
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Mit big data_sep2012
Availability, the Cloud and Everything
Scalable Web Arch
Scalable Web Architectures - Common Patterns & Approaches
Filesystems
Beyond the File System - Designing Large Scale File Storage and Serving
PyCon 2011 Scaling Disqus
Key Challenges in Cloud Computing and How Yahoo! is Approaching Them
Introducing Riak and Ripple
Key-Value-Stores -- The Key to Scaling?
Ad

More from Rodrigo Campos (20)

PDF
Desempenho e Escalabilidade de Banco de Dados em ambiente x86
PPT
13 coelho final-pres
PPT
Mistério ou tecnologia? Paralelismo!
PPT
z/VM Performance Analysis
PPTX
Sistemas de proteção de perímetro
PDF
Devops at Walmart GeC Brazil
PDF
Disk IO Benchmarking in shared multi-tenant environments
PDF
Cloud Computing Oportunidades e Desafios
PDF
The good, the bad and the big... data
PPTX
CMG 2012 - Tuning where it matters - Gerry Tuddenham
PDF
A Consumerização da TI e o Efeito BYOT
PPT
CMG Brasil 2012 - Uso de Lines nos z196
PDF
Racionalização e Otimização de Energia em Computação na Nuvem
PDF
SDN - Openflow + OpenVSwitch + Quantum
PDF
AWS RDS Benchmark - CMG Brasil 2012
PDF
Cloud Computing at Academia UOL
PDF
Planejamento de Capacidade - Técnicas e Ferramentas
PDF
Capacity Planning for Linux Systems
PDF
Performance Oriented Design
PDF
Adam Grummitt - Capacity Management: Guided Practitioner Satnav
Desempenho e Escalabilidade de Banco de Dados em ambiente x86
13 coelho final-pres
Mistério ou tecnologia? Paralelismo!
z/VM Performance Analysis
Sistemas de proteção de perímetro
Devops at Walmart GeC Brazil
Disk IO Benchmarking in shared multi-tenant environments
Cloud Computing Oportunidades e Desafios
The good, the bad and the big... data
CMG 2012 - Tuning where it matters - Gerry Tuddenham
A Consumerização da TI e o Efeito BYOT
CMG Brasil 2012 - Uso de Lines nos z196
Racionalização e Otimização de Energia em Computação na Nuvem
SDN - Openflow + OpenVSwitch + Quantum
AWS RDS Benchmark - CMG Brasil 2012
Cloud Computing at Academia UOL
Planejamento de Capacidade - Técnicas e Ferramentas
Capacity Planning for Linux Systems
Performance Oriented Design
Adam Grummitt - Capacity Management: Guided Practitioner Satnav
Ad

John D. Rowell - Scaling heterogeneous systems on the cloud

  • 1. Scaling heterogeneous systems on the cloud John D. Rowell jd@escalari.com @jdrowell http://www.flickr.com/photos/klearchos/4632744945 Thursday, March 24, 2011
  • 2. Works fine on my machine http://www.flickr.com/photos/klearchos/4632744945 Thursday, March 24, 2011
  • 3. Yeah but does it scale? Thursday, March 24, 2011
  • 4. What to scale Storage capacity Processing power Concurrency Availability http://www.flickr.com/photos/kwl/3219157599 Thursday, March 24, 2011
  • 5. Any complex system won't be homogeneous Web servers Databases Caches Queues Workers http://www.flickr.com/photos/core-materials/3838557749 Thursday, March 24, 2011
  • 6. Different subsystems scale differently Master / Slave Client sharding Map / Reduce Workers http://www.flickr.com/photos/licassuncao/2500282164 Thursday, March 24, 2011
  • 7. No failure is not an option Monitoring Auto respawn Live spares http://www.flickr.com/photos/bfishadow/5197774708 Thursday, March 24, 2011
  • 8. No sysadm? No problem! Full featured APIs Thresholds Remote monitoring Cloud monitoring http://www.flickr.com/photos/deltamike/3536991945 Thursday, March 24, 2011
  • 9. Scaling Vertically Stop and Go Stick to 32 or 64bits Rolling upgrade http://www.flickr.com/photos/doctorvee/3766965528 Thursday, March 24, 2011
  • 10. Scaling Horizontally Network latency Bandwidth use Security http://www.flickr.com/photos/thefangmonster/ Thursday, March 24, 2011 4024861156
  • 11. Where's the node? Cluster is dynamic No broadcast or multicast Use the API Luke http://www.flickr.com/photos/silvery/2414538926 Thursday, March 24, 2011
  • 12. Make all nodes equal Dynamo Memcached ZeroConf http://www.flickr.com/photos/jurvetson/3327872958 Thursday, March 24, 2011
  • 13. Scale-friendly systems Web servers Riak memcached ElasticSearch http://www.flickr.com/photos/xiaming/50391986 Thursday, March 24, 2011
  • 14. Scale semi-friendly systems MongoDB MySQL PostgreSQL http://www.flickr.com/photos/fenng/5489161388 Thursday, March 24, 2011
  • 15. Scale un-friendly systems Redis* Queues Stream consumers http://www.flickr.com/photos/addedentry/631590447 Thursday, March 24, 2011
  • 16. One AMI to rule them all /opt is your friend data on EBS cloud-init http://www.flickr.com/photos/thecaucas/3573910044 Thursday, March 24, 2011
  • 17. There is no spoon Leverage your services Key/value =~ scoreboard Queue =~ Job list Thursday, March 24, 2011
  • 18. There is no spoon Leverage your services Key/value =~ scoreboard Queue =~ Job list Thursday, March 24, 2011
  • 19. Caveats Estimate cluster size Non-linear scalability http://www.flickr.com/photos/justin_glass/3793492335 Thursday, March 24, 2011
  • 20. Thank you! John D. Rowell jd@escalari.com @jdrowell http://www.flickr.com/photos/klearchos/4632744945 Thursday, March 24, 2011