Resilient Hotel Search Frontend
Design a scalable, maintainable, and observable hotel-search frontend for independent feature delivery.
Problem statement
Design a hotel search page from scratch that is scalable, maintainable, and observable. It must support a population of one million users, real-time chat integration, multiple engineering teams, and independent deployment of multiple features with fast iterations.
The provided page layout has date range, city, and people-count inputs at the top; rating, amenities, pet-friendly, and similar hotel filters on the left; and result cards with hotel name, price, location, reviews, and images on the right.
Discuss component and state boundaries, including where search inputs and selected filters live; micro-frontends; monorepo versus multiple repositories; build, bundler, deployment, framework, testing, and monitoring choices. A written architecture is sufficient; no diagram is required.
What to build
- Present date range, city, and people-count inputs; hotel filters; and result cards with name, price, location, reviews, and images.
- Integrate real-time chat into the hotel-search frontend.
- Allow multiple teams to build and deploy multiple features independently with fast iterations.
At scale
- Support a population of one million users.
- Support multiple engineering teams that deploy separate features independently with fast iterations.
- Keep the page scalable, maintainable, and observable while integrating real-time chat.