The story begins in 1999 -- a one-bedroom apartment in the Telegraph Hill neighborhood of San Francisco. That's when a young Marc Benioff founded Salesforce.com (CRM 1.05%)

This was the modern beginning of the software-as-a-service (SaaS) business model. Instead of paying big bucks at a brick-and-mortar location for a software package, customers could pay a much lower monthly fee for access to software via the cloud.

Hand-drawn icons demonstrating the SaaS busines model

Image source: Getty Images.

It took a long time for the business community to catch on. But over the past five years, few publicly traded companies have seen their stocks skyrocket quite like SaaS players.

But the market is evolving, and it won't be that way forever. A select few SaaS stocks will be emerging from the pack. I suspect Datadog (DDOG 3.58%) will be one of them. And I'm putting my money where my mouth is.

The SaaS view from 30,000 feet

Here is a simplified version of the nuts and bolts of the SaaS business:

  • Frequency: Purchases that were once one-off (think: getting the newest version of Microsoft Windows) became recurring.
  • Cost: A huge upfront payment was replaced with much smaller monthly subscriptions. Over time, however, this usually leads to more money for the software company.
  • Updates: Instead of consumers waiting until the next iteration to update software, SaaS allows for instant updates via the cloud.
  • Profitability: By cutting out the middlemen (brick-and-mortars) and having no need to manufacture physical goods, margins rise substantially.
  • Optionality: When an entire workforce is subscribed to a cloud software solution, it's vastly easier to upsell management on new tools within that platform.
  • High switching-costs: When companies are using multiple software tools, the costs of switching -- and retraining entire workforces on a new platform -- become onerous.

Perhaps its not surprising, then, that some of the biggest winners of the past four years have been SaaS players. An ETF that follows the sector -- PowerShares Dynamic Software ETF (PSJ 2.05%) -- has vastly outperformed the S&P 500 index.

PSJ Total Return Price Chart

PSJ Total Return Price data by YCharts

At one point, it truly seemed that if an SaaS company went public, it meant big gains for investors.

Consolidation is coming

But in the evolution of any business model, shifts occur. That's what I believe will soon start happening within SaaS.

Think of it from the perspective of a chief information or operating officer: You've got all of these different SaaS tools, which are great. But with each passing year, you're adding new ones -- one to monitor security, another to make sure your apps are working as they should, a third to run your website. It's enough to make your head spin.

That's why I think there will soon be consolidation within the sphere. While a CIO could go out and get the best tool for each specific need her company has, I suspect that won't be the standard approach. Instead, the SaaS company that can provide a broad enough umbrella, with "good-enough" services will be the ultimate winner.

The simplification of dealing with a single platform, a single customer-service representative, and a single monthly billing will -- I suspect -- be enough to outweigh any efforts to optimize each individual software code.

Datadog is looking like a long-term winner

That's one reason I'm very bullish on Datadog. The company has tools that can do a wide range of tasks, including:

  • Infrastructure monitoring
  • Application performance management (APM)
  • Log management
  • User experience management

During the most recent earnings call, management also announced it had released a security monitoring tool -- essentially signaling that it would soon include cybersecurity under its umbrella of tools.

This wide umbrella is paramount only because the company is growing so fast. Datadog isn't just creating tools in an attempt to lure new customers -- it is upselling existing ones in an effort to get them to dump their single-use SaaS providers.

In essence, Datadog is transitioning from an SaaS provider to a PaaS (platform-as-a-service) provider, where users can choose from several software solutions.

The results over the past three years speak for themselves.

Metric 2017 2018 2019 Growth Rate
Revenue $101 million $198 million $363 million 90%
Total customers 5,400 7,700 10,500 39%
Customers with $100K+ ARR 240 453 858 89%
Customers with $1M+ ARR 12 29 50 104%

Data source: SEC filings. ARR = annual recurring revenue. Growth rate = Compounded annual growth rate, or CAGR.

That's stellar growth. One reason for it: Customers not only stick with Datadog for the long haul, they upgrade to include more tools over time. The proof: The company's dollar-based net retention rate has been above 130% for 10 consecutive quarters.

By filtering out the effect of new customers, this metric tells us that existing customers increase their spending by at least 30% every year with Datadog. 

That's astounding. It's also what I believe will continue to happen with companies that have enough "good-enough" SaaS tools under one umbrella.

What I'm doing

I already own Datadog shares in my family's portfolio, but given the trends that I see emerging, I will be adding to our position as soon as Motley Fool trading rules apply.

If you're interested in fast-growing cloud companies -- and have the stomach for the volatility that can accompany richly valued stocks like Datadog -- you should consider doing the same.