Channels ▼
RSS

Design

The Steady Emergence of PaaS


When I was first learning to program, PCs were expensive and unreliable devices. Due to the cost of PCs at the time, I recognized that the best way to have the PC I wanted was to assemble it from scratch. Every few years, I went out in search of the latest, screaming CPU, a new motherboard, as much RAM as I could afford, bigger drives, and a more powerful graphics card. Then, a weekend that I looked forward to with relish would be spent creating my next wonder-box. Next came the long process of reloading the OS, and finally, the apps and tools. When all was said and done, I had a newer, faster machine. But I was exhausted, rather than exhilarated.

More Insights

White Papers

More >>

Reports

More >>

Webcasts

More >>

After several cycles of this over the years, I finally realized that building my own PC was an enormous time sink that paid few real dividends. By then, PCs had dropped in price and become much more reliable. Intelligence prevailed, and since that moment of clarity, I have purchased all subsequent systems — and saved a lot of time and aggravation in the process.

My journey matches that of many developers who have been looking at cloud solutions. Having hacker hearts, we naturally gravitate to the IaaS model, which rents out a barebones virtual machine adorned with only an OS, generally Linux. There, the painful process of building something useful begins: Let's make it serve a Web app. So, add Apache; configure that. Add MySQL; configure that. Add the scripting language (let's say Python); configure that. Add the logic; configure that. Then, wire these components together and test like there's no tomorrow. This process, is known informally as "yak shaving."

It can take a few days of unpleasant work looking up settings and details on the Web to get this configuration right. But we're not nearly done. If this VM will need to scale or be cloned for use in a cluster, then additional layers of software infrastructure need to be added. Even more, if it needs to hook into caches and load balancers. All of a sudden, you've become a system builder and administrator — all so that you can finally start cutting some code. If I wanted to go down this path, I'd have kept building PCs and would have put away my IDE.

Enterprises see the same problem. Amazon Web Services are now so complicated to use and configure at scale — despite the availability of preconfigured templates — that they've become a subdiscipline unto themselves. Companies look to clouds for relief, rather than added complexity. And as a result, the tide is moving away from IaaS to PaaS — Platform as a Service — to get the benefits with much less of the hassle. In the PaaS model, the cloud instance comes with bundled services that are added as menu picks, but are properly configured for each other (and for other services) when the instance is spun up.

For programmers, a classic example of a useful PaaS solution is CloudBees. You can spin up a VM that has Java installed, and the default continuous integration server, Jenkins, running. Of course, it has SCMs installed, too (GitHub and Subversion). And once you're done building and testing on the CloudBees instance, you can deploy the app to other cloud services. CloudBees charges only for the time you're using the instance, so if you do such a build only at end of day, you spin up the machine then, and spin it back down when you're done. How long would it take you to set up an instance yourself, test all the components, make sure it scales, and so on? PaaS works.

For enterprises, there are many PaaS options: Microsoft Windows Azure, Google App Engine, and a host of smaller vendors. Among the niche vendors, one called Apprenda highlights some unique benefits. Its PaaS can provide multitenancy for hosted apps. So, for example, if you're an enterprise customer and you want a single instance of a hosted Oracle DBMS to be shared across several apps that need to be isolated from each other, you have a huge administration problem facing you if you set this up from an IaaS. Apprenda's PaaS software handles this fairly common problem transparently. It sets up the DBMS so that each app thinks it is the only user, while in fact, the DBMS is shared. However, no app can see other apps' data — nor view the larger, complete DBMS. Without this kind of support — unavailable in an IaaS implementation — each app would need its own database instance.

There are many kinds of PaaS options coming to market — each addressing a different set of needs; many of them catering to facilitating the cloud experience within the enterprise walls. What is clear is that PaaS products are increasingly a solution of choice — and IaaS is simply becoming a provider of bare systems for PaaS solutions to consume, rather than competing with them.

— Andrew Binstock
Editor in Chief
alb@drdobbs.com
Twitter: platypusguy


Related Reading






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 

Video