INTRODUCTION
A global innovator harnessing the power of technology to build relationships
Keller Williams is the world‘s leading real estate company.
Or, at least, that is how it used to be known.
Co-Founder and now Executive Chairman Gary Keller said in 2018 that the company wanted to be recognized as a technology company. That might seem counterintuitive for a company founded in a single office in 1983 on the core belief that real estate is all about relationships. In truth, however, Keller Williams is masterfully synergizing the two, using technology to deliver a seamless user experience so agents are free to focus on what the founders knew matters most: fostering meaningful relationships.
Today, Keller Williams is a technology innovator that in 2020 closed on 1.2 million homes for $407.4 billion in sales volume and earned $10.5 billion. The company has more than 190,000 associates around the globe. The Keller Cloud platform consists of two main components: Command and Consumer. A smart CRM-plus solution, Command is a unified platform that supports internal teams with everything from lead generation to database management. Command also contains a consumer-facing component that streamlines home buying and selling processes, enabling agents and customers to interact and manage listings, contacts, marketing profiles, campaigns, and more.
Jim McClarty, Software Architect, Keller Williams, is on the Consumer team, serving up the real-time data that is the driving force supporting all KW.com searches; 182,000+ personalized sites (one for every agent); and much more.
The technology focus at Keller Williams (KW) is now part of the company’s DNA, said McClarty. “We build technology. That means we hire technologists.”
Technology is also key to what McClarty said is another core precept at KW: helping everyone take their performance and careers to the next level. This core belief is reflected all the way to the executive suite. In February 2021 KW named an executive who was previously its Co-Director of Growth as its new leader: Marc King, President, Keller Williams.
THE CHALLENGE
Making the right data instantly available to agents and customers
KW manages more than 500GB of listing data totaling approximately 70 million records across two databases. One database, Fast Facets, supports faceted search so consumers and agents can quickly obtain information about many properties. The other database, Master Dataset, or MDS, contains all of the property details that come into play once someone is interested in a particular property and wants to drill down to learn more.
KW ingests data from real estate multiple listing services (MLS) across the US. It was running massive and complex queries that ran slower than what was optimal to support a real-time user experience for either agents or customers. That was due in part to the reality that even relatively simple queries, such as map results showing all properties within a given area, had to access MDS.
KW needed to make changes in how its Command and Consumer applications were accessing and leveraging data. The company needed to evolve its data infrastructure such that connection strings would start using the smaller, faster database (Fast Facets) and stop using the larger, slower database (MDS).
THE SOLUTION
A microservices architecture built on MongoDB
When KW started on the path from real estate agency to technology titan, it had already been running its own self-managed instance of MongoDB. “Part of the reason I was excited to join Keller Williams was my years of experience using MongoDB with a startup in Austin [TX, USA], and I wanted to get back to it,” said McClarty.
The team decided rather than continuing to manage its own MongoDB instance, it wanted to focus time, attention, and resources on adding value across the organization.
So KW mapped out a new data strategy on MongoDB Atlas. It launched its Consumer application on MongoDB Atlas in late 2018/early 2019 and migrated Command from an alternative solution to MongoDB Atlas soon thereafter. “We executed a replatform to MongoDB Atlas,” explained McClarty. “We are now running four microservices on Atlas, and everything is working so much better now.”



