SlideShare a Scribd company logo
1 of 42
Download to read offline
7 STEPS
to Roll-out a Private
OpenStack Swift Cluster
          Joe Arnold
          OpenStack Conference
                       April 19, 2012
OpenStack Swift
 Powers Rackspace Cloud Files
Data is
                                           Sticky

http://www.flickr.com/photos/josefgrunig/
App       App       App


Storage   Storage   Storage


Compute   Compute   Compute
Rackspace     Openstack
Cloud Files    Launch
                          59 developers
                          contributing
                          to Swift
    ’09          ’10
When to use Swift (and when not to)


Achieving High Durability and Availability (cluster design)


         Convincing Your Boss (the economics)


    Selecting Appropriate Hardware (benchmarking)


 Knowing How It’s Working (management & monitoring)


       What Interfaces Exist (compatible clients)


   How to Build Killer Apps (features for developers)
When to use Swift (and when not to)


Achieving High Durability and Availability (cluster design)


         Convincing Your Boss (the economics)


    Selecting Appropriate Hardware (benchmarking)


 Knowing How It’s Working (management & monitoring)


       What Interfaces Exist (compatible clients)


   How to Build Killer Apps (features for developers)
Swi ft is good for
          - Application data
          - Filesharing
          - Backups
          - Unstructured data
Swift is laser focused
   Swift Attributes




          Scalable
Swift Attributes




      Durable
Swift Attributes




Concurrency
Not good at . . .
 Databases - transactional workloads
 No File Locking
Not good at . . .
            Single
            Stream
              I/O
When to use Swift (and when not to)


Achieving High Durability and Availability (cluster design)


         Convincing Your Boss (the economics)


    Selecting Appropriate Hardware (benchmarking)


 Knowing How It’s Working (management & monitoring)


       What Interfaces Exist (compatible clients)


   How to Build Killer Apps (features for developers)
Data Durability - Zones
Data Durability - Replication & Consistency
High Availability

 Proxy

   +

Zones
Example: 2 Nodes



  - Whole Files
  - 3 Replicas
  - Withstand multiple
    disk failures
Example: 5 Nodes


- Withstand multiple
  Node Failures
- Consider Separate
  Proxy Tier
Example: 50 Nodes
- Withstand Rack Failures
- Requires Separate
  Proxy Tier
When to use Swift (and when not to)


Achieving High Durability and Availability (cluster design)


         Convincing Your Boss (the economics)


    Selecting Appropriate Hardware (benchmarking)


 Knowing How It’s Working (management & monitoring)


       What Interfaces Exist (compatible clients)


   How to Build Killer Apps (features for developers)
Swi ft is economical

                     $0.40/GB Capex

Example: $42,520 for 105TB usable
1 x Dell r815 ($4,500)
2x Supermicro JBODs ($5,400)
144 x 3TB hard drives ($33,120)
Thailand flooding drive prices
Swi ft is economical
     Size        Configuration            Cost    $ / GB

             2 ToR Switch
             2 Proxy/Auth Servers
    145 TB   5 Object Stores             $95k    $0.65
             ...and cables, rack, etc

             2 Agg Switches
             6 Proxy/Auth Servers
    1.3 PB   5 ToR Switches              $750k   $0.52
             50 Object Stores
             ...and cables, racks, etc
When to use Swift (and when not to)


Achieving High Durability and Availability (cluster design)


         Convincing Your Boss (the economics)


    Selecting Appropriate Hardware (benchmarking)


 Knowing How It’s Working (management & monitoring)


       What Interfaces Exist (compatible clients)


   How to Build Killer Apps (features for developers)
High volume web /
              mobile application


 Various     Enterprise Filesharing

Work loads
                  Backup /
                Active Archive
Measure and Test


                                  Frequency
      File Sizes   Concurrency   of upload vs
                                  download
RAM - 12GB
 PROXY NODES     Networking - 2 x 10GbE



            CPU - quad-core
           RAM - 1GB of RAM / 2TB
           Drives - 2-3 TB Drives
           Controller Cards - No RAID
           Using SSDs - User Accounts &
                        Container Listings
STORAGE NODES
When to use Swift (and when not to)


Achieving High Durability and Availability (cluster design)


         Convincing Your Boss (the economics)


    Selecting Appropriate Hardware (benchmarking)


 Knowing How It’s Working (management & monitoring)


       What Interfaces Exist (compatible clients)


   How to Build Killer Apps (features for developers)
People are
Expensive
Added StatsD to Watch EVERYTHING

       Swift Process
        Swift Process
         Swift Process
          Swift Process        Lightweight
           Swift Process
            Swift Process      UDP StatsD


                                       StatsD



                Time-Series Backend
                  Ganglia / Graphite
