interop 2011 - scaling platform as a service

38
Beyond Virtual Machines Scaling PaaS 2 Patrick Chanezon Senior Director Developer Relations [email protected] http://twitter.com/chanezon Monday, October 3, 11

Upload: patrick-chanezon

Post on 15-May-2015

2.525 views

Category:

Technology


1 download

DESCRIPTION

Most enterprise cloud adoption has relied on virtual machines and infrastructure as a service. However, there is a lot to love about the other approach to clouds—platform as a service. In a PaaS model, you worry about your code, and the systems take care of the rest. True Platform-as-a-Service not only reduces the cost of hardware infrastructure, but also reduces the complexity of the software stack that runs on it. PaaS promises to trim development and deployment time from months and years to days and weeks, but what are the signs of a true PaaS powerhouse? Is it simply free of servers or software to manage? Does it provide automatic upgrades and elasticity? Can you develop in multiple languages and across multiple device platforms? Many informed analysts think PaaS is the inevitable consequence of true utility computing. In this session, Patrick Chanezon of VMWare explains why PaaS may be the future of the enterprise.

TRANSCRIPT

Page 1: Interop 2011 - Scaling Platform As A Service

Beyond Virtual MachinesScaling PaaS

2

Patrick ChanezonSenior DirectorDeveloper [email protected]://twitter.com/chanezon

Monday, October 3, 11

Page 2: Interop 2011 - Scaling Platform As A Service

P@ in a nutshell

• French, based in San Francisco

• Senior Director, Developer Relations, VMware

• Software Plumber, API guy, mix of Enterprise and Consumer

• 18 years writing software, backend guy with a taste for javascript

• 2 y Accenture (Notes guru), 3 y Netscape/AOL (Servers, Portals), 5 y Sun (ecommerce, blogs, Portals, feeds, open source)

• 6 years at Google, API guy (first hired, helped start the team)

• Adwords, Checkout, Social, HTML5, Cloud

Monday, October 3, 11

Page 3: Interop 2011 - Scaling Platform As A Service

Predictions

“The future is already here — it's just not very evenly distributed” William Gibson

3

Monday, October 3, 11

Page 4: Interop 2011 - Scaling Platform As A Service

Predictions

My daugter Charlotte

4

Monday, October 3, 11

Page 5: Interop 2011 - Scaling Platform As A Service

Architecture Changes: 60’s Mainframe

Monday, October 3, 11

Page 6: Interop 2011 - Scaling Platform As A Service

Architecture Changes: 80’s Client-Server

Monday, October 3, 11

Page 7: Interop 2011 - Scaling Platform As A Service

Architecture Changes: 90’s Web

Monday, October 3, 11

Page 8: Interop 2011 - Scaling Platform As A Service

Architecture Changes: 2010’s Cloud, HTML5, Mobile

Monday, October 3, 11

Page 9: Interop 2011 - Scaling Platform As A Service

Back to Client Server: Groovy Baby!

9

Monday, October 3, 11

Page 10: Interop 2011 - Scaling Platform As A Service

Hype warning: Cloudy, with a chance of real innovation

Source: Gartner (August 2009)10

Monday, October 3, 11

Page 11: Interop 2011 - Scaling Platform As A Service

What is Cloud Computing?

11

Cloud According to my daughter Eliette

Monday, October 3, 11

Page 12: Interop 2011 - Scaling Platform As A Service

Cloud Stack - Classic Pyramid

12

Platform As A Service

Infrastructure As A Service

SoftwareAs A Service

Monday, October 3, 11

Page 13: Interop 2011 - Scaling Platform As A Service

Cloud Stack - By Number

13

Platform As A Service

InfrastructureAs A Service

SoftwareAs A Service

Monday, October 3, 11

Page 14: Interop 2011 - Scaling Platform As A Service

Cloud Stack - By Value

14

InfrastructureAs A Service

SoftwareAs A Service

Platform As A Service

Monday, October 3, 11

Page 15: Interop 2011 - Scaling Platform As A Service

Cloud Stack - Neutral

15

Platform As A Service

Infrastructure As A Service

SoftwareAs A Service

Monday, October 3, 11

Page 16: Interop 2011 - Scaling Platform As A Service

Cloud Stack - History

§ What does cloud mean, 4 main angles• Software 1994 Netscape

• Infrastructure 2002 Amazon AWS

• Platform 2008 Google

• Development now!

§ Industrialization of hardware and software infrastructure• like electricity beginning of 20th century, cf The Big Switch, Nick Carr

§ But software development itself is moving towards craftmanship

