SlideShare a Scribd company logo
RubyWorld 2011
Cloud Foundry
Why Ruby, and will it last?

        Derek Collison
         Sept 5, 2011
Agenda
‣ What is Cloud Foundry?
‣ Why Ruby?
‣ The Business of Cloud Foundry
‣ Challenges and Ruby’s future
What is
Cloud Foundry?
The Open
Platform as a Service
What is PaaS?
Or more specifically,
     aPaaS?
aPaaS
‣ Application Platform as a Service
‣ Applications and Services
‣ Not VMs, Memory, Storage, Networks, CPU
What is
OpenPaaS?
OpenPaaS
‣ Multi-Language
‣ Multi-Framework
‣ Multi-Services
‣ Multi-Cloud, Multi-IaaS
‣ Hybrid - Public or Private or Both
‣ OpenSource
OpenPaaS
‣   Multi-Language
    ‣ Ruby, Java, Scala, Node.js, Erlang, Python, PHP..
‣   Multi-Framework
    ‣ Rails, Sinatra, Spring, Grails, Express, Lift, MochiWeb
‣   Multi-Services
    ‣ MySQL, Postgres, MongoDB, Redis, RabbitMQ
‣   Multi-Cloud, Multi-IaaS
    ‣ vSphere, MicroCloud, OpenStack, AWS, Eucalyptus
The Open PaaS
                    Ap
                                                                           .js




                                                                      ce
                       p




                                                                     rfa
                                                                                 Private
                        lic




                                                                     te
                            at




Data Services                                                                    Clouds




                                                                   In
                            io
                              n




                                                               er
                                 Se




                                                              vid
                                    r
                                   vic




                                                                           Public

                                                               o
                                       e




                                                            Pr             Clouds
                                        In




                Messaging
                 Services
                                                       ud
                                          te
                                               rfa



                                                        o
                                                     Cl
                                                ce




                                                                   Micro
                                                                   Clouds
                              Other Services
What was our Goal?
‣ Raise the unit of currency to be the
  application and its associated services, not
  the infrastructure
‣ Best of breed delivery platform for all
  modern applications and frameworks
‣ Favor Choice and Openness
‣ Simplicity and Speed
How was it Built?
‣ Kernel (CloudFoundry OSS)
  ‣ Core PaaS System
‣ Kernel and Orchestrator Shells
  ‣ Layered on top of IaaS
‣ Orchestrator
  ‣ Creation, management and orchestration of IaaS
High Level
   Clients (VMC, STS, Browser)



            CF Kernel


        Orchestrator / IaaS



Hardware - CPU/Memory/Disk/Network
Basic Premises
‣ Fail Fast
‣ Self Healing
‣ Horizontally Scalable Components
‣ Distributed State, No Single Point of Failure
‣ Should be as simple as possible
Basic Patterns
‣ Event-Driven
‣ Asynchronous
‣ Non-blocking
‣ Independent, Idempotent
‣ Message Passing
‣ Eventually Consistent
Logical View
                                                       Browser
VMC client    STS plugin
                                                   (user app access)



                            Routers


    CloudControllers        App              App


                                                       HealthManager
        Services                  DEA Pool



                           Messaging
All built with Ruby 1.9!
But why
 Ruby?
Why Ruby?
‣ Amazingly Expressive Language
‣ Allows great productivity and rapid iteration
‣ Utilized EventMachine for Async Patterns
‣ Ruby 1.9 Fibers
‣ Language performance is not always key
‣ All components are independent
Kernel and Orchestrator
‣ Both built using Ruby 1.9
‣ Kernel does have some performance issues
‣ Orchestrator, Chef, Puppet
  ‣ Ruby is a great language for cloud management
  ‣ CF Orchestrator built with Ruby as well
How do we make
   Money?
The Business
‣ Charge for CloudFoundry.com and Services
‣ Enable the private enterprise PaaS Cloud
‣ Hybrid clouds, combining service + software
The key is the
private cloud..
OpenSource is
 mandatory..
Many customers don’t
want to be thrown into
 the deep end of the
         pool!
Same Patterns Everytime
‣ Customers get a CF.com account and try it
‣ Download source code and try to build
‣ Try to setup a multi-node installation
‣ Request information on hybrid capabilities
Same Patterns Everytime
‣ Customers get a CF.com account and try it
‣ Download source code and try to build
‣ Try to setup a multi-node installation
‣ Request information on hybrid capabilities
This can be hard..
Answer:MicroCloud
Full single instance CF as a downloadable VM
                  Available now
Micro Cloud Foundry
Cloud Foundry on a USB


    Available at RubyWorld
Same Patterns Everytime
‣ Customers get a CF.com account and try it
‣ Download source code and try to build
‣ Try to setup a multi-node installation
‣ Request information on hybrid capabilities
This can be even
     harder..
Answer: Project Bento
Fully supported private cloud version of CF
                 Available 2012
