Subscribe / Unsubscribe Enewsletters | Login | Register

Pencil Banner

What serverless computing really means

Eric Knorr | July 12, 2016
For developers, worrying about infrastructure is a chore they can do without. Serverless computing relieves that burden

servers

It's always unfortunate to start the definition of a phrase by calling it a misnomer, but that's where you have to begin with serverless computing: Of course there will always be servers. Serverless computing merely adds another layer of abstraction atop cloud infrastructure, so developers no longer need to worry about servers, including virtual ones in the cloud.

To explore this idea, I spoke with one of serverless computing's most vocal proponents: Chad Arimura, CEO of the startup Iron.io, which develops software for microservices workload management. Arimura says serverless computing is all about the modern developer's evolving frame of reference:

What we've seen is that the atomic unit of scale has been changing from the virtual machine to the container, and if you take this one step further, we're starting to see something called a function ... a single-purpose block of code. It's something you can conceptualize very easily: Process an image. Transform a piece of data. Encode a piece of video.

To me this sounded a lot like microservices architecture, where instead of a building a monolithic application, you assemble an application from single-purpose services. What then is the difference between a microservice and a function?

A service has a common API that people can access. You don't know what's going on under the hood. That service may be powered by functions. So functions are the building block code aspect of it; the service itself is like the interface developers can talk to.

Just as developers use microservices to assemble applications and call services from functions, they can grab functions from a library to build the services themselves -- without having to consider server infrastructure as they create an application.
AWS Lambda is the best-known example of serverless computing. As an Amazon instructional video explains, "once you upload your code to Lambda, the service handles all the capacity, scaling, patching, and administration of the infrastructure to run your code."

Both AWS Lambda and Iron.io offer function libraries to further accelerate development. Provisioning and autoscaling are on demand.

Keep in mind all of this is above the level of service orchestration -- of the type offered by Mesos, Kubernetes, or Docker Swarm. Although Iron.io offers its own orchestration layer, which predated those solutions being generally available, it also plugs into them, "but we really play at the developer/API later," says Arimura.

In fact, it's fair to view the core of Iron.io's functionality roughly equivalent to that of AWS Lambda, only deployable on all major public and private cloud platforms. Arimura sees the ability to deploy on premises as a particular Iron.io advantage because the hybrid cloud is becoming more and more essential to the enterprise approach to cloud computing.

 

1  2  Next Page 

Sign up for CIO Asia eNewsletters.