16

Monday, October 3, 11

Page 17: Interop 2011 - Scaling Platform As A Service

Crossing the Chasm

§ Build the whole product

§ Cloud getting mainstream: Apple iCloud

§ Opportunities and risks

§ Ecosystems, various platforms

17

Picture from Wikimedia Foundation http://en.wikipedia.org/wiki/File:Technology-Adoption-Lifecycle.png

Monday, October 3, 11

Page 18: Interop 2011 - Scaling Platform As A Service

Cloud started at Consumer websites solving their needs

• Google, Amazon, Yahoo, Facebook, Twitter

• Large Data Sets

• Storage Capacity growing faster than Moore’s Law

• Fast Networks

• Horizontal -> Vertical scalability

• Open Source Software

• Virtualization

• Cloud is a productization of these infrastructures

• Public Clouds Services: Google, Amazon

• Open Source Software: Hadoop, Eucalyptus, Cloud Foundry

Monday, October 3, 11

Page 19: Interop 2011 - Scaling Platform As A Service

IaaS/Virtualization getting mainstream

§ AWS, Joyent, Rackspace,...

§ Open Source projects: OpenStack, DeltaCloud, Eucalyptus

§ Standardization? DTMF

§ Inside the Firewall, Virtualization: VMware, Microsoft, Xen, KVM

§ Easy to provision, manage instance...BUT

§ Still need to manage backups, software stacks, monitor, upgrades

19

Monday, October 3, 11

Page 20: Interop 2011 - Scaling Platform As A Service

With Infrastructure, you still need to build your own platform

§ Need to build a distributed platform on top of you infrastructure

§ Story of the AWS meltdown from last summer• http://blog.reddit.com/2011/03/why-reddit-was-down-for-6-of-last-24.html

• http://www.readwriteweb.com/cloud/2010/12/chaos-monkey-how-netflix-uses.php

• http://news.ycombinator.com/item?id=2477296

• http://stu.mp/2011/04/the-cloud-is-not-a-silver-bullet.html

§ Twilio, Smugmug, SimpleGeo survived it because they built their own distributed platform on top of IaaS

§ Enterprise customers want to consider Infrastructure like CDNs• Multi Cloud usage

• Based on Open Source de facto standards, or full standards whenever that happens

20

Monday, October 3, 11

Page 21: Interop 2011 - Scaling Platform As A Service

Platform Example: Google Ap Engine Datastore Layers

21

Complex queries

Entity Group Transactions

Queries on properties

Key range scan

Get and set by key

Datastore ✓ ✓ ✓ ✓ ✓

Megastore ✓ ✓ ✓ ✓

Bigtable ✓ ✓

Monday, October 3, 11

Page 22: Interop 2011 - Scaling Platform As A Service

Megastore API

§ “Give me all rows where the column ‘name’ equals ‘ikai’”

§ “Transactionally write an update to this group of entities”

§ “Do a cross datacenter write of this data such that reads will be strongly consistent” (High Replication Datastore)

§ Megastore paper: http://www.cidrdb.org/cidr2011/Papers/CIDR11_Paper32.pdf

22

Monday, October 3, 11

Page 23: Interop 2011 - Scaling Platform As A Service

Platforms

§ Web stack, nosql, sql

§ Google App Engine, Joyent, Heroku, Stax (Cloudbees), Amazon elastic beanstalk, Microsoft Azure, AppFog

§ Single or a few languages, services

§ Start of Multi language Polyglot platforms

§ Enabler for Agile Developers -> Create Business value faster

§ Lack of standards: risk, vendor lock-in

§ Enterprise needs:•Control, customizability

•Private/Hybrid Cloud

•Avoid lock-in

23

Monday, October 3, 11

Page 24: Interop 2011 - Scaling Platform As A Service

Main Risk: Lock-In

24

Welcome to the hotel californiaSuch a lovely placeSuch a lovely facePlenty of room at the hotel californiaAny time of year, you can find it here

Last thing I remember, I wasRunning for the doorI had to find the passage backTo the place I was before’relax,’ said the night man,We are programmed to receive.You can checkout any time you like,But you can never leave!

Monday, October 3, 11

Page 25: Interop 2011 - Scaling Platform As A Service

Cloud Foundry

§ Cloud Foundry Open PaaS• Open Source: Apache 2 Licensed

• multi language/frameworks

• multi services

• multi cloud

25

Monday, October 3, 11

Page 26: Interop 2011 - Scaling Platform As A Service

Open Source Advantage

§ http://code.google.com/p/googleappengine/issues/detail?id=13

