SlideShare uma empresa Scribd logo
1 de 53
Baixar para ler offline
Ironfan:
Principle-Driven
Scalable Ops Tools

  http://github.com/infochimps-labs/ironfan
Ironfan

• Open-source core (Apache) with enterprise features
• http://github.com/infochimps-labs/ironfan
• Based on Chef (http://www.opscode.com/chef)
Principles
• Progressive 	

- match what you’d whiteboard
• Declaratory	

- show all (and only) what’s interesting
• Coherent 	

 - full state is versioned as a whole
• Decoupled 	

 - minimize shared knowledge
• Helpful 	

 	

 - common things are simple
• Inevitable 	

 - declarations imply actions
Ironfan:
your system diagram
     made real
Declaratory:
simple stories, simply told
HBase Cluster


• HBase Master
• HBase RegionServers

      Simple, right?
HBase Cluster
• one-ish:
 • HBase master
 • HBase secondary master
 • Hadoop Namenode • many:
 • Hadoop 2NN             • HBase RegionServer
 • Hadoop Jobtracker      • HBase Stargate
 • Zookeeper Quorum x3 • HBase Thrift
                          • Hadoop Datanode
                          • Hadoop Tasktracker
Decouple


Powerful Black Boxes

      Beautiful Glue
Data Stores in Production

• HBase           • MySQL
• ElasticSearch   • Redis
• Cassandra       • sqlite
• TokyoTyrant     • whisper (graphite)
• SimpleDB        • file system
• MongoDB         • S3
Programs Used for This Talk

• Emacs        • Skitch
• Keynote      • finder
• Preview      • flickr.com
• Chrome       • google image search
• ruby (pry)   • ssh
A Database is just a Bucket
Service Discovery:
game recognize game
gibbon-hadoop-namenode
                 gibbon-hadoop-jobtracker

                       ack ack ack

gibbon-nnjt-0




                ¿dónde está mi namenode?


                  gibbon-nnjt-0
                                            gibbon-
                                            worker-0
gibbon-hadoop-namenode
                 gibbon-hadoop-jobtracker

                       ack ack ack

gibbon-nnjt-0

                ¿dónde está mi namenode?

                   gibbon-nnjt-0

                ¿dónde está mi jobtracker?

                  gibbon-nnjt-0
                                             gibbon-
                                             worker-0
gibbon-hadoop-namenode

               gibbon-hadoop-jobtracker

                       ack ack ack

gibbon-nn-0                                 gibbon-jt-0

                ¿dónde está mi namenode?

                    gibbon-nn-0

               ¿dónde está mi jobtracker?

                   gibbon-jt-0
                                               gibbon-
                                               worker-0
declaratory + decoupled =
      Recapitulation

   ex: DB Migrations
    the Ironfan Way
alice


alice

bob

alice

bob


bob
Aspects:
Cross-cutting Concerns
Amenities

• Logs
• Ports
• Daemons
• Dashboards
• Libs / Executables
Amenities:
It’s good to be king
Amenities
• Logs: rotation, archiving
• Ports: remote monitoring (on and off)
• Daemons: process monitoring
• Dashboards: Dashboard dashboard
• Libs / Executables: Decoupled imports
• Versions: Shims, Discovery
Inevitability:
born this way
Chef:




Ironfan:
10 lines
10 lines, 5 flaws




can you spot all 5?
10 lines, 5 flaws
                             hard coded


                       SECURITY HOLE
                       daemon-writeable
                           conf dir

              fails on bsd

not DRY   ‘0755’ not 755
Ironfan
Inevitability
must do this:




                                    to get a log dir


 so when you announce,
           gibbon-hadoop-namenode



                        AWESOMENESS IS
                          INEVITABLE
Contract:
word is bond yo
Resource Sharing:
can’t we all just get along?
HBase
• Region Server (dominate)
• TaskTracker + Children (wussy)
• DataNode (moderate)
                 Hadoop
• DataNode (moderate)
• TaskTracker + Children (dominate)
Rails Apps > 5k LOC
 considered Harmful




one big app   many apps   tax
Resource Sharing:
can’t we all just get along?
Monolithic Software




 means Meetings
Meetings




are Death
Decentralize. Decouple.
It’s not about Performance

           Fast

         Resilient

          Simple
jobs@infochimps.com




We’re Hiring
      github.com/
         infochimps-labs
...
• System Diagram made real
• Decoupled Components connect
• Components Announce their capabilities
• Announcements enable Service Discovery
• Components announce cross-cutting Aspects
• Aspects enable zero-conf Amenities
• Announcement as Contract
• Contracts enable zero-conf specification testing
• Specs + monitoring enable zero-conf integration
  testing
• Systems Bind to provisioned resources
• Resource Sharing
Ironfan:  Principle-Driven Scalable Ops Tools

Mais conteúdo relacionado

Mais de Infochimps, a CSC Big Data Business

Mais de Infochimps, a CSC Big Data Business (13)

Infographic: CIOs & Big Data
Infographic: CIOs & Big DataInfographic: CIOs & Big Data
Infographic: CIOs & Big Data
 
5 Big Data Use Cases for 2013
5 Big Data Use Cases for 20135 Big Data Use Cases for 2013
5 Big Data Use Cases for 2013
 
451 Research Impact Report
451 Research Impact Report451 Research Impact Report
451 Research Impact Report
 
[Webinar] Top Strategies for Successful Big Data Projects
[Webinar] Top Strategies for Successful Big Data Projects[Webinar] Top Strategies for Successful Big Data Projects
[Webinar] Top Strategies for Successful Big Data Projects
 
[Webinar] High Speed Retail Analytics
[Webinar] High Speed Retail Analytics[Webinar] High Speed Retail Analytics
[Webinar] High Speed Retail Analytics
 
Infochimps + CloudCon: Infinite Monkey Theorem
Infochimps + CloudCon: Infinite Monkey TheoremInfochimps + CloudCon: Infinite Monkey Theorem
Infochimps + CloudCon: Infinite Monkey Theorem
 
Taming the Big Data Tsunami using Intel Architecture
Taming the Big Data Tsunami using Intel ArchitectureTaming the Big Data Tsunami using Intel Architecture
Taming the Big Data Tsunami using Intel Architecture
 
The Other Way of Doing Big Data
The Other Way of Doing Big DataThe Other Way of Doing Big Data
The Other Way of Doing Big Data
 
Real-Time Analytics: The Future of Big Data in the Agency
Real-Time Analytics: The Future of Big Data in the AgencyReal-Time Analytics: The Future of Big Data in the Agency
Real-Time Analytics: The Future of Big Data in the Agency
 
Ironfan: Your Foundation for Flexible Big Data Infrastructure
Ironfan: Your Foundation for Flexible Big Data InfrastructureIronfan: Your Foundation for Flexible Big Data Infrastructure
Ironfan: Your Foundation for Flexible Big Data Infrastructure
 
The Power of Elasticsearch
The Power of ElasticsearchThe Power of Elasticsearch
The Power of Elasticsearch
 
Case Study: Digital Agency Turbocharges Social Listening and Insights with t...
Case Study: Digital  Agency Turbocharges Social Listening and Insights with t...Case Study: Digital  Agency Turbocharges Social Listening and Insights with t...
Case Study: Digital Agency Turbocharges Social Listening and Insights with t...
 
Meet the Infochimps Platform
Meet the Infochimps PlatformMeet the Infochimps Platform
Meet the Infochimps Platform
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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...
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Ironfan: Principle-Driven Scalable Ops Tools