Cloud Foundry EcoSystem
                                            VMware              3rd party
                                           OSS code            OSS code




   VMware                 3rd party
  proprietary            proprietary
     code                   code
                                                 CloudFoundry.org




                        CloudFoundry.com




                Bento                           Micro Cloud Foundry
Demo
Challenges we faced..
Ruby VM, Gil, GC issues
EventMachine Problems
    (1.9, IO skew)
Evented IO
‣ Event-driven programming
‣ Fundamental shift in thinking, e.g. Node.js
‣ Does this require deeper language
  integration for Ruby?
‣ Does Ruby need a formal Reactor Pattern?
Packaging
(Bundler, Gems)
Gem vs VM Choice
  compatibility
(MRI/Yarv, JRuby, RBX)
Did we make the right
      decision?
Did we make the right
      decision?

       YES!
But...
What does Ruby want
to be when it grows
        up?
What is Ruby?
‣ Great scripting language!
  ‣ Cloud Management and Tools
‣ Modern Application Language!
  ‣ Mobile, Data-Centric, Web
‣ Distributed/Cloud Systems Language?
What would need to
     Change?
Summary
Summary
‣ Ruby can power large distributed systems
‣ Ruby can power your business
‣ What does Ruby want to be?
‣ What needs to evolve and improve?
Questions?
Thank You!
 dcollison@vmware.com
derek.collison@gmail.com
     @derekcollison

More Related Content

PDF
Portrait of the developer as The Artist - SpringOne India 2012
PPTX
Architectures for High Availability - QConSF
PDF
Load Balancing for Containers and Cloud Native Architecture
PDF
Microservices: State of the Union
PDF
Load Balancing for Containers and Cloud Native Architecture
PDF
Micro Service Architecture
PPTX
Docker Federal Summit 2017 General Session
PDF
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...
Portrait of the developer as The Artist - SpringOne India 2012
Architectures for High Availability - QConSF
Load Balancing for Containers and Cloud Native Architecture
Microservices: State of the Union
Load Balancing for Containers and Cloud Native Architecture
Micro Service Architecture
Docker Federal Summit 2017 General Session
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...

What's hot (20)