Integrating Components around Swift

                   Load Balancing


         SSL Termination     Authentication


               OpenStack Object Storage


         OS, Node & Drive     Swift Runtime
           Monitoring          Monitoring


             Operating System + Kernel
Managing a distributed system


                                Controller
Capacity adjustments
Capacity




                       time
When to use Swift (and when not to)


Achieving High Durability and Availability (cluster design)


         Convincing Your Boss (the economics)


    Selecting Appropriate Hardware (benchmarking)


 Knowing How It’s Working (management & monitoring)


       What Interfaces Exist (compatible clients)


   How to Build Killer Apps (features for developers)
S3
           Cloud Files
                         ’10
’06        ’08
When to use Swift (and when not to)


Achieving High Durability and Availability (cluster design)


         Convincing Your Boss (the economics)


    Selecting Appropriate Hardware (benchmarking)


 Knowing How It’s Working (management & monitoring)


       What Interfaces Exist (compatible clients)


   How to Build Killer Apps (features for developers)
HTTP API




Data              Storage
Media Delivery

Direct to Device

Integrates to CDN

Streaming

Static Documents

Direct from Device
TRY              http://swiftstack.com



                    joe@swiftstack.com
                    @joearnold - @swiftstack




          rkshop     ๏Install
Swi ft wo            ๏Build an Application
 tom   orrow at
  1:3  0 - 4 : 00

More Related Content

Viewers also liked

Deploying OpenStack Object Storage (Swift)
Deploying OpenStack Object Storage (Swift)Deploying OpenStack Object Storage (Swift)
Deploying OpenStack Object Storage (Swift)
Juan José Martínez
 

Viewers also liked (11)

Openstack swift - VietOpenStack 6thmeeetup
Openstack swift - VietOpenStack 6thmeeetupOpenstack swift - VietOpenStack 6thmeeetup
Openstack swift - VietOpenStack 6thmeeetup
 
Swift Install Workshop - OpenStack Conference Spring 2012
Swift Install Workshop - OpenStack Conference Spring 2012Swift Install Workshop - OpenStack Conference Spring 2012
Swift Install Workshop - OpenStack Conference Spring 2012
 
Deploying OpenStack Object Storage (Swift)
Deploying OpenStack Object Storage (Swift)Deploying OpenStack Object Storage (Swift)
Deploying OpenStack Object Storage (Swift)
 
OpenStack Swift In the Enterprise
OpenStack Swift In the EnterpriseOpenStack Swift In the Enterprise
OpenStack Swift In the Enterprise
 
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-centerFossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center
 
Open vStorage Meetup - Santa Clara 04/16
Open vStorage Meetup -  Santa Clara 04/16Open vStorage Meetup -  Santa Clara 04/16
Open vStorage Meetup - Santa Clara 04/16
 
Turning object storage into vm storage
Turning object storage into vm storageTurning object storage into vm storage
Turning object storage into vm storage
 
Improving Hadoop Resiliency and Operational Efficiency with EMC Isilon
Improving Hadoop Resiliency and Operational Efficiency with EMC IsilonImproving Hadoop Resiliency and Operational Efficiency with EMC Isilon
Improving Hadoop Resiliency and Operational Efficiency with EMC Isilon
 
Deploying and managing gluster using ovirt - fudcon2015
Deploying and managing gluster using ovirt - fudcon2015Deploying and managing gluster using ovirt - fudcon2015
Deploying and managing gluster using ovirt - fudcon2015
 
EMC ScaleIO
EMC ScaleIOEMC ScaleIO
EMC ScaleIO
 
Issues of OpenStack multi-region mode
Issues of OpenStack multi-region modeIssues of OpenStack multi-region mode
Issues of OpenStack multi-region mode
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

