Walmart Embraces Microservices to Get More Agile

As part of an effort to make the world’s largest retailer more agile, Walmart Labs has been working behind the scenes to define a microservices architecture that leverages a two-year effort to change the organization’s approach to DevOps. Now Walmart Labs is looking to share the fruits of those investments by contributing the core code it uses to manage DevOps to the open-source community.

In 2013, Walmart acquired a DevOps platform that was developed by a small startup called OneOps for a specific platform-as-a-service (PaaS) environment. Since then, the IT teams in Walmart have spent  two years enhancing that software to create a DevOps platform that scales and is both cloud and programming language neutral, according to Tim Kimmet, vice president of platform and systems for Walmart Labs.

“We looked at all the DevOps platforms out there,” he recalls,  but “all the tools were too closely tied to either a specific platform or programming language.”

Kimmet says that Walmart Labs has decided to make OneOps an open-source project to give back to the open-source community it has been relying on for core technology since 2011. Specifically, the retailer is making use of open-source technologies such as Node.js and Cassandra databases to make it possible to construct various applications using thousands of microservices that can be dynamically invoked using well-defined application programming interfaces (APIs).

The strategic goal is to make it easier for application developers working in all Walmart’s business units to own their own applications in a way that ultimately reduces their dependency on a centralized IT organization. Within Walmart Labs, the team that Kimmet manages is specifically tasked with managing the software lifecycle and monitoring those applications to ensure their optimal performance, while the developers themselves manage the deployment and ongoing upgrades to those applications.

“We have a motto that says ‘if you built it, you own it,’” he says. “OneOps gave us a solid foundation to accomplish that goal.”

In effect, Walmart Labs is embracing microservices to drive the adoption of a continuous deployment methodology across the entire organization. In fact, the organization reports that some 3,000 engineers are using OneOps to drive 30,000 changes per month to Walmart software.

A Significant Increase in Business Agility

Walmart is hardly the only company to aggressively embrace open-source software to transform how it manages IT, but it certainly is among the largest. While that effort may require the retailer to devote more resources to developing and refining open-source software, Kimmet says the end result is a significant increase in business agility that derives from the ability of developers to extend the backend e-commerce services that Walmart has spent years developing in multiple new directions.

Those new applications, which span everything from mobile devices to the Internet of things (IoT), are crucial weapons in a global e-commerce contest that pits Walmart against the likes of Amazon and Alibaba, as well as a host of other rivals that are emerging as the cost of entry into the online retail sector continues to decline in the age of the API economy.

In fact, Walmart just predicted that its sales growth for this year will only be in the range of 2 to 3 percent, rather than the 5 percent it previously forecast. Since then, the company’s stock has been taking a pounding on Wall Street, wiping out millions of dollars in valuation.