View a markdown version of this page

Search and Booking Metrics in Travel and Hospitality - Search and Booking Metrics in Travel and Hospitality

Search and Booking Metrics in Travel and Hospitality

Publication date: October 15, 2020 (Diagram history)

With this architecture, you can build a content delivery network (CDN) platform for customer-facing websites to gather traffic data in real time. Understand search and purchase patterns through enriched analytics data. The solution presents real-time data in Amazon OpenSearch Service and historical and aggregated data in AWS Quick Sight.

Search and booking metrics diagram

How to gather traffic data in real time by using Amazon CloudFront, Amazon Kinesis, and Amazon OpenSearch Service.

The following steps describe the architecture:

  1. Website users search for availability on the website served through Amazon CloudFront.

  2. CloudFront sends the request log to an Amazon Kinesis Data Streams in real time.

  3. Amazon Data Firehose extracts data from the Kinesis data stream for processing and delivery. AWS Lambda maps the log properties to their respective tags such as IP, headers, and cookies.

  4. Amazon Data Firehose delivers the transformed logs as JSON to an Amazon Simple Storage Service data lake and an Amazon OpenSearch Service cluster.

  5. An AWS Glue crawler runs on a schedule, deriving a schema from the data. It updates a Data Catalog in Amazon Athena.

  6. As new purchases happen, the cookie header or session ID value and purchase information flow to the data lake and Amazon OpenSearch Service cluster.

  7. Data analysts visualize historical and aggregated data through AWS Quick Sight. They view real-time data in Amazon OpenSearch Service.

Further reading

For additional information, see the following resources:

Diagram history

To receive updates about this reference architecture diagram, subscribe to the RSS feed.

ChangeDescriptionDate

Initial publication

Reference architecture diagram first published.

October 15, 2020

RSS subscription requirement

To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.