Vacation rental giant improves search response times
About HomeToGo
HomeToGo is the SaaS-enabled marketplace with the world's largest selection of vacation rentals, listing millions of offers from thousands of trusted partners. Founded in 2014 in Berlin, Germany, the company operates local apps and websites in 25 countries across Europe, North America, South America, Australia, and Asia-Pacific. HomeToGo also operates brands such as Agriturismo.it, AMIVAC, Casamundo, CaseVacanza.it, e-domizil, EscapadaRural, Kurzurlaub, Kurz Mal Weg, Tripping.com, and Wimdu.
Scaling search support for ~ 50 million visitors a month
HomeToGo has more than 15 million accommodation offers on its platform, more than any other marketplace in the vacation rental industry. Real-time connections are essential for the company to work efficiently with suppliers’ APIs to check whether the accommodation is still available for the given dates, the specified number of travellers, and at what price. But the platform also needed to deliver HomeToGo’s fast and reliable market-leading service, which depends on a myriad of smart tools, ML, AI, trusted checkout, and payment solutions. The entire mix is supported by advanced search functionality.
In 2023, HomeToGo also launched its innovative HomeToGo Modes, a revolutionary new way to find vacation rentals and travel destinations, with its inaugural AI Mode. HomeToGo’s AI Mode enables guests to find their perfect vacation rental by describing it via written conversation to a generative AI-powered travel planner. With around 50 million monthly visitors during peak season, scalability and efficient search functionality had become an interesting engineering challenge to solve.
HomeToGo offers users powerful search capabilities, helping them find their ideal vacation home at the best possible price. This functionality is underpinned by Elasticsearch, a critical part of HomeToGo's operations. However, managing the world’s largest selection of vacation rentals while accommodating a rapidly growing user base proved operationally complex with a technology primarily designed for search use cases. Challenges included managing hundreds of servers and scaling the infrastructure multiple times daily without straining system management.
High scalability
Needed to support real-time price and availability checks without hitting a ceiling on scalability.
High availability
Needed real-time connections to ensure the availability of homes was always up-to-date.
AI/ML capabilities
Required a database that could support AI/ML, including generative AI, for HomeToGo’s AI Mode travel planner.
Search functionality efficiency via architectural transformation
To alleviate these operational burdens and improve the user experience, HomeToGo's engineers opted to decouple price and availability data storage from search functionality, continuing to use Elasticsearch for search while adopting a different technology for price data storage. The chosen database needed to be fast, reliable, and seamlessly integrate with Elasticsearch. With these requirements in mind, HomeToGo selected Aerospike.
The implemented solution employs Aerospike to manage data provided by HomeToGo's suppliers and to cache query results in Elasticsearch for repeated searches. This approach has significantly reduced the load on the Elasticsearch infrastructure by decreasing both the data volume stored in Elasticsearch and the workload, as cached data is returned for similar queries.
Achieving sustainability, scalability, and improved cloud economics with Aerospike
HomeToGo immediately noticed that it could not only easily support customer traffic levels, but that the efficiency metric (the amount of servers needed to manage the search traffic) improved, while week-on-week server hours decreased.
One additional benefit of the migration to Aerospike was its ability to handle new hardware resources, such as the next generation of AWS instance types, which ultimately improved price and availability response times.
37% fewer server hours consumed
Between January and November 2023, HomeToGo improved cloud consumption, experiencing 37% fewer server hours.
Optimized storage cluster size
To support the high traffic numbers during peak season, HomeToGo only needs eight Aerospike servers, which drops to six in off-peak.
50% reduction in Elasticsearch clusters
Integrating Aerospike reduced the Elasticsearch cluster size by 50%.