26

• https://github.com/cloudfoundry/vcap/pull/25

Monday, October 3, 11

Page 27: Interop 2011 - Scaling Platform As A Service

Fail often, fail quickly, and learn

Monday, October 3, 11

Page 28: Interop 2011 - Scaling Platform As A Service

Fail often, fail quickly, and learn

• At Google Risk taking/Experimentation is encouraged• http://blog.red-bean.com/sussman/?p=96

“Do not be afraid of day-to-day failures — learn from them. (As they say at Google, “don’t run from failure — fail often, fail quickly, and learn.”) Cherish your history, both the successes and mistakes. All of these behaviors are the way to get better at programming. If you don’t follow them, you’re cheating your own personal development.”

Ben Collins-Sussman (Subversion, code.google.com)

Monday, October 3, 11

Page 29: Interop 2011 - Scaling Platform As A Service

Agile Development Processes

Monday, October 3, 11

Page 30: Interop 2011 - Scaling Platform As A Service

Cultural Drivers: Agility

• Waterfall -> Agile methodologies

• Cloud enables an Agile culture, driver for innovation

http://www.yourdomain.com/

1

2

Monday, October 3, 11

Page 31: Interop 2011 - Scaling Platform As A Service

Agile Development Processes

• Influences from XP, Agile, Scrum

• Code reviews

• Test Driven Development: Testing on the Toilets program and blog

• Many internal development tools: Mondrian recently open sourced

• Changed the meaning of beta

• Teams co-located: 3-15 people, 4/cubicle, all close to each other

• International offices: manage whole projects, avoid coordination costs

Monday, October 3, 11

Page 32: Interop 2011 - Scaling Platform As A Service

Agility as a survival skill

§ Software is becoming like fashion

§ Phone apps, social apps, short lifetime, fast lifecycles

§ Ab testing

§ Clay shirky situational apps

§ Kent Beck, Usenix 2011 Talkchange in software process when frequency grows

§ Cloud is a powerful driver for agility

§ Scalability is built in the platforms

§ Can iterate faster

§ Focus on design

32

Monday, October 3, 11

Page 33: Interop 2011 - Scaling Platform As A Service

Chaos of creativity in developer Frameworks and Tools

§ Proliferation of languages and frameworks

§ Spring, Rails, Grails, Django

§ “Pythons has more webframeworks than language keywords”

§ Javascript, Python, PHP, Java, Groovy, Scala, Clojure, Go

§ Gosling, vm is important, not the language

§ Ability to create DSL important, cf Book

§ Fragmentation of communities

§ Chaotic Darwinian period, fun for the curious, deadly for the ossified

§ Online services replacing a lot of software

§ Mashups, Weaving services together

§ Pick your battles, choose what you need to build yourself to add value

33

Monday, October 3, 11

Page 34: Interop 2011 - Scaling Platform As A Service

Cloud for Developers: the true path is PaaS!

34

Monday, October 3, 11

Page 35: Interop 2011 - Scaling Platform As A Service

Books / Articles

§ Nick Carr, The Big Switch

§ Eric Raymond, The Art of Unix Programming

§ Weinberg, Psychology of Computer Programming

§ Wes python book

§ Mark html5 book

§ Kent Beck XP

§ Hunt, Thomas, The Pragmatic Programmer

§ Ade Oshineye, Apprenticeship Patterns

§ Matt Cutt's Ignite Talk IO 2011, Trying different things

§ Josh Bloch talk about api design

§ Larry and Sergey, Anatomy of a Search Engine

§ Rob Pike, The Practice of Programming

35

Monday, October 3, 11

Page 36: Interop 2011 - Scaling Platform As A Service

Papers / Talks

§ Simon Wardley, Oscon 09 “Cloud - Why IT Matters”

§ Tim O’Reilly article on internet os

§ Peter Deutsch’s 8 Fallacies of Distributed Computing

§ Brewer’s CAP Theorem

§ Gregor Hohpe’s Starbucks Does Not Use Two-Phase Commit

§ Stuff I tag http://www.delicious.com/chanezon/

§ My previous Talks http://www.slideshare.net/chanezon

§ My list of favorite books http://www.chanezon.com/pat/soft_books.html

36

Monday, October 3, 11

Page 37: Interop 2011 - Scaling Platform As A Service

Q&A

37

Monday, October 3, 11

Page 38: Interop 2011 - Scaling Platform As A Service

Acknowledgement

§ Drawings from my daughters Eliette & Charlotte

§ Cover picture from Ansel Adams

38

Monday, October 3, 11