InterviewStack.io LogoInterviewStack.io

API and Interface Design for Distributed Services Questions

Designing the contracts between services and clients: REST, gRPC, and GraphQL tradeoffs, versioning and backward compatibility, pagination, rate limiting, and idempotent endpoints. Covers request/response modeling, error contracts, and API gateway responsibilities. Focuses on the interface layer that ties distributed components together, not internal data schemas.

MediumTechnical
49 practiced

You had to choose between REST and gRPC for internal service APIs in a polyglot environment. Walk through how you evaluated the two options, what you benchmarked, and how you validated the choice with the team before committing to it.

MediumTechnical
53 practiced

You manage a public ingestion API used by external partners. Propose an API versioning and deprecation strategy that minimizes breaking changes while allowing the payload schema to evolve, including how you would communicate changes and roll out deprecations safely.

HardSystem Design
58 practiced

Design API endpoints and backend read models for an analytics dashboard that needs aggregated counts and top-k lists, without pushing heavy aggregation onto the client. Discuss the trade-offs between freshness, storage cost, and query complexity in how you shape those endpoints.

MediumTechnical
52 practiced

Design a pagination approach for exporting a large dataset (billions of rows) to clients while the underlying data can change during the export. Explain the techniques you would use to guarantee no duplicates or missing rows for a single export job, and discuss the operational impacts of your choice.

MediumSystem Design
52 practiced

Design an API and backend workflow for long-running analytical queries that supports submit, query, cancel, and status endpoints, and can stream partial results. Explain how you would model job state, what you'd persist, how you'd bound concurrency per user, and how you would safely garbage-collect old jobs without affecting ones still running.

That is every published API and Interface Design for Distributed Services question for Data Engineer so far. Browse the other topics in this category, or practice this one interactively.