To say that the internet and its child, the web, meant the death of distance in the 20th century sounds like hyperbole until you look at the data. For the building blocks of business, like talent acquisition and service delivery, these two effectively made location irrelevant. Something on the same scale is happening now as two more children of the internet, the serverless architecture and applications of blockchain, eliminate the costs of maintaining an enterprise grade network.
The implications go beyond massively accelerated speed-to-market and the elimination of information brokers. Leaders in the serverless and blockchain spheres, independently but simultaneously, are making the case for these two technologies to change how people think about solving problems.
Earlier articles in this series examined distributed ledgers generally, blockchain specifically, and the tech stack that enables blockchain, including Kubernetes, Geth, Helm, and the Hyperledger Fabric. Now, I’d like to look at it from an entirely new angle by reviewing how serverless has evolved since 2014 and what happens when it intersects with enterprise applications of blockchain.
The cloud and everything that it has made possible -- the mobile app ecosphere, the Internet of Things (IoT), computing at the network edge, streaming services, online payments, and more – have only become commercially viable over the past two decades, some in the past few years.
Serverless architecture is one on the most recent, with around 62% of serverless users coming on board in 2017 and another 15% or so in the past year, according to Annika Helendi, co-founder of Dashbird.io.
Like all things cloud-related, definitions tend to be nebulous. Serverless is defined many different ways, but the essential principle at the heart of it is that cloud providers handle everything related to network infrastructure so developers can just push code. That’s why it’s also referred to as Function as a Service (FaaS). Everything about server functions are abstracted away from the development of the code. Billing is by the microsecond of consumption and execution, so cloud processing costs are far less expensive. Services are instantly scalable and event-driven so they only evoke cloud resources when an event triggers the service into action.
This explainer from Network World is a great high-level overview for non-technical leaders on how serverless operates and how it’s being deployed:
If the concept of using micro-transactions to monetize unused capacity sounds familiar, it is. That’s the same principle that energizes the collaborative consumption piece of the sharing economy. It underlies the business model and value proposition of companies like Uber, Airbnb, and Taskrabbit.
Not every application is the ideal match for serverless, but according to Stackify, the types of applications that benefit the most from serverless architecture as those with:
That actually covers a great deal of what’s running in the cloud today. Berkeley’s Center for Computational Imaging and RISELab concluded, “We predict... that serverless computing will grow to dominate the future of cloud computing.” They also pointed out that the biggest cloud providers are increasingly adding Backend as a Service (BaaS) to FaaS in their serverless offerings. That has accelerated adoption among founders without budgets to hire large IT teams. The Berkeley researchers wrote:
“Cloud users like serverless computing because novices can deploy functions without any understanding of the cloud infrastructure and because experts save development time and stay focused on problems unique to their application. Serverless users may save money since the functions are executed only when events occur, and fine-grained accounting (today typically 100 milliseconds) means they pay only for what they use versus for what they reserve.”
In terms of using the cloud as a service, however, there’s a bit of overlap here among IaaS, SaaS, and PaaS, which includes BaaS and FaaS. Here’s how Hacker Noon defines the differences and the options:
Serverless is clearly not a silver bullet, and Berkeley’s RISELab came up with several categories of projects where serverless isn’t necessarily the right choice to achieve state-of-the-art performance:
Requirements for new application areas for serverless computing, Source: Cloud Programming Simplified: A Berkeley View on Serverless Computing
What all these technical specs and speed clocks miss, however, is that something incredible is happening in the physical realm of those who are consciously pushing the boundaries of these digital tools. For them, serverless is not a technology but a community.
There are few serverless experts either as energetic or as knowledgeable as Stackery’s Ecosystem Director Farrah Campbell. After a year stacked with interviews, podcasts, videos, being featured in a documentary, and kicking off conferences -- all on top of her full time commitments -- she continues to make time to answer questions for newbies curious about why serverless signals a fundamental mindshift in the development world.
Farrah Campbell from the documentary series Chasing Grace.
In a private conversation on Twitter this February, Campbell wrote, “I would say that part of it is that there is indeed a huge need and demand for diversity in tech right now; serverless is a relatively new field and with that comes a new community. Brand new teams are emerging due to serverless and they have new responsibilities. With that comes an opportunity for different perspectives and so far, many serverless companies are rising to that occasion.”
This is another case where the medium is the message because the platform only attracts those who already have a future-forward mindset. She explained, “But serverless is also about smarter building and innovation. So, of course, a diverse group of people with different backgrounds are going to build a more sustainable serverless ecosystem than a intolerant one would. I think that serverless has thus far attracted people with open minds because it’s beneficial to have both of those things when inventing a whole new approach to software composition. It’s sticking because this community has work to do and big things to accomplish— there’s no time for homogeneity or insularity. You see leaders emerging in the industry that are trans - where else are we seeing that?”
Campbell’s enthusiasm is infectious, and it’s clearly amplified by her optimism about what a serverless future implies. Forrest Brazeal, senior cloud architect at Trek10, sharesher vision, observing on his Medium account that, “Serverless is the rare technology that gets business leaders just as excited as engineers. That’s because (surprise!) it’s not really about technology at all. At its heart, the serverless movement is a radical transformation of your business processes and culture to re-orient your business around building value, not dead weight.”
He’s talking about the dead weight of on-premise servers that struggle to reach 15% utilization. Maxing out utilization is guaranteed to end up in system failure, but leaving plenty of room on the server in an enormous waste of both money and resources. The smartest solution depends on collaborative consumption. Sharing the compute and storage of a commercial data center is a variation of the same principle that animated the growth of Uber, Airbnb, and Kickstarter: Share what you’re not using and open up access to microtransactions for everyone.
The concept is anathema to old-world, property-obsessed pessimists but it’s just common sense to a generation that has had to put sustainability first by necessity.
Brazeal is somewhat of a bridger of worlds. He expressed that a big fan of Campbell’s work when he profiled her as a “Serverless Superhero,” but at the other end of the spectrum Brazeal has also brought attention to the work of Tim Wagner, who recently jumped from AWS Lambda to the head of engineering at Coinbase.
Wagner made explicit the why serverless and blockchain represent much more than choices in development. He wrote, “I really think that there are two disruptive technologies that are changing how we build and operate businesses. One of them, of course, is serverless…. I really feel like serverless has amazing momentum now. The second technology that I think is really disruptive and has an amazing potential for impact is blockchain. Now, that one’s still very nascent. I would say we are roughly where AWS was when I joined to help build Lambda, and it may be even a little bit earlier in the life cycle.”
His point was that the two reinforce each other in both the enforcement of mutually beneficial agreements as well and in radical cost reduction, often by orders of magnitude.
While blockchain’s distributed ledgers encode trust into the transaction mechanism, they normally lack a simple way to plug in code execution, which strictly limits the potential of smart contracts. On the other end, serverless makes code execution reliable and scalable, but doesn’t have a component for keeping contractual agreements secure. The two fit together like puzzle pieces.
Wagner concluded, “So if you could bring those two capabilities together, I think we could offer businesses and organizations of all sizes this ability to create mutually trustworthy and enforceable contracts for a whole variety of goods and services. And I think that would be an incredibly interesting future.”
Serverless provides a glimpse into the near future where no silicon goes to waste and we collectively begin to make good use of the 90% compute capacity laying dormant in unused servers. As entrepreneurs build out the middleware to make blockchain available to less technical users, the sharing economy is likely to expand into new industries and business models. That’s rapidly bringing costs down and allowing more startups to accelerate for the great leap across the digital divide. Look for enterprise-level capabilities to suddenly appear in the hands of smaller teams of entrepreneurs operating further from the urban core. In the months ahead, we’ll investigate the roles played serverless and blockchain in digital transformation everywhere.
Subscribe to Insights at Tangelo
Accelerate your growth with key industry insights.