16. The power of Moore’s lawhttp://www.gotw.ca/publications/concurrency-ddj.htm
17. In my career 1982 RM 380Z 4 Mhz 8-bit Z80 32K RAM 100K ﬂoppy2012MacBookPro2.5 Ghz Quad core 64 bit Intel i7256K/core + 8M cache,16G RAM512G SSD drive
18. BUT WHAT ABOUT HAL?
19. The reality Floor cleaning robot
20. The realityhttp://en.wikipedia.org/wiki/IBM_Watson cluster of ninety IBM Power 750 servers with a total of 2880 POWER7 processor cores and 16 Terabytes of RAM.
21. We still have a long way to go before we can build HAL
22. One major problem isdeveloper productivity
23. Software productivity: 4x improvementCompared to 1,000,000x hardware improvement
24. Programming languages have barely evolved
25. 1958 - Lisp2010 (defun factorial (n) garbage collection2000 (if (<= n 1) dynamic typing1990 1 self-hosting compiler1980 (* n (factorial (- n 1))))) tree data structures197019601950 http://en.wikipedia.org/wiki/ Lisp_(programming_language)1940
26. 1960 - Algol 60 procedure Absmax(a) Size:(n, m) Result:(y) Subscripts:(i, k);2010 value n, m; Many array a; integer n, m, i, k; real y;2000 begin integer p, q; languages y := 0; i := k := 1; for p:=1 step 1 until n do including Java1990 for q:=1 step 1 until m do are derived if abs(a[p, q]) > y then1980 begin y := abs(a[p, q]); from Algol i := p; k := q1970 end end Absmax1960 http://en.wikipedia.org/wiki/Algol_6019501940
28. So what have programming language designers been doing since then?
29. 1995 - Java Not innovative BUT201020001990 Brought garbage collection, object- oriented programming, exception1980 handling, safety ... to mainstream1970 developers19601950 Gosling “Java is a blue collar google “Gosling the feel of Java” language”1940
30. But despite that....
31. Today, a small team can easily build an application that’s used by millions of people world-widehttp://highscalability.com/blog/2012/5/7/startups-are-creating-a-new- system-of-the-world-for-it.html
32. 30+ million users, 2 backend engineers, acquired for $1B
37. Let’s imagine that you want to deploy an app...• Do you know how much hardware to buy?• Can you afford it?• How long does it take to approve, buy and install?• Who is going to set it up?• Can you handle a 10x increase in trafﬁc?• Can you afford a test lab?
38. Cloud computing empowers us to dealwith these challenges...
39. Cloud computing deﬁned IT delivered as a service Over the internet Self-service Pay per use
40. The three layers of cloud computingSaaS PaaS IaaS
41. Wednesday October 18, 2006....AWS evangelist .... spoke at the Oakland JUG
42. Sign up and deploy yourapplication a few minutes later • Login using your existing Amazon account • Select the web services you want to use • Only takes a few minutes
43. Beneﬁts of IaaS• Agility• Pay per use• Elasticity
44. But you still need to conﬁgure and maintain• Operating systems• Application servers• Databases• ...
45. Who survived the April2011 AWS meltdown?
46. Companies that builttheir own distributed platform
47. Need to move up the stack SaaS PaaS IaaS
48. PaaS =Application deployment and management + Service provisioning
49. Overview of Cloud Foundry
50. The Open Platform as a Service Deploy and scale applications in seconds,without locking yourself into a single cloud Flex ible, pen, le, O lable Simp Sca
51. OSS community vFabricPostgres Ap Private Clouds p Data Services lica o n S vFabric Public erv RabbitMQTM ice Msg Services Clouds In ter fac Micro e Other Services Clouds Additional partners services …
53. Micro Cloud Foundry – Industry ﬁrst TM downloadable PaaS Micro Cloud Foundry Services Runtimes & Frameworks Your Laptop/PC Single VM instance of Cloud Foundry that runs on a developer’s MAC or PC
54. CloudFoundry.ORG - Community open-source project Apache2 license CloudFoundry.ORG Your Infrastructure Download Setup Deploy Behind Code Environment BOSH Firewall
55. Vibrant open-source ecosystem One week after Cloud Foundry was open-sourced!
56. Vibrant open-source ecosystem• AppFog.com • Community lead for PHP • Public PaaS• Joyent • Community lead for Node.js• ActiveState • Community lead for Python • Stackato private PaaS
57. Cloud Foundry: you can trade-off effort vs ﬂexibility Less Less Public PaaS .... .COM Private PaaSEffort .... Flexibility Custom Private PaaS git clone git://github.com/cloudfoundry/vcap.git More More
58. Cloud Foundry = no lock-in TS N• Standard applications E EV• Standard services PR• Choice of cloud providers "you can check out anytime you like, but you can never leave."
61. Sinatra + Redisrequire sinatrarequire redis Connect to Redisconﬁgure do $r = Redis.new(:host => 127.0.0.1, :port => 6379) if !$rendget / do "Hello World! " + $r.incr("hitcounter").to_send Increment hit counterhttp://sgce2012.cloudfoundry.com/
62. Final thoughts
63. Software development has a long way to go BUTThe cloud enables anyone with a good idea to create an application that touches the lives of millions of people
64. Cloud Foundry is a remarkably easy way to deploy your applications
65. Cloud Foundry gives you choice of languages,frameworks, services, clouds
66. Thank you! Chris Richardson Author of POJOs in ActionFounder of the original CloudFoundry.com email@example.com @crichardson http://plainoldobjects.com Signup for cloudfoundry.com Promo code: cfopentour2012