On October 23rd, 2014, we updated our
By continuing to use LinkedIn’s SlideShare service, you agree to the revised terms, so please take a few minutes to review them.
The power of Moore’s lawhttp://www.gotw.ca/publications/concurrency-ddj.htm
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
BUT WHAT ABOUT HAL?
The reality Floor cleaning robot
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.
We still have a long way to go before we can build HAL
One major problem isdeveloper productivity
Software productivity: 4x improvementCompared to 1,000,000x hardware improvement
Programming languages have barely evolved
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
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
So what have programming language designers been doing since then?
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
But despite that....
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
30+ million users, 2 backend engineers, acquired for $1B
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?
Cloud computing empowers us to dealwith these challenges...
Cloud computing deﬁned IT delivered as a service Over the internet Self-service Pay per use
The three layers of cloud computingSaaS PaaS IaaS
Wednesday October 18, 2006....AWS evangelist .... spoke at the Oakland JUG
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
Beneﬁts of IaaS• Agility• Pay per use• Elasticity
But you still need to conﬁgure and maintain• Operating systems• Application servers• Databases• ...
Who survived the April2011 AWS meltdown?
Companies that builttheir own distributed platform
Need to move up the stack SaaS PaaS IaaS
PaaS =Application deployment and management + Service provisioning
Overview of Cloud Foundry
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
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 …
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
CloudFoundry.ORG - Community open-source project Apache2 license CloudFoundry.ORG Your Infrastructure Download Setup Deploy Behind Code Environment BOSH Firewall
Vibrant open-source ecosystem One week after Cloud Foundry was open-sourced!
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
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
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."
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/
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
Cloud Foundry is a remarkably easy way to deploy your applications
Cloud Foundry gives you choice of languages,frameworks, services, clouds
Thank you! Chris Richardson Author of POJOs in ActionFounder of the original CloudFoundry.com firstname.lastname@example.org @crichardson http://plainoldobjects.com Signup for cloudfoundry.com Promo code: cfopentour2012