SlideShare une entreprise Scribd logo
1  sur  53
Télécharger pour lire hors ligne
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

Contenu connexe

Plus de Infochimps, a CSC Big Data Business

Plus 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
 

Dernier

Dernier (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 
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
 
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
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

Ironfan: Principle-Driven Scalable Ops Tools