PDF
"[WORKSHOP] K8S for developers", Denis Romanuk
PPTX
Hypervisor "versus" Linux Containers with Docker !
PPTX
CNCF Introduction - Feb 2018
PDF
Introduction to containers a practical session using core os and docker
PDF
Jelastic - Containers Live Migration Behind the Scene
PDF
DCEU 18: Continuous Delivery with Docker Containers and Java: The Good, the B...
PDF
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
PDF
.NET Cloud-Native Bootcamp- Los Angeles
PDF
Container World 2017!
PPSX
Docker Kubernetes Istio
PPTX
What is Kafka & why is it Important? (UKOUG Tech17, Birmingham, UK - December...
PDF
Cisco Live 2017: Container networking deep dive with Docker Enterprise Editio...
PDF
Clocker, Calico and Docker
PDF
Cloud Foundry BOSH CPI for OpenStack
PDF
DCEU 18: State of the Docker Engine
PPTX
Intro to Docker Containers and the Oracle Platform – Database, WebLogic &Clo...
PDF
Gluecon Monitoring Microservices and Containers: A Challenge
PDF
DCEU 18: Provisioning and Managing Storage for Docker Containers
PDF
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
PDF
Containers and microservices for realists
"[WORKSHOP] K8S for developers", Denis Romanuk
Hypervisor "versus" Linux Containers with Docker !
CNCF Introduction - Feb 2018
Introduction to containers a practical session using core os and docker
Jelastic - Containers Live Migration Behind the Scene
DCEU 18: Continuous Delivery with Docker Containers and Java: The Good, the B...
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
.NET Cloud-Native Bootcamp- Los Angeles
Container World 2017!
Docker Kubernetes Istio
What is Kafka & why is it Important? (UKOUG Tech17, Birmingham, UK - December...
Cisco Live 2017: Container networking deep dive with Docker Enterprise Editio...
Clocker, Calico and Docker
Cloud Foundry BOSH CPI for OpenStack
DCEU 18: State of the Docker Engine
Intro to Docker Containers and the Oracle Platform – Database, WebLogic &Clo...
Gluecon Monitoring Microservices and Containers: A Challenge
DCEU 18: Provisioning and Managing Storage for Docker Containers
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
Containers and microservices for realists
Ad

Viewers also liked (20)

PDF
VMware Developer Relations Team Culture
PDF
Cloud is such stuff as dreams are made on
PDF
Introduction to Google Developer Relations
PPTX
Docker Platform and Ecosystem Nov 2015
PDF
Kapil Thangavelu - Cloud Custodian
PPTX
Devoxx 2016 - Docker Nuts and Bolts
PPTX
Oscon London 2016 - Docker from Development to Production
PPTX
Docker 101 Checonf 2016
PPTX
Docker Platform and Ecosystem
PPTX
Docker containerd Kubernetes sig node
PPTX
Containerd - core container runtime component
PDF
Devoxx France 2012 - Portrait du développeur en "The Artist"
PPTX
Using Open Source and Open Standards in the Platform game
PDF
A Gentle Introduction To Docker And All Things Containers
PDF
An Introduction to Python Concurrency
PPTX
What's New in Docker - February 2017
PDF
Serverless / FaaS / Lambda and how it relates to Microservices
PPTX
Docker Container As A Service - JAX 2016
PPTX
Docker 101 - Nov 2016
PDF
containerd and CRI
VMware Developer Relations Team Culture
Cloud is such stuff as dreams are made on
Introduction to Google Developer Relations
Docker Platform and Ecosystem Nov 2015
Kapil Thangavelu - Cloud Custodian
Devoxx 2016 - Docker Nuts and Bolts
Oscon London 2016 - Docker from Development to Production
Docker 101 Checonf 2016
Docker Platform and Ecosystem
Docker containerd Kubernetes sig node
Containerd - core container runtime component
Devoxx France 2012 - Portrait du développeur en "The Artist"
Using Open Source and Open Standards in the Platform game
A Gentle Introduction To Docker And All Things Containers
An Introduction to Python Concurrency
What's New in Docker - February 2017
Serverless / FaaS / Lambda and how it relates to Microservices
Docker Container As A Service - JAX 2016
Docker 101 - Nov 2016
containerd and CRI
Ad

Similar to RubyWorld 2011 (20)

PDF
OSCON 2011
PDF
Cloud foundry - the building of the open paas presentation
PDF
Cloud Foundry Introduction - Canada - October 2012
PDF
PaaS Parade - Cloud Foundry
PDF
Portrait of the Developer As "The Artist" - English Version
PDF
Portrait of the Developer as the Artist - OpenTour Sofia
PDF
Making a Cleaner Cloud with Open Source
PDF
Cloud Foundry bootcamp at ContributingCode
PDF
Cloudcamp Ghent - Cloud foundry-20111121
PDF
Cloud Foundry, the Open Platform As A Service
PDF
Cloud Foundry the Open PaaS - OpenTour Austin Keynote
KEY
Hands On CloudFoundry
PDF
SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...
PDF
Cloud Foundry and Ubuntu - 2012
PDF
Thinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
PDF
Presenter manual cloud computing (specially for summer interns)
PDF
Compatible one cloud expowest nov 2012
PDF
What's New in Cloud Foundry
PDF
Breaking through the Clouds
PDF
Qcon 111122082620-phpapp02
OSCON 2011
Cloud foundry - the building of the open paas presentation
Cloud Foundry Introduction - Canada - October 2012
PaaS Parade - Cloud Foundry
Portrait of the Developer As "The Artist" - English Version
Portrait of the Developer as the Artist - OpenTour Sofia
Making a Cleaner Cloud with Open Source
Cloud Foundry bootcamp at ContributingCode
Cloudcamp Ghent - Cloud foundry-20111121
Cloud Foundry, the Open Platform As A Service
Cloud Foundry the Open PaaS - OpenTour Austin Keynote
Hands On CloudFoundry
SpringOne 2GX 2011 - Writing applications for Cloud Foundry using Spring and ...
Cloud Foundry and Ubuntu - 2012
Thinking Outside the Container: Deploying Standalone Apps to Cloud Foundry
Presenter manual cloud computing (specially for summer interns)
Compatible one cloud expowest nov 2012
What's New in Cloud Foundry
Breaking through the Clouds
Qcon 111122082620-phpapp02

More from Derek Collison (9)

PDF
NATS - A new nervous system for distributed cloud platforms
PDF
GoSF Summerfest - Why Go at Apcera
PDF
What's beyond Virtualization - The Future of Cloud Platforms
PDF
High Performance Systems in Go - GopherCon 2014
PDF
Apcera Case Study: The selection of the Go language
PDF
Distributed Design and Architecture of Cloud Foundry
PDF
Cloud Foundry: Inside the Machine
PDF
Scalable and Available, Patterns for Success
PDF
Ruby conf2010 OpenPaaS
NATS - A new nervous system for distributed cloud platforms
GoSF Summerfest - Why Go at Apcera
What's beyond Virtualization - The Future of Cloud Platforms
High Performance Systems in Go - GopherCon 2014
Apcera Case Study: The selection of the Go language
Distributed Design and Architecture of Cloud Foundry
Cloud Foundry: Inside the Machine
Scalable and Available, Patterns for Success
Ruby conf2010 OpenPaaS

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPT
Teaching material agriculture food technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Programs and apps: productivity, graphics, security and other tools
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Understanding_Digital_Forensics_Presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
20250228 LYD VKU AI Blended-Learning.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Encapsulation_ Review paper, used for researhc scholars
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Teaching material agriculture food technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Empathic Computing: Creating Shared Understanding
Programs and apps: productivity, graphics, security and other tools
The AUB Centre for AI in Media Proposal.docx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
MIND Revenue Release Quarter 2 2025 Press Release
Spectroscopy.pptx food analysis technology
Understanding_Digital_Forensics_Presentation.pptx

RubyWorld 2011