Hotwire Tech Blog

Scribes from Hotwire Engineering

Posts By: Anju Suryawanshi

Problem:

In a service-oriented architecture, often there is a need to cache data. Hotwire Search Team has built a data store for caching static information about hotels such as star rating, neighborhood data, amenities, etc. which is backed by in-memory DB Redis (Elasticache). This cache is exposed via an API called Hotel Static Data Service (HSDS). HSDS was sending a very large response to its clients that needed only a small subset of that information. This caused latencies in critical services that were using HSDS within the search flow.

Current Architecture:

There are a number of services that get called from the time a user enters a search…

Read more...

Problem:

Scoring Service is a microservice used at Hotwire to determine the order in which hotels get displayed to a user corresponding to her searched destination. It uses machine-learning models developed by the Data Science team to compute scores of hotels based on its features. Hotwire Search Team has built a robust container- based infrastructure that allows Data Scientists to experiment with different sorting algorithms in order to provide the most relevant results to our users. Data plays a very important role when training new models. A sort model can only be as good as the data it is trained on. Thus, it is very important to…

Read more...