Consolidate Three Partner APIs into a Query Service

Last updated: July 16, 2026

Quick Overview

Design a query service that consolidates three partner APIs into a single interface for easier access and management.

Expedia
System Design
Software Engineer
Expedia
July 16, 2026
Software Engineer
Onsite
System Design
Medium

1

0

30 solved


Design a query service that consolidates three partner APIs into a single interface for easier access and management.

This question is typically asked during onsite interviews for software engineering roles at Expedia to assess a candidate's ability to design scalable and efficient systems. The interviewer is evaluating the candidate's understanding of API integration, system architecture, and their ability to create a user-friendly service that simplifies interactions with multiple external systems.

What the Interviewer Expects
  • Clearly define the requirements and goals of the query service.
  • Outline a high-level architecture that integrates the three partner APIs.
  • Discuss potential challenges and trade-offs in the design.
  • Explain how to handle scaling and performance considerations.
  • Provide a plan for error handling and data consistency.
Key Topics to Cover
API Integration
System Architecture
Scalability
Error Handling
Performance Optimization
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you handle rate limiting from the partner APIs?
  • What strategies would you use for caching responses?
  • Can you explain how you would ensure data consistency across the APIs?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

To begin, we need to define the requirements for our query service. The service should:

  1. Provide a unified interface for querying data from three different partner APIs.
  2. Support filtering, sortin...
High-Level Design

The high-level architecture of the query service can be broken down into several components:

  • API Gateway: This will serve as the entry point for client requests, routing them to the appropriate ...

Submit Your Answer
Markdown supported

Related Questions