7 steps to roll out a private open stack swift cluster - joe arnold - swiftstack - OpenStack Conference -2012-04-17

  • 1. 7 STEPS to Roll-out a Private OpenStack Swift Cluster Joe Arnold OpenStack Conference April 19, 2012
  • 2.
  • 3. OpenStack Swift Powers Rackspace Cloud Files
  • 4. Data is Sticky http://www.flickr.com/photos/josefgrunig/
  • 5. App App App Storage Storage Storage Compute Compute Compute
  • 6. Rackspace Openstack Cloud Files Launch 59 developers contributing to Swift ’09 ’10
  • 7. When to use Swift (and when not to) Achieving High Durability and Availability (cluster design) Convincing Your Boss (the economics) Selecting Appropriate Hardware (benchmarking) Knowing How It’s Working (management & monitoring) What Interfaces Exist (compatible clients) How to Build Killer Apps (features for developers)
  • 8. When to use Swift (and when not to) Achieving High Durability and Availability (cluster design) Convincing Your Boss (the economics) Selecting Appropriate Hardware (benchmarking) Knowing How It’s Working (management & monitoring) What Interfaces Exist (compatible clients) How to Build Killer Apps (features for developers)
  • 9. Swi ft is good for - Application data - Filesharing - Backups - Unstructured data
  • 10. Swift is laser focused Swift Attributes Scalable
  • 11. Swift Attributes Durable
  • 13. Not good at . . . Databases - transactional workloads No File Locking
  • 14. Not good at . . . Single Stream I/O
  • 15. When to use Swift (and when not to) Achieving High Durability and Availability (cluster design) Convincing Your Boss (the economics) Selecting Appropriate Hardware (benchmarking) Knowing How It’s Working (management & monitoring) What Interfaces Exist (compatible clients) How to Build Killer Apps (features for developers)
  • 17. Data Durability - Replication & Consistency
  • 19. Example: 2 Nodes - Whole Files - 3 Replicas - Withstand multiple disk failures
  • 20. Example: 5 Nodes - Withstand multiple Node Failures - Consider Separate Proxy Tier
  • 21. Example: 50 Nodes - Withstand Rack Failures - Requires Separate Proxy Tier
  • 22. When to use Swift (and when not to) Achieving High Durability and Availability (cluster design) Convincing Your Boss (the economics) Selecting Appropriate Hardware (benchmarking) Knowing How It’s Working (management & monitoring) What Interfaces Exist (compatible clients) How to Build Killer Apps (features for developers)
  • 23. Swi ft is economical $0.40/GB Capex Example: $42,520 for 105TB usable 1 x Dell r815 ($4,500) 2x Supermicro JBODs ($5,400) 144 x 3TB hard drives ($33,120) Thailand flooding drive prices
  • 24. Swi ft is economical Size Configuration Cost $ / GB 2 ToR Switch 2 Proxy/Auth Servers 145 TB 5 Object Stores $95k $0.65 ...and cables, rack, etc 2 Agg Switches 6 Proxy/Auth Servers 1.3 PB 5 ToR Switches $750k $0.52 50 Object Stores ...and cables, racks, etc
  • 25. When to use Swift (and when not to) Achieving High Durability and Availability (cluster design) Convincing Your Boss (the economics) Selecting Appropriate Hardware (benchmarking) Knowing How It’s Working (management & monitoring) What Interfaces Exist (compatible clients) How to Build Killer Apps (features for developers)
  • 26. High volume web / mobile application Various Enterprise Filesharing Work loads Backup / Active Archive
  • 27. Measure and Test Frequency File Sizes Concurrency of upload vs download
  • 28. RAM - 12GB PROXY NODES Networking - 2 x 10GbE CPU - quad-core RAM - 1GB of RAM / 2TB Drives - 2-3 TB Drives Controller Cards - No RAID Using SSDs - User Accounts & Container Listings STORAGE NODES
  • 29. When to use Swift (and when not to) Achieving High Durability and Availability (cluster design) Convincing Your Boss (the economics) Selecting Appropriate Hardware (benchmarking) Knowing How It’s Working (management & monitoring) What Interfaces Exist (compatible clients) How to Build Killer Apps (features for developers)
  • 31. Added StatsD to Watch EVERYTHING Swift Process Swift Process Swift Process Swift Process Lightweight Swift Process Swift Process UDP StatsD StatsD Time-Series Backend Ganglia / Graphite
  • 32. Integrating Components around Swift Load Balancing SSL Termination Authentication OpenStack Object Storage OS, Node & Drive Swift Runtime Monitoring Monitoring Operating System + Kernel
  • 33. Managing a distributed system Controller
  • 35. When to use Swift (and when not to) Achieving High Durability and Availability (cluster design) Convincing Your Boss (the economics) Selecting Appropriate Hardware (benchmarking) Knowing How It’s Working (management & monitoring) What Interfaces Exist (compatible clients) How to Build Killer Apps (features for developers)
  • 36. S3 Cloud Files ’10 ’06 ’08
  • 37.
  • 38. When to use Swift (and when not to) Achieving High Durability and Availability (cluster design) Convincing Your Boss (the economics) Selecting Appropriate Hardware (benchmarking) Knowing How It’s Working (management & monitoring) What Interfaces Exist (compatible clients) How to Build Killer Apps (features for developers)
  • 39. HTTP API Data Storage
  • 40. Media Delivery Direct to Device Integrates to CDN Streaming Static Documents Direct from Device
  • 41.
  • 42. TRY http://swiftstack.com joe@swiftstack.com @joearnold - @swiftstack rkshop ๏Install Swi ft wo ๏Build an Application tom orrow at 1:3 0 - 4 : 00