SDK and Client Library Design Questions

Packaging an API for developer consumption via SDKs and client libraries: ergonomic method surfaces, auth handling, pagination helpers, retry/backoff built in, error mapping, and versioning of generated or hand-written clients. Covers cloud/mobile SDK design, code generation from contracts, and keeping SDKs consistent across languages.

HardSystem Design
56 practiced

Design a TypeScript client SDK generated from OpenAPI to be consumed across multiple frontend apps. Specify package structure, build & publish pipeline, required features (typed models, auth middleware, request batching, retry policies, telemetry hooks), versioning strategy, and how you'd test and roll out breaking changes to clients.

HardSystem Design
56 practiced

Design an in-browser RequestScheduler library for a single-page app that must support: priority queues, concurrency limits, per-domain rate-limiting, retry with backoff, deduplication of identical requests, timeouts and cancellation, and metrics. Define the public API, core data structures (e.g., token buckets, priority queues), algorithms for scheduling and dedupe, and how you'd validate correctness and performance under heavy load in the browser.

That is every published SDK and Client Library Design question for Frontend Developer so far. Browse the other topics in this category, or practice this